public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* build of coreutils fails with many many messages
@ 2016-04-01  6:18 Denis Excoffier
  2016-04-01 11:03 ` Ken Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Denis Excoffier @ 2016-04-01  6:18 UTC (permalink / raw)
  To: The Cygwin Mailing List

Hello,

I tried to build coreutils-8.25 with the latest cygwin (2.5.0-0.10 or 2.4.1-1)
and all the latest packages, and as 'configure' seems to pass ok, 'make'
fails with hundreds of lines of messages like below.

Please can someone reproduce this (Windows 7, 32bits)?

Regards,

Denis Excoffier


In file included from /usr/include/sys/signal.h:112:0,
                 from /usr/include/signal.h:6,
                 from ./lib/signal.h:52,
                 from ./lib/sys/select.h:108,
                 from /usr/include/sys/time.h:47,
                 from ./lib/sys/time.h:39,
                 from ./lib/sys/select.h:87,
                 from /usr/include/sys/types.h:85,
                 from ./lib/sys/types.h:28,
                 from /usr/include/sys/unistd.h:12,
                 from /usr/include/unistd.h:4,
                 from ./lib/unistd.h:40,
                 from ./lib/stdlib.h:96,
                 from lib/malloca.h:23,
                 from lib/malloca.c:22:
/usr/include/cygwin/signal.h:178:3: error: unknown type name 'pthread_attr_t'
   pthread_attr_t *sigev_notify_attributes; /* notification attributes */
   ^
/usr/include/cygwin/signal.h:213:3: error: unknown type name 'pid_t'
   pid_t si_pid;    /* sender's pid */
   ^
/usr/include/cygwin/signal.h:214:3: error: unknown type name 'uid_t'
   uid_t si_uid;    /* sender's uid */
   ^
/usr/include/cygwin/signal.h:230:2: error: unknown type name 'timer_t'
  timer_t si_tid;   /* timer id */
  ^
/usr/include/cygwin/signal.h:238:7: error: unknown type name 'clock_t'
       clock_t si_utime;   /* user time */
       ^
/usr/include/cygwin/signal.h:239:7: error: unknown type name 'clock_t'
       clock_t si_stime;   /* system time */
       ^
/usr/include/cygwin/signal.h:411:21: error: expected ')' before 'int'
 int sigqueue(pid_t, int, const union sigval);
                     ^
In file included from /usr/include/stdlib.h:11:0,
                 from ./lib/stdlib.h:36,
                 from lib/malloca.h:23,
                 from lib/malloca.c:22:
/usr/include/sys/signal.h:171:5: error: expected ')' before 'int'
 int _EXFUN(kill, (pid_t, int));
     ^

...
--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build of coreutils fails with many many messages
  2016-04-01  6:18 build of coreutils fails with many many messages Denis Excoffier
@ 2016-04-01 11:03 ` Ken Brown
  2016-04-01 19:28   ` Denis Excoffier
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Brown @ 2016-04-01 11:03 UTC (permalink / raw)
  To: cygwin

On 4/1/2016 2:18 AM, Denis Excoffier wrote:
> Hello,
>
> I tried to build coreutils-8.25 with the latest cygwin (2.5.0-0.10 or 2.4.1-1)
> and all the latest packages, and as 'configure' seems to pass ok, 'make'
> fails with hundreds of lines of messages like below.
>
> Please can someone reproduce this (Windows 7, 32bits)?
>
> Regards,
>
> Denis Excoffier
>
>
> In file included from /usr/include/sys/signal.h:112:0,
>                   from /usr/include/signal.h:6,
>                   from ./lib/signal.h:52,
>                   from ./lib/sys/select.h:108,
>                   from /usr/include/sys/time.h:47,
>                   from ./lib/sys/time.h:39,
>                   from ./lib/sys/select.h:87,
>                   from /usr/include/sys/types.h:85,
>                   from ./lib/sys/types.h:28,
>                   from /usr/include/sys/unistd.h:12,
>                   from /usr/include/unistd.h:4,
>                   from ./lib/unistd.h:40,
>                   from ./lib/stdlib.h:96,
>                   from lib/malloca.h:23,
>                   from lib/malloca.c:22:
> /usr/include/cygwin/signal.h:178:3: error: unknown type name 'pthread_attr_t'
>     pthread_attr_t *sigev_notify_attributes; /* notification attributes */

This looks like the gnulib issue that I reported in 
http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00054.html.  Try 
applying the fix from that thread to the gnulib tree in the coreutils 
sources.

Ken

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build of coreutils fails with many many messages
  2016-04-01 11:03 ` Ken Brown
@ 2016-04-01 19:28   ` Denis Excoffier
  0 siblings, 0 replies; 3+ messages in thread
From: Denis Excoffier @ 2016-04-01 19:28 UTC (permalink / raw)
  To: The Cygwin Mailing List


> On 2016-04-01 13:03, Ken Brown wrote:
> 
> On 4/1/2016 2:18 AM, Denis Excoffier wrote:
>> Hello,
>> 
>> I tried to build coreutils-8.25 with the latest cygwin (2.5.0-0.10 or 2.4.1-1)
>> and all the latest packages, and as 'configure' seems to pass ok, 'make'
>> fails with hundreds of lines of messages like below.
>> 
>> Please can someone reproduce this (Windows 7, 32bits)?
>> 
>> Regards,
>> 
>> Denis Excoffier
>> 
>> 
>> In file included from /usr/include/sys/signal.h:112:0,
>>                  from /usr/include/signal.h:6,
>>                  from ./lib/signal.h:52,
>>                  from ./lib/sys/select.h:108,
>>                  from /usr/include/sys/time.h:47,
>>                  from ./lib/sys/time.h:39,
>>                  from ./lib/sys/select.h:87,
>>                  from /usr/include/sys/types.h:85,
>>                  from ./lib/sys/types.h:28,
>>                  from /usr/include/sys/unistd.h:12,
>>                  from /usr/include/unistd.h:4,
>>                  from ./lib/unistd.h:40,
>>                  from ./lib/stdlib.h:96,
>>                  from lib/malloca.h:23,
>>                  from lib/malloca.c:22:
>> /usr/include/cygwin/signal.h:178:3: error: unknown type name 'pthread_attr_t'
>>    pthread_attr_t *sigev_notify_attributes; /* notification attributes */
> 
> This looks like the gnulib issue that I reported in http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00054.html.  Try applying the fix from that thread to the gnulib tree in the coreutils sources.

The patch indicated works perfectly. It also applies to wget-1.17.1. Thank you.

Denis Excoffier.
--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-01 19:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-01  6:18 build of coreutils fails with many many messages Denis Excoffier
2016-04-01 11:03 ` Ken Brown
2016-04-01 19:28   ` Denis Excoffier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).