+ local run_cmd
+ run_cmd=run_direct
+ shift
+ run_direct /opt/local/bin/bmake stage-package-create BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/djbsort-20190516nb2/work.log
+ /opt/local/bin/bmake stage-package-create BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/djbsort-20190516nb2/work.log
=> Creating binary package /home/pbulk/build/math/djbsort/work/.packages/djbsort-20190516nb2.tgz
=> Signing binary package /home/pbulk/build/math/djbsort/work/.packages/djbsort-20190516nb2.tgz (GPG)
can't create `/root/.gnupg/random_seed': Read-only file system
+ PKG_PATH=/data/packages/SmartOS/trunk/x86_64/All
+ /opt/tools/sbin/pkg_add -K /opt/local/pkg /home/pbulk/build/math/djbsort/work/.packages/djbsort-20190516nb2.tgz
test starting
version 20190516
hostname pkgsrchostname
compilers/abiname linker exited [Errno 2] No such file or directory: 'gcc'
abi gcc_-fPIC_-Wall_-fomit-frame-pointer_-fwrapv_-O3 gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3 
compilers/abiname linker exited [Errno 2] No such file or directory: 'gcc'
abi gcc_-fPIC_-Wall_-fomit-frame-pointer_-fwrapv_-march=core-avx2_-O3 gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -march=core-avx2 -O3 
cpucycles/amd64cpuinfo skipping architecture gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3
cpucycles/amd64cpuinfo skipping architecture gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -march=core-avx2 -O3
cpucycles/amd64tscfreq skipping architecture gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3
cpucycles/amd64tscfreq skipping architecture gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -march=core-avx2 -O3
cpucycles/dev4ns testing gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3
cpucycles/dev4ns/test linker exited [Errno 2] No such file or directory: 'gcc'
cpucycles/dev4ns testing gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -march=core-avx2 -O3
cpucycles/dev4ns/test linker exited [Errno 2] No such file or directory: 'gcc'
cpucycles/gettimeofday testing gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3
cpucycles/gettimeofday/test linker exited [Errno 2] No such file or directory: 'gcc'
cpucycles/gettimeofday testing gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -march=core-avx2 -O3
cpucycles/gettimeofday/test linker exited [Errno 2] No such file or directory: 'gcc'
Traceback (most recent call last):
  File "/opt/local/share/djbsort/./test", line 260, in <module>
    raise Exception('no working cycle counter for %s' % abi)
Exception: no working cycle counter for gcc_-fPIC_-Wall_-fomit-frame-pointer_-fwrapv_-O3
===========================================================================

ERROR: tests exited nonzero (1).

The installation may not be correct or performant.

===========================================================================
pkg_add: install script returned error status
pkg_add: 1 package addition failed