#67527 closed defect (duplicate)

coreutils @9.3: tiger build error: signal.h: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mcontext64_t'

Reported by: barracuda156 Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: tiger Cc: evanmiller (Evan Miller)
Port: coreutils

Description (last modified by mascguy (Christopher Nielsen))

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

Change History (8)

comment:1 Changed 11 months ago by barracuda156

Keywords: tiger added

comment:2 Changed 11 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)
Summary: coreutils @9.3 fail to build on Tiger: signal.h: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mcontext64_t'coreutils @9.3: tiger build error: signal.h: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mcontext64_t'

comment:3 Changed 11 months ago by mascguy (Christopher Nielsen)

Cc: evanmiller added

Evan/Anyone, have you folks had any issues building coreutils on 10.4?

comment:4 Changed 11 months ago by evanmiller (Evan Miller)

I get the same failure on stock 10.4.11 / PPC.

comment:5 in reply to:  3 Changed 11 months ago by barracuda156

Replying to mascguy:

Evan/Anyone, have you folks had any issues building coreutils on 10.4?

Just in case, my Tiger setup is trivially standard, since it is used for occasional testing only and gets booted into and updated once in a blue moon. That is, standard cctools and ld64, standard compiler, whatever Macports feeds in by default.

I would expect everything to reproducible, unless something depends on physical CPU (I usually run Tiger on G4).

comment:6 Changed 11 months ago by kencu (Ken)

this is a very common Tiger issue -- see #67248 where the exact same issue is active -- and the same problem is currently active with diffutils #67488.

I stuck in a quick workaround for coreutils https://trac.macports.org/ticket/67248#comment:9 until it gets properly sorted, but then someone else said they disagreed with that and had another idea.

comment:7 Changed 11 months ago by kencu (Ken)

and same with wget @1.21.4 it seems.

issue would appear to be in gnulib, ergo rolls into all these ports.

comment:8 Changed 11 months ago by mascguy (Christopher Nielsen)

Resolution: duplicate
Status: assignedclosed

Duplicate of issue:67248

Note: See TracTickets for help on using tickets.