=> Creating binary package /Users/pbulk/build/math/djbsort/work/.packages/djbsort-20190516nb2.tgz => Signing binary package /Users/pbulk/build/math/djbsort/work/.packages/djbsort-20190516nb2.tgz (GPG) can't create `/var/root/.gnupg/random_seed': Read-only file system test starting version 20190516 hostname pkgsrchostname linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/abiname.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) compilers/abiname linker failed 1 abi gcc_-fPIC_-Wall_-fomit-frame-pointer_-fwrapv_-O3 gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/abiname.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) compilers/abiname linker failed 1 abi clang_-fPIC_-Wall_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-O3 clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/abiname.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) compilers/abiname linker failed 1 abi clang_-fPIC_-Wall_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-mavx2_-O3 clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -mavx2 -O3 cpucycles/apple testing gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/apple/test linker failed 1 cpucycles/apple testing clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/apple/test linker failed 1 cpucycles/apple testing clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -mavx2 -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/apple/test linker failed 1 cpucycles/cortex skipping architecture gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3 cpucycles/cortex skipping architecture clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -O3 cpucycles/cortex skipping architecture clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -mavx2 -O3 cpucycles/cortex_vct skipping architecture gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3 cpucycles/cortex_vct skipping architecture clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -O3 cpucycles/cortex_vct skipping architecture clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -mavx2 -O3 cpucycles/dev4ns testing gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/dev4ns/test linker failed 1 cpucycles/dev4ns testing clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/dev4ns/test linker failed 1 cpucycles/dev4ns testing clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -mavx2 -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/dev4ns/test linker failed 1 cpucycles/gettimeofday testing gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/gettimeofday/test linker failed 1 cpucycles/gettimeofday testing clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/gettimeofday/test linker failed 1 cpucycles/gettimeofday testing clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -mavx2 -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/gettimeofday/test linker failed 1 cpucycles/monotonic testing gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/monotonic/test linker failed 1 cpucycles/monotonic testing clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/monotonic/test linker failed 1 cpucycles/monotonic testing clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -mavx2 -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/monotonic/test linker failed 1 cpucycles/monotoniccpuinfo testing gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/monotoniccpuinfo/test linker failed 1 cpucycles/monotoniccpuinfo testing clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/monotoniccpuinfo/test linker failed 1 cpucycles/monotoniccpuinfo testing clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -mavx2 -O3 linker output > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/test.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/cpucycles.o': found architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file '/opt/pkg/share/djbsort/link-build/test-20190516/pkgsrchostname/tmp/implementation.o': found architecture 'arm64', required architecture 'x86_64' > ld: Undefined symbols: > _main, referenced from: > > clang: error: linker command failed with exit code 1 (use -v to see invocation) cpucycles/monotoniccpuinfo/test linker failed 1 cpucycles/vct skipping architecture gcc -fPIC -Wall -fomit-frame-pointer -fwrapv -O3 cpucycles/vct skipping architecture clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -O3 cpucycles/vct skipping architecture clang -fPIC -Wall -fomit-frame-pointer -fwrapv -Qunused-arguments -mavx2 -O3 Traceback (most recent call last): File "/opt/pkg/share/djbsort/./test", line 260, in 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