pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Bootstrap failures on Solaris 10 1/13
Attempting to bootstrap on Solaris 10 1/13 with the system GCC 3.4.3 (/usr/sfw/bin) fails:
===> Bootstrapping awk
===> running: /usr/bin/sh /export/genome/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g root
/export/genome/pkgsrc/bootstrap/work/awk
===> running: (cd /export/genome/pkgsrc/bootstrap/work/awk &&
/export/genome/pkgsrc/bootstrap/work/bin/bmake -j1 -f Makefile CC="gcc" CFLAGS="")
gcc -c awkgram.tab.c
In file included from awk.h:27,
from awkgram.y:28:
/usr/include/stdbool.h:42:2: #error "Use of <stdbool.h> is valid only in a c99 compilation
environment."
In file included from awkgram.y:28:
awk.h:62: error: syntax error before "safe"
awk.h:62: warning: data definition has no type or storage class
awk.h:84: error: syntax error before "donefld"
awk.h:84: warning: data definition has no type or storage class
awk.h:85: error: syntax error before "donerec"
awk.h:85: warning: data definition has no type or storage class
awk.h:249: error: syntax error before "bool"
awk.h:249: warning: no semicolon at end of struct or union
awk.h:255: error: syntax error before '}' token
awk.h:255: warning: data definition has no type or storage class
In file included from awk.h:258,
from awkgram.y:28:
proto.h:41: error: syntax error before '*' token
proto.h:41: error: syntax error before "bool"
proto.h:41: warning: data definition has no type or storage class
proto.h:42: error: syntax error before '*' token
proto.h:42: error: syntax error before "bool"
proto.h:42: warning: data definition has no type or storage class
proto.h:43: error: syntax error before '*' token
proto.h:50: error: syntax error before '*' token
proto.h:54: error: syntax error before '*' token
proto.h:55: error: syntax error before '*' token
proto.h:56: error: syntax error before '*' token
proto.h:57: error: syntax error before "fnematch"
proto.h:57: error: syntax error before '*' token
proto.h:57: warning: data definition has no type or storage class
proto.h:65: error: syntax error before '*' token
proto.h:66: error: syntax error before '*' token
proto.h:123: error: syntax error before "bool"
proto.h:125: error: syntax error before "bool"
proto.h:149: error: syntax error before "is_valid_number"
proto.h:149: error: syntax error before "bool"
proto.h:150: warning: data definition has no type or storage class
proto.h:196: error: syntax error before "bool"
awkgram.y:35: error: syntax error before "infunc"
awkgram.y:35: error: `false' undeclared here (not in a function)
awkgram.y:35: warning: data definition has no type or storage class
awkgram.y: In function `yyparse':
awkgram.y:185: error: `true' undeclared (first use in this function)
awkgram.y:185: error: (Each undeclared identifier is reported only once
awkgram.y:185: error: for each function it appears in.)
*** [awkgram.tab.o] Error code 1
bmake: stopped in /export/genome/pkgsrc/bootstrap/work/awk
1 error
bmake: stopped in /export/genome/pkgsrc/bootstrap/work/awk
===> exited with status 2
aborted.
If you run bootstrap with CFLAGS="-std=gnu99 -O2" then you get past this, but run into another error:
===> Bootstrapping pkgtools
===> running: /usr/bin/sh /export/genome/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g root /export/genome/pkgsrc/bootstrap/work/libarchive
===> running: (cd /export/genome/pkgsrc/bootstrap/work/libarchive; env INSTALL='/usr/pkg/bin/install-sh -c' CONFIG_SHELL=/usr/bin/sh /usr/bin/sh ./configure --enable-static --disable-shared --disable-bsdtar --disable-bsdcpio --disable-posix-regex-lib --disable-xattr --disable-maintainer-mode --disable-acl --without-zlib --without-bz2lib --without-iconv --without-lzma --without-lzo2 --without-lz4 --without-nettle --without-openssl --without-xml2 --without-expat --without-zstd MAKE=/export/genome/pkgsrc/bootstrap/work/bin/bmake && /export/genome/pkgsrc/bootstrap/work/bin/bmake -j1)
./configure: syntax error at line 3494: `ARCHIVE_MINOR=$' unexpected
===> exited with status 2
aborted.
From cursorily reading the bootstrap source, it seems /usr/bin/bash should be selected as the shell, but this doesn't appear to be taking effect.
Vivianne
Home |
Main Index |
Thread Index |
Old Index