This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tirpc broken in cygwin 1.7.10


On Wed, Feb 15, 2012 at 11:19:16AM -0700, Eric Blake wrote:
>STC which worked in 1.7.9, breaks in 1.7.10:
>
>$ cat foo.c
>#include <rpc/rpc.h>
>$ gcc -c -I/usr/include/tirpc foo.c
>In file included from /usr/include/tirpc/rpc/rpc.h:38:0,
>                 from foo.c:1:
>/usr/include/tirpc/rpc/types.h:44:28: fatal error: rpc/types.h: No such
>file or directory
>compilation terminated.
>
>$ cygcheck -p rpc/types.h
>Found 5 matches for rpc/types.h
>cygwin/cygwin-1.7.10-1-src	The UNIX emulation engine
>cygwin/cygwin-1.7.9-1	The UNIX emulation engine
>cygwin/cygwin-1.7.9-1-src	The UNIX emulation engine
>libtirpc-devel/libtirpc-devel-0.2.1-1	A port of Sun's
>Transport-Independent RPC library (devel)
>sunrpc/sunrpc-4.0-3	Sun RPC (ONC/RPC) utilities
>
>Notice that cygwin's /usr/include/rpc/types.h disappeared between 1.7.9
>and 1.7.10, meaning that the #include_next in tirpc's
>/usr/include/tirpc/rpc/types.h fails.  I don't know whether this needs
>to be fixed in cygwin, in tirpc, or both.

That was caused by a newlib typo which caused the contents of
/usr/include/rpc to be deleted.  I've checked in a fix and generated a
snapshot which now includes the missing files from that directory.

Maybe we should consider a 1.7.10-2 release to fix these header file
issues.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]