Doug Summers <[EMAIL PROTECTED]> writes: > Trying to get this version updated (currently using the 10.18.2006 > release). I'm getting this error during the build of tar, which is > exactly what I was getting with coreutils 6.3 (fixed in the new 6.4 > release): > > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/signal.h:1149: > error: expected ')' before 'int' > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/signal.h:1172: > error: expected ')' before 'int' > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/signal.h:1189: > error: expected ')' before 'int' > In file included from > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/stdlib.h:310, > from xstrtol.c:42, > from xstrtoumax.c:32: > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:171: > error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wait' > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:173: > error: expected '=', ',', ';', 'asm' or '__attribute__' before > 'waitpid' > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:187: > error: expected declaration specifiers or '...' before 'id_t' > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:192: > error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wait3' > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:197: > error: expected '=', ',', ';', 'asm' or '__attribute__' before > 'kwaitpid' > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:199: > error: expected '=', ',', ';', 'asm' or '__attribute__' before > 'kwaitpid64' > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:203: > error: expected '=', ',', ';', 'asm' or '__attribute__' before > 'wait364' > /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:217: > error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wait4' > make[3]: *** [xstrtoumax.o] Error 1 > make[3]: Leaving directory > `/opt/openpkg/RPM/TMP/openpkg-2.20061030/tar-1.16/lib' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/opt/openpkg/RPM/TMP/openpkg-2.20061030/tar-1.16/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/opt/openpkg/RPM/TMP/openpkg-2.20061030/tar-1.16' > make: *** [all] Error 2 > + exit 2 > + exit 2 > error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.7133 (%prep)
I see this too (or similar) when building openpkg-2.20061030-2.20061030 on AIX 5.3. Missing or wrong headers? The output I see on AIX 5.3 is as follows: if /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT xstrtoumax.o -MD -MP -MF ".deps/xstrtoumax.Tpo" -c -o xstrtoumax.o xstrtoumax.c; \ then mv -f ".deps/xstrtoumax.Tpo" ".deps/xstrtoumax.Po"; else rm -f ".deps/xstrtoumax.Tpo"; exit 1; fi In file included from ./stdint.h:55, from ///usr/include/inttypes.h:51, from ./inttypes.h:24, from xstrtol.h:25, from xstrtoumax.c:23: /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:188: error: parse error before 'daddr_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:194: error: parse error before 'ino_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:204: error: parse error before 'dev_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:253: error: parse error before 'key_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:258: error: parse error before 'timer_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:283: error: parse error before 'pid_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:286: error: parse error before 'tid_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:296: error: parse error before 'blkcnt_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:302: error: parse error before 'blksize_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:324: error: parse error before 'id_t' In file included from /usr/include/sys/m_types.h:40, from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:495, from ./stdint.h:55, from ///usr/include/inttypes.h:51, from ./inttypes.h:24, from xstrtol.h:25, from xstrtoumax.c:23: /usr/include/sys/vm_types.h:51: error: parse error before 'kvmid_t' /usr/include/sys/vm_types.h:52: error: parse error before 'kvmhandle_t' /usr/include/sys/vm_types.h:73: error: parse error before 'vmidx_t' /usr/include/sys/vm_types.h:74: error: parse error before 'vmkey_t' /usr/include/sys/vm_types.h:75: error: parse error before 'vmhwkey_t' /usr/include/sys/vm_types.h:76: error: parse error before 'vpn_t' /usr/include/sys/vm_types.h:77: error: parse error before 'rpn_t' /usr/include/sys/vm_types.h:82: error: parse error before 'esid_t' /usr/include/sys/vm_types.h:103: error: parse error before 'vmsize_t' /usr/include/sys/vm_types.h:105: error: parse error before 'vmm_lock_t' /usr/include/sys/vm_types.h:154: error: parse error before 'ulong32int64_t' /usr/include/sys/vm_types.h:160: error: parse error before '}' token In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:495, from ./stdint.h:55, from ///usr/include/inttypes.h:51, from ./inttypes.h:24, from xstrtol.h:25, from xstrtoumax.c:23: /usr/include/sys/m_types.h:69: error: parse error before 'ext_t' In file included from ./stdint.h:55, from ///usr/include/inttypes.h:51, from ./inttypes.h:24, from xstrtol.h:25, from xstrtoumax.c:23: /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:648: error: parse error before '__ulong32_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:650: error: parse error before 'word3' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h:651: error: parse error before 'word4' In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:62, from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/stdlib.h:320, from xstrtol.c:42, from xstrtoumax.c:32: /usr/include/sys/resource.h:324: error: parse error before 'id_t' /usr/include/sys/resource.h:325: error: parse error before 'id_t' In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:66, from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/stdlib.h:320, from xstrtol.c:42, from xstrtoumax.c:32: /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/signal.h:284: error: parse error before 'pid_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/signal.h:329: error: parse error before '}' token /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/signal.h:349: error: parse error before 'siginfo_t' In file included from /usr/include/sys/context.h:40, from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/signal.h:378, from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:66, from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/stdlib.h:320, from xstrtol.c:42, from xstrtoumax.c:32: /usr/include/sys/mstsave.h:63: error: parse error before 'pid_t' /usr/include/sys/mstsave.h:91: error: parse error before 'as' /usr/include/sys/mstsave.h:133: error: parse error before '}' token In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/signal.h:378, from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:66, from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/stdlib.h:320, from xstrtol.c:42, from xstrtoumax.c:32: /usr/include/sys/context.h:315: error: field 'jmp_context' has incomplete type In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:66, from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/stdlib.h:320, from xstrtol.c:42, from xstrtoumax.c:32: /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/signal.h:1032: error: parse error before 'siginfo_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/signal.h:1155: error: parse error before 'int' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/signal.h:1170: error: parse error before 'int' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/signal.h:1187: error: parse error before 'int' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/signal.h:1189: error: parse error before 'siginfo_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/signal.h:1190: error: parse error before 'siginfo_t' In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/stdlib.h:320, from xstrtol.c:42, from xstrtoumax.c:32: /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:171: error: parse error before 'wait' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:173: error: parse error before 'waitpid' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:173: error: parse error before 'int' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:187: error: parse error before 'id_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:192: error: parse error before 'wait3' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:197: error: parse error before 'kwaitpid' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:197: error: parse error before 'pid_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:199: error: parse error before 'kwaitpid64' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:199: error: parse error before 'pid_t' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:203: error: parse error before 'wait364' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:217: error: parse error before 'wait4' /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/wait.h:217: error: parse error before 'int' gmake[3]: *** [xstrtoumax.o] Error 1 gmake[3]: Leaving directory `/tmp/openpkg-2.20061030/tar-1.16/lib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/tmp/openpkg-2.20061030/tar-1.16/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/openpkg-2.20061030/tar-1.16' gmake: *** [all] Error 2 + exit 2 + exit 2 /openpkg.boot:ERROR: script returned non-null value Simon ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List openpkg-users@openpkg.org