X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F5293858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1692899137; bh=b+ZEOP3/5hdDsXQp+3mhMPQkY8c3WBXo2iUSumSTFgQ=; h=Subject:Date:Cc:To:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=CgpPR4xnqB+D3xUQsr1z7LFmajnuJnCivZ7ErUqnZ8ZJDJ2Y+wy0dVaLc+venKc9F fXYVSAESkkRzQk5nf2o0KGKmL1atKNFG0XG7Cz44ApBifaTPjkUUr0/e+xezT1UBv6 fs/T/eaegqoIxs1FBeLJlAonMt1TvN6VRnLZ7E6I= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E02673858C2C Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: can't compile coreutils-9.3 any more after upgrade to cygwin-3.4.8 Message-Id: <83C27059-CB24-48F5-AC91-AB0622DF82CD@Denis-Excoffier.org> Date: Thu, 24 Aug 2023 19:44:46 +0200 Cc: Denis Excoffier To: cygwin AT cygwin DOT com X-Mailer: Apple Mail (2.3731.700.6) X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Denis Excoffier via Cygwin Reply-To: Denis Excoffier Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Hello, When i try to compile coreutils-9.3 under cygwin-3.4.8 i get the following error messages (see below). There seems to be a kind of loop in the hierarchy of #includes. Moreover, with cygwin-3.4.7, this is ok. Also, if under cygwin-3.4.8 i remove the 2 #includes from /usr/include/sys/cpuset.h, this is also ok. Regards, Denis Excoffier. In file included from /usr/include/sys/signal.h:23, from /usr/include/signal.h:6, from ./lib/signal.h:52, from /usr/include/time.h:158, from ./lib/time.h:47, from ./lib/sys/stat.h:44, from ./lib/fcntl.h:64, from ./lib/unistd.h:99, from ./lib/stdlib.h:98, from /usr/include/sys/cpuset.h:12, from /usr/include/sys/_pthreadtypes.h:12, from /usr/include/sys/types.h:221, from ./lib/sys/types.h:39, from ./lib/stdio.h:69, from src/chroot.c:21: /usr/include/cygwin/signal.h:121:3: error: unknown type name 'pthread_attr_t' 121 | pthread_attr_t *sigev_notify_attributes; /* notification attributes */ | ^~~~~~~~~~~~~~ In file included from /usr/include/signal.h:6, from ./lib/signal.h:52, from /usr/include/time.h:158, from ./lib/time.h:47, from ./lib/sys/stat.h:44, from ./lib/fcntl.h:64, from ./lib/unistd.h:99, from ./lib/stdlib.h:98, from /usr/include/sys/cpuset.h:12, from /usr/include/sys/_pthreadtypes.h:12, from /usr/include/sys/types.h:221, from ./lib/sys/types.h:39, from ./lib/stdio.h:69, from src/chroot.c:21: /usr/include/sys/signal.h:227:29: error: expected ')' before 'int' 227 | int pthread_kill (pthread_t, int); | ^~~~ | ) In file included from /usr/include/sys/stat.h:22, from ./lib/sys/stat.h:47, from ./lib/fcntl.h:64, from ./lib/unistd.h:99, from ./lib/stdlib.h:98, from /usr/include/sys/cpuset.h:12, from /usr/include/sys/_pthreadtypes.h:12, from /usr/include/sys/types.h:221, from ./lib/sys/types.h:39, from ./lib/stdio.h:69, from src/chroot.c:21: /usr/include/cygwin/stat.h:27:3: error: unknown type name 'timestruc_t' 27 | timestruc_t st_atim; | ^~~~~~~~~~~ /usr/include/cygwin/stat.h:28:3: error: unknown type name 'timestruc_t' 28 | timestruc_t st_mtim; | ^~~~~~~~~~~ /usr/include/cygwin/stat.h:29:3: error: unknown type name 'timestruc_t' 29 | timestruc_t st_ctim; | ^~~~~~~~~~~ /usr/include/cygwin/stat.h:32:3: error: unknown type name 'timestruc_t' 32 | timestruc_t st_birthtim; | ^~~~~~~~~~~ make[2]: *** [Makefile:11912: src/chroot.o] Error 1 make[1]: *** [Makefile:21297: all-recursive] Error 1 make: *** [Makefile:8434: all] Error 2 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple