[MacPorts] #47747: autogen @5.18.4_0 Build failure - __noreturn__

MacPorts noreply at macports.org
Sat May 16 09:17:16 PDT 2015


#47747: autogen @5.18.4_0 Build failure - __noreturn__
---------------------------+-------------------
  Reporter:  smiler2505@…  |      Owner:  mww@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.3
Resolution:                |   Keywords:
      Port:  autogen       |
---------------------------+-------------------

Old description:

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

New description:

 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.

 }}}

--

Comment (by devans@…):

 Also use WikiFormatting

-- 
Ticket URL: <https://trac.macports.org/ticket/47747#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list