Hi,
it seems pkgsrc can no more bootstrap on solaris 10. Trying to bootstrap with this command :
sh $PKGSRC_DIR/bootstrap/bootstrap --abi=64 --prefix=$PREFIX --mk-fragment=$DATA_DIR/conf/mk.conf.usr.pkg.frag --workdir=/tmp/work --gzip-binary-kit=$DATA_DIR/bootstrap/bootstrap.tar.gz
mk fragment file containing this :
PKG_DEVELOPER=yes
MAKE_JOBS=2
SKIP_LICENSE_CHECK=yes
ALLOW_VULNERABLE_PACKAGES=YES
FETCH_USING=fetch
# Can be remote
DISTDIR=/srv/data/distfiles
PACKAGES=/srv/data/packages
# Must be local
WRKOBJDIR=/var/tmp/pkgbuild
PKG_DEBUG_LEVEL=2
lz4 seems to be the problem here :
gmake[1]: Entering directory `/var/tmp/pbulkbuild/archivers/lz4/work/lz4-1.9.3/programs'
gcc -O3 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I../lib -DXXH_NAMESPACE=LZ4_ -c -o bench.o bench.c
gcc -O3 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I../lib -DXXH_NAMESPACE=LZ4_ -c -o datagen.o datagen.c
gcc -O3 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I../lib -DXXH_NAMESPACE=LZ4_ -c -o lz4cli.o lz4cli.c
gcc -O3 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I../lib -DXXH_NAMESPACE=LZ4_ -c -o lz4io.o lz4io.c
gcc -O3 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I../lib -DXXH_NAMESPACE=LZ4_ -Wl,-R/srv/pbulk/lib ../lib/lz4.o ../lib/lz4frame.o ../lib/lz4hc.o ../lib/xxhash.o bench.o datagen.o lz4cli.o lz4io.o -o lz4
gmake[1]: Leaving directory `/var/tmp/pbulkbuild/archivers/lz4/work/lz4-1.9.3/programs'
creating versioned links
gmake[1]: Leaving directory `/var/tmp/pbulkbuild/archivers/lz4/work/lz4-1.9.3/lib'
*** Error code 2
Stop.
bmake[3]: stopped in /srv/pkgsrc/archivers/lz4
: commands for target barrier-error-check; set -x; set -e; /usr/bin/rm -f /var/tmp/pbulkbuild/archivers/lz4/work/.warning/*.tmp; test -d /var/tmp/pbulkbuild/archivers/lz4/work/.warning || exit 0; cd /var/tmp/pbulkbuild/archivers/lz4/work/.warning; for file in ./*; do test "$file" != "./*" || exit 0; break; done; /usr/bin/cat ./* | /srv/pbulk/bin/nbsed -e "s|^|WARNING: |" 1>&2; /usr/bin/mv -f ./* /var/tmp/pbulkbuild/archivers/lz4/work/.warning-done
: commands for target barrier-error-check; set -x; set -e; /usr/bin/rm -f /var/tmp/pbulkbuild/archivers/lz4/work/.error/*.tmp; test -d /var/tmp/pbulkbuild/archivers/lz4/work/.error || exit 0; cd /var/tmp/pbulkbuild/archivers/lz4/work/.error; for file in ./*; do test "$file" != "./*" || exit 0; break; done; /usr/bin/cat * | /srv/pbulk/bin/nbsed -e "s|^|ERROR: |" 1>&2; if /srv/pbulk/bin/nawk 'END { exit (NR > 0) ? 0 : 1; }' ./*; then /usr/bin/mv -f ./* /var/tmp/pbulkbuild/archivers/lz4/work/.error-done; exit 1; fi
*** Error code 1
Stop.
bmake[2]: stopped in /srv/pkgsrc/archivers/lz4
*** Error code 1
Stop.
bmake[1]: stopped in /srv/pkgsrc/net/rsync
*** Error code 1
Stop.
bmake: stopped in /srv/pkgsrc/pkgtools/pbulk
Using GCC8. Also tried with OpenCSW GCC5. Not sure where to start troubleshooting even less how to fix it.