delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/15/13:51:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_YG
X-Spam-Check-By: sourceware.org
X-Mail-Handler: MailHop Outbound by DynDNS
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19rKWmqbviUS7Bl51A1Jo+W
Date: Wed, 15 Feb 2012 13:51:07 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>, Eric Blake <eblake AT redhat DOT com>
Subject: Re: tirpc broken in cygwin 1.7.10
Message-ID: <20120215185107.GA20512@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>, Eric Blake <eblake AT redhat DOT com>
References: <4F3BF724 DOT 9010907 AT redhat DOT com>
MIME-Version: 1.0
In-Reply-To: <4F3BF724.9010907@redhat.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019