[MacPorts] #67527: coreutils @9.3 fail to build on Tiger: signal.h: error: expected '=', ',', '; ', 'asm' or '__attribute__' before 'mcontext64_t'

MacPorts noreply at macports.org
Sun May 28 23:11:40 UTC 2023


#67527: coreutils @9.3 fail to build on Tiger: signal.h: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'mcontext64_t'
--------------------------+-----------------------
 Reporter:  barracuda156  |      Owner:  mascguy
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:                |       Port:  coreutils
--------------------------+-----------------------
 {{{
 /usr/bin/make  all-recursive
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-9.3'
 Making all in po
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-9.3/po'
 make[2]: Nothing to be done for `all'.
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-9.3/po'
 Making all in .
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-9.3'
 depbase=`echo src/chroot.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -pipe -Os -arch ppc -MT src/chroot.o -MD
 -MP -MF $depbase.Tpo -c -o src/chroot.o src/chroot.c &&\
 mv -f $depbase.Tpo $depbase.Po
 depbase=`echo src/version.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -pipe -Os -arch ppc -MT src/version.o -MD
 -MP -MF $depbase.Tpo -c -o src/version.o src/version.c &&\
 mv -f $depbase.Tpo $depbase.Po
 rm -f src/libver.a
 ar cr src/libver.a src/version.o
 ranlib src/libver.a
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-copy-acl.o -MD -MP
 -MF lib/.deps/libcoreutils_a-copy-acl.Tpo -c -o lib/libcoreutils_a-copy-
 acl.o `test -f 'lib/copy-acl.c' || echo './'`lib/copy-acl.c
 mv -f lib/.deps/libcoreutils_a-copy-acl.Tpo lib/.deps/libcoreutils_a-copy-
 acl.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-set-acl.o -MD -MP -MF
 lib/.deps/libcoreutils_a-set-acl.Tpo -c -o lib/libcoreutils_a-set-acl.o
 `test -f 'lib/set-acl.c' || echo './'`lib/set-acl.c
 mv -f lib/.deps/libcoreutils_a-set-acl.Tpo lib/.deps/libcoreutils_a-set-
 acl.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-acl-errno-valid.o -MD
 -MP -MF lib/.deps/libcoreutils_a-acl-errno-valid.Tpo -c -o lib
 /libcoreutils_a-acl-errno-valid.o `test -f 'lib/acl-errno-valid.c' || echo
 './'`lib/acl-errno-valid.c
 mv -f lib/.deps/libcoreutils_a-acl-errno-valid.Tpo lib/.deps
 /libcoreutils_a-acl-errno-valid.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-acl-internal.o -MD
 -MP -MF lib/.deps/libcoreutils_a-acl-internal.Tpo -c -o lib
 /libcoreutils_a-acl-internal.o `test -f 'lib/acl-internal.c' || echo
 './'`lib/acl-internal.c
 mv -f lib/.deps/libcoreutils_a-acl-internal.Tpo lib/.deps/libcoreutils_a-
 acl-internal.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-get-permissions.o -MD
 -MP -MF lib/.deps/libcoreutils_a-get-permissions.Tpo -c -o lib
 /libcoreutils_a-get-permissions.o `test -f 'lib/get-permissions.c' || echo
 './'`lib/get-permissions.c
 mv -f lib/.deps/libcoreutils_a-get-permissions.Tpo lib/.deps
 /libcoreutils_a-get-permissions.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-set-permissions.o -MD
 -MP -MF lib/.deps/libcoreutils_a-set-permissions.Tpo -c -o lib
 /libcoreutils_a-set-permissions.o `test -f 'lib/set-permissions.c' || echo
 './'`lib/set-permissions.c
 mv -f lib/.deps/libcoreutils_a-set-permissions.Tpo lib/.deps
 /libcoreutils_a-set-permissions.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-alignalloc.o -MD -MP
 -MF lib/.deps/libcoreutils_a-alignalloc.Tpo -c -o lib/libcoreutils_a-
 alignalloc.o `test -f 'lib/alignalloc.c' || echo './'`lib/alignalloc.c
 lib/alignalloc.c: In function 'alignalloc':
 lib/alignalloc.c:83: warning: comparison is always false due to limited
 range of data type
 lib/alignalloc.c:83: warning: comparison is always false due to limited
 range of data type
 lib/alignalloc.c:83: warning: comparison is always false due to limited
 range of data type
 lib/alignalloc.c:83: warning: comparison is always false due to limited
 range of data type
 lib/alignalloc.c:83: warning: comparison is always false due to limited
 range of data type
 lib/alignalloc.c:83: warning: comparison is always false due to limited
 range of data type
 lib/alignalloc.c:83: warning: comparison is always false due to limited
 range of data type
 mv -f lib/.deps/libcoreutils_a-alignalloc.Tpo lib/.deps/libcoreutils_a-
 alignalloc.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-allocator.o -MD -MP
 -MF lib/.deps/libcoreutils_a-allocator.Tpo -c -o lib/libcoreutils_a-
 allocator.o `test -f 'lib/allocator.c' || echo './'`lib/allocator.c
 mv -f lib/.deps/libcoreutils_a-allocator.Tpo lib/.deps/libcoreutils_a-
 allocator.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-areadlink.o -MD -MP
 -MF lib/.deps/libcoreutils_a-areadlink.Tpo -c -o lib/libcoreutils_a-
 areadlink.o `test -f 'lib/areadlink.c' || echo './'`lib/areadlink.c
 mv -f lib/.deps/libcoreutils_a-areadlink.Tpo lib/.deps/libcoreutils_a-
 areadlink.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-areadlink-with-size.o
 -MD -MP -MF lib/.deps/libcoreutils_a-areadlink-with-size.Tpo -c -o lib
 /libcoreutils_a-areadlink-with-size.o `test -f 'lib/areadlink-with-size.c'
 || echo './'`lib/areadlink-with-size.c
 mv -f lib/.deps/libcoreutils_a-areadlink-with-size.Tpo lib/.deps
 /libcoreutils_a-areadlink-with-size.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-areadlinkat.o -MD -MP
 -MF lib/.deps/libcoreutils_a-areadlinkat.Tpo -c -o lib/libcoreutils_a-
 areadlinkat.o `test -f 'lib/areadlinkat.c' || echo './'`lib/areadlinkat.c
 mv -f lib/.deps/libcoreutils_a-areadlinkat.Tpo lib/.deps/libcoreutils_a-
 areadlinkat.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-areadlinkat-with-
 size.o -MD -MP -MF lib/.deps/libcoreutils_a-areadlinkat-with-size.Tpo -c
 -o lib/libcoreutils_a-areadlinkat-with-size.o `test -f 'lib/areadlinkat-
 with-size.c' || echo './'`lib/areadlinkat-with-size.c
 mv -f lib/.deps/libcoreutils_a-areadlinkat-with-size.Tpo lib/.deps
 /libcoreutils_a-areadlinkat-with-size.Po
 /opt/local/bin/gcc-apple-4.2 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc
 -I./src -I/opt/local/include   -Wno-cast-qual -Wno-conversion -Wno-float-
 equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-
 parameter -pipe -Os -arch ppc -MT lib/libcoreutils_a-argmatch.o -MD -MP
 -MF lib/.deps/libcoreutils_a-argmatch.Tpo -c -o lib/libcoreutils_a-
 argmatch.o `test -f 'lib/argmatch.c' || echo './'`lib/argmatch.c
 In file included from /usr/include/sys/wait.h:110,
                  from ./lib/sys/wait.h:28,
                  from /usr/include/stdlib.h:64,
                  from ./lib/stdlib.h:36,
                  from lib/gettext.h:202,
                  from lib/argmatch.h:30,
                  from lib/argmatch.c:25:
 /usr/include/sys/signal.h:145: error: expected '=', ',', ';', 'asm' or
 '__attribute__' before 'mcontext64_t'
 /usr/include/sys/signal.h:177: error: expected '=', ',', ';', 'asm' or
 '__attribute__' before 'ucontext64_t'
 make[2]: *** [lib/libcoreutils_a-argmatch.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-9.3'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-9.3'
 make: *** [all] Error 2
 }}}

 OMG, this port is cursed.

-- 
Ticket URL: <https://trac.macports.org/ticket/67527>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list