From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64043 invoked by alias); 17 Dec 2015 21:16:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 63942 invoked by uid 89); 17 Dec 2015 21:16:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=kick, virtualization, OpenBSD, H*f:sk:56731D8 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 17 Dec 2015 21:16:19 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 49C028F4F4 for ; Thu, 17 Dec 2015 21:16:18 +0000 (UTC) Received: from [10.3.113.99] (ovpn-113-99.phx2.redhat.com [10.3.113.99]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tBHLGHqN019030 for ; Thu, 17 Dec 2015 16:16:18 -0500 Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.11 To: cygwin@cygwin.com References: <20151216164848.GM3507@calimero.vinschen.de> <5671EFF8.6030804@cornell.edu> <20151217093634.GP3507@calimero.vinschen.de> <56730350.1080002@cornell.edu> <20151217201709.GA28305@calimero.vinschen.de> <56731D8C.9020001@cornell.edu> <20151217210107.GC3507@calimero.vinschen.de> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Message-ID: <56732621.6040101@redhat.com> Date: Thu, 17 Dec 2015 21:16:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151217210107.GC3507@calimero.vinschen.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="c1ho4MVcRIPfqeLFtac4WaFjm5jjDH6QA" X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00197.txt.bz2 --c1ho4MVcRIPfqeLFtac4WaFjm5jjDH6QA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 1784 On 12/17/2015 02:01 PM, Corinna Vinschen wrote: >> Here's what happens: >> >> One of the Gnulib modules includes sys/types.h, which includes sys/selec= t.h >> because of the recent changes. This brings in Gnulib's sys/select.h, wh= ich >> includes signal.h. We then get the errors I posted because we haven't y= et >> finished including sys/types.h. Gnulib has been taught to work around early inclusion problems before; sounds like this will be another case where gnulib has to make sure the system header is complete before its own replacements kick in. >> >> All the build errors disappear if I remove '#include ' from >> sys/types.h. You said above that the macros related to select don't rea= lly >> belong in sys/types.h. So why does the latter include sys/select.h? >=20 > Because it's done exactly the same way on FreeBSD and OpenBSD: >=20 > # if __BSD_VISIBLE > #include > [...] >=20 > Gnulib should allow to work with this to be portable. So why does gnulib > provide its own sys/select.h? Is it configurable? I'll raise this on the gnulib list, and we can come up with workarounds. But bypassing gnulib's sys/select.h probably won't work in general (gnulib tends to always provide wrapper headers that use #include_next to the system header, even if nothing is replaced, because it is easier than trying to figure out when a wrapper header is needed). Of course, fixing it in gnulib won't help the myriad of projects that will be bitten by this until they do a new release based on updated gnulib, so maybe we can also find a way to make cygwin play nice without a gnulib update required. I'm still investigating. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --c1ho4MVcRIPfqeLFtac4WaFjm5jjDH6QA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 604 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWcyYhAAoJEKeha0olJ0Nq3EUIAK+Lu+aiC6DsMieHrbsMIeXF 2lsyL5A+Lb9HrouSIQAw10hnzJ+xb6+ucqRoOnvev4Mxejtgte5/0L30Msk5EFSU VI//2LPruu+zxMjWqwQVPBBAH5nFwwrZhg6CBLBDQUnTJUKefth5Fry1NO1bKCBo Uxyc8SXuEBRucoFd5V/vDPkg6SSUCJtR3aF/lZqD41iFRMdIlypGwPcXehlrb8q8 GhS4rOE2jaIPkFmfwwm4cShXzgvJ0DYziGOYKfd58qIUtgcWvJjxmLzROsBVnaSG PEsu3WlFNm4327Xyo0hLStRxW46S3a3HufB8S8gC08RQ/qRM+uS2Le9nwMAF050= =qtXS -----END PGP SIGNATURE----- --c1ho4MVcRIPfqeLFtac4WaFjm5jjDH6QA--