Opened 3 years ago
Closed 3 years ago
#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 3 years ago by barracuda156
| Keywords: | tiger added |
|---|
comment:2 Changed 3 years 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 follow-up: 5 Changed 3 years ago by mascguy (Christopher Nielsen)
| Cc: | evanmiller added |
|---|
comment:4 Changed 3 years ago by evanmiller (Evan Miller)
I get the same failure on stock 10.4.11 / PPC.
comment:5 Changed 3 years ago by barracuda156
Replying to mascguy:
Evan/Anyone, have you folks had any issues building
coreutilson 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 3 years 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 3 years 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 3 years ago by mascguy (Christopher Nielsen)
| Resolution: | → duplicate |
|---|---|
| Status: | assigned → closed |
Duplicate of issue:67248

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