=> Creating binary package /Users/pbulk/build/math/djbsort/work/.packages/djbsort-20190516nb1.tgz => Signing binary package /Users/pbulk/build/math/djbsort/work/.packages/djbsort-20190516nb1.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 abiname.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 abiname.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 abiname.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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 test.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file cpucycles.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > ld: warning: ignoring file implementation.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64 > Undefined symbols for architecture x86_64: > "_main", referenced from: > implicit entry/start for main executable > ld: symbol(s) not found for architecture x86_64 > 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