I know Solaris 9 is pretty old but I was woundering if I can get help. pkgsrc 2019Q2 doesn't seems to be able to bootstrap :
===> bootstrap command: /srv/pkgsrc/bootstrap/bootstrap --prefix=/srv/pbulk --abi=64 --workdir=/var/tmp/pbulkbuildv.pbulk.frag
===> bootstrap started: Sat Jun 15 07:17:33 EDT 2019
....
checking for struct statfs.f_flags... no
checking for struct statfs.f_fsize... no
checking for struct statfs.f_iosize... no
checking for struct dirent.d_namlen... no
checking for DIR.dd_fd... yes
checking for dirfd... no
checking *printf() support for %lld... yes
checking for strtoll... (cached) yes
checking if vsnprintf is standards compliant... yes
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
nawk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
Bus Error - core dumped
===> exited with status 138
aborted.
Replaced /usr/bin/bash by OpenCSW bash ( don't know if bash 2.05 included with Solaris 9 is as buggy as bash 3.2 provided with Solaris 10 but I didn't take any chances)