#68964 closed defect (fixed)
texinfo @7.1 fails to build on Tiger: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mcontext64_t'
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | tiger | Cc: | gombang (Gombang Nan Cengka) |
Port: | texinfo, wget |
Description
:info:build /opt/local/bin/gcc-apple-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -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 libgnu_a-error.o -MD -MP -MF .deps/libgnu_a-error.Tpo -c -o libgnu_a-error.o `test -f 'error.c' || echo './'`error.c :info:build /opt/local/bin/gcc-apple-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -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 libgnu_a-exitfail.o -MD -MP -MF .deps/libgnu_a-exitfail.Tpo -c -o libgnu_a-exitfail.o `test -f 'exitfail.c' || echo './'`exitfail.c :info:build /opt/local/bin/gcc-apple-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -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 libgnu_a-free.o -MD -MP -MF .deps/libgnu_a-free.Tpo -c -o libgnu_a-free.o `test -f 'free.c' || echo './'`free.c :info:build /opt/local/bin/gcc-apple-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -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 libgnu_a-getopt.o -MD -MP -MF .deps/libgnu_a-getopt.Tpo -c -o libgnu_a-getopt.o `test -f 'getopt.c' || echo './'`getopt.c :info:build In file included from /usr/include/sys/wait.h:110, :info:build from /usr/include/stdlib.h:64, :info:build from ./stdlib.h:36, :info:build from error.c:29: :info:build /usr/include/sys/signal.h:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mcontext64_t' :info:build /usr/include/sys/signal.h:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ucontext64_t' :info:build mv -f .deps/libgnu_a-exitfail.Tpo .deps/libgnu_a-exitfail.Po :info:build /opt/local/bin/gcc-apple-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -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 libgnu_a-getopt1.o -MD -MP -MF .deps/libgnu_a-getopt1.Tpo -c -o libgnu_a-getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c :info:build mv -f .deps/libgnu_a-free.Tpo .deps/libgnu_a-free.Po :info:build make[4]: *** [libgnu_a-error.o] Error 1
Attachments (1)
Change History (10)
Changed 11 months ago by barracuda156
Attachment: | texinfo_10.4.11.log added |
---|
comment:1 Changed 11 months ago by barracuda156
comment:2 Changed 11 months ago by barracuda156
Port: | wget added |
---|
comment:3 follow-ups: 5 7 Changed 11 months ago by kencu (Ken)
you’ll see this error many times on Tiger in various ports.
sys/signal.h changed quite a bit between Tiger and Leopard, and has stayed stable since.
Many Tiger builds would work better if you could use the 10.5 SDK to build things on Tiger, but there are problems doing that nobody ever sorted out.
The kinds of fixes needed can be seen in this patch by Evan
Or see what Jeremy did in the ld64 portfile.
You do learn a great deal about MacOS building by fixing Tiger errors, though. Touches many things.
comment:4 Changed 10 months ago by gombang (Gombang Nan Cengka)
Cc: | gombang added |
---|
comment:5 follow-up: 6 Changed 10 months ago by barracuda156
Replying to kencu:
you’ll see this error many times on Tiger in various ports.
Is it possible to fix these somehow via legacysupport
? It is unrealistic to patch every affected port manually (unrealistic in a sense none of us gonna bother doing that).
comment:6 Changed 10 months ago by kencu (Ken)
Replying to barracuda156:
Replying to kencu:
you’ll see this error many times on Tiger in various ports.
Is it possible to fix these somehow via
legacysupport
? It is unrealistic to patch every affected port manually (unrealistic in a sense none of us gonna bother doing that).
sure, it's possible you could sort something like that out for legacysupport.
comment:7 Changed 10 months ago by barracuda156
comment:8 Changed 7 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:9 Changed 7 months ago by ballapete (Peter "Pete" Dyballa)
It happened today: texinfo @7.1_0 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2024-04-30T08:20:51+0200'
.
wget
also fails with this error: