Opened 9 years ago

Closed 6 years ago

#47747 closed defect (fixed)

autogen @5.18.4_0 Build failure - __noreturn__

Reported by: smiler2505@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: autogen

Description (last modified by dbevans (David B. Evans))

Build fails with noreturn undeclared:

:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I..  -I.. -I../autoopts -I/opt/local/include -D_THREAD_SAFE -I/opt/local/include/guile/2.0 -I/opt/local/include  -pipe -Os -arch x86_64 -MT autogen-ag.o -MD -MP -MF .deps/autogen-ag.Tpo -c -o autogen-ag.o `test -f 'ag.c' || echo './'`ag.c
:info:build In file included from ag.c:7:
:info:build In file included from ./autogen.h:60:
:info:build In file included from /opt/local/include/guile/2.0/libguile.h:37:
:info:build In file included from /opt/local/include/guile/2.0/libguile/async.h:28:
:info:build In file included from /opt/local/include/guile/2.0/libguile/threads.h:36:
:info:build In file included from /opt/local/include/guile/2.0/libguile/pthread-threads.h:29:
:info:build /usr/include/pthread.h:311:32: error: use of undeclared identifier '__noreturn__'
:info:build void      pthread_exit(void *) __dead2;
:info:build                                ^
:info:build /usr/include/sys/cdefs.h:135:33: note: expanded from macro '__dead2'
:info:build #define __dead2         __attribute__((noreturn))
:info:build                                        ^
:info:build ../autoopts/stdnoreturn.h:53:19: note: expanded from macro 'noreturn'
:info:build # define noreturn _Noreturn
:info:build                   ^
:info:build ../autoopts/stdnoreturn.h:34:37: note: expanded from macro '_Noreturn'
:info:build #  define _Noreturn __attribute__ ((__noreturn__))
:info:build                                     ^
:info:build 1 error generated.

Attachments (1)

main.log (62.1 KB) - added by smiler2505@… 9 years ago.
Log

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by smiler2505@…

Attachment: main.log added

Log

comment:1 Changed 9 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to mww@…
Port: autogen added

Please CC maintainer for faster response and indicate port in Port field.

$ port info --maintainer autogen
maintainer: mww@macports.org, openmaintainer@macports.org

Thanks

comment:2 Changed 9 years ago by dbevans (David B. Evans)

Description: modified (diff)

Also use WikiFormatting

comment:3 Changed 9 years ago by smiler2505@…

Solved it by removing stdnoreturn.h as a dependency in autogen.h

Don't know why it was being built with that as a requirement, it may be unique to my setup or the config files may need altering.

comment:4 Changed 7 years ago by mf2k (Frank Schima)

Owner: mww@… deleted
Status: newassigned

See #53012.

comment:5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.