=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for kalker-2.2.0 Compiling libc v0.2.139 Compiling log v0.4.17 Compiling proc-macro2 v1.0.50 Compiling quote v1.0.23 Compiling unicode-ident v1.0.6 Compiling wasm-bindgen-shared v0.2.83 Compiling syn v1.0.107 Compiling cfg-if v1.0.0 Compiling gmp-mpfr-sys v1.6.2 Compiling memchr v2.5.0 Compiling once_cell v1.17.0 Compiling bumpalo v3.12.0 Compiling wasm-bindgen-backend v0.2.83 error: failed to run custom build command for `gmp-mpfr-sys v1.6.2` Caused by: process didn't exit successfully: `/pbulk/work/math/kalker/work/kalker-2.2.0/target/release/build/gmp-mpfr-sys-495e228c29aa16ba/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-env-changed=GMP_MPFR_SYS_CACHE $ mkdir -p "/pbulk/work/math/kalker/work/kalker-2.2.0/target/release/build/gmp-mpfr-sys-c8df10888f0a24f7/out/lib" $ mkdir -p "/pbulk/work/math/kalker/work/kalker-2.2.0/target/release/build/gmp-mpfr-sys-c8df10888f0a24f7/out/include" $ mkdir -p "/pbulk/work/math/kalker/work/kalker-2.2.0/target/release/build/gmp-mpfr-sys-c8df10888f0a24f7/out/build" $ ln -s "/pbulk/work/math/kalker/work/vendor/gmp-mpfr-sys-1.6.2/gmp-6.3.0-c" "/pbulk/work/math/kalker/work/kalker-2.2.0/target/release/build/gmp-mpfr-sys-c8df10888f0a24f7/out/build/gmp-src" $ mkdir -p "/pbulk/work/math/kalker/work/kalker-2.2.0/target/release/build/gmp-mpfr-sys-c8df10888f0a24f7/out/build/gmp-build" $ cd "/pbulk/work/math/kalker/work/kalker-2.2.0/target/release/build/gmp-mpfr-sys-c8df10888f0a24f7/out/build/gmp-build" $ cd "/pbulk/work/math/kalker/work/kalker-2.2.0/target/release/build/gmp-mpfr-sys-c8df10888f0a24f7/out/build/gmp-build" && "sh" "-c" "../gmp-src/configure --enable-fat --disable-shared --with-pic" checking build system type... zen3-unknown-netbsdelf9.0 checking host system type... zen3-unknown-netbsdelf9.0 checking for a BSD-compatible install... /pbulk/work/math/kalker/work/.tools/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ../gmp-src/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking compiler gcc -O2 -I/usr/pkg/include -I/usr/pkg/include... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... cpp checking build system compiler gcc... yes checking for build system preprocessor... gcc -E checking for build system executable suffix... checking whether build system compiler is ANSI... yes checking for build system compiler math library... -lm checking for grep that handles long lines and -e... /pbulk/work/math/kalker/work/.tools/bin/grep checking for egrep... /pbulk/work/math/kalker/work/.tools/bin/grep -E using ABI="64" CC="gcc" CFLAGS="-O2 -I/usr/pkg/include" CPPFLAGS="-I/usr/pkg/include" MPN_PATH=" x86_64/fat x86_64 generic" checking whether assembler supports --noexecstack option... no checking for ar... ar checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking how to print strings... printf checking for a sed that does not truncate output... /pbulk/work/math/kalker/work/.tools/bin/sed checking for fgrep... /pbulk/work/math/kalker/work/.tools/bin/grep -F checking for ld used by gcc... /pbulk/work/math/kalker/work/.cwrapper/bin/ld checking if the linker (/pbulk/work/math/kalker/work/.cwrapper/bin/ld) is GNU ld... yes checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert zen3-unknown-netbsdelf9.0 file names to zen3-unknown-netbsdelf9.0 format... func_convert_file_noop checking how to convert zen3-unknown-netbsdelf9.0 file names to toolchain format... func_convert_file_noop checking for /pbulk/work/math/kalker/work/.cwrapper/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/pbulk/work/math/kalker/work/.cwrapper/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... NetBSD ld.elf_so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... c++ -E checking whether the c++ linker (/pbulk/work/math/kalker/work/.cwrapper/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -DPIC checking if c++ PIC flag -DPIC works... yes checking if c++ static flag works... yes checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/pbulk/work/math/kalker/work/.cwrapper/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... NetBSD ld.elf_so checking how to hardcode library paths into programs... unsupported checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking invent.h usability... no checking invent.h presence... no checking for invent.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking sys/attributes.h usability... no checking sys/attributes.h presence... no checking for sys/attributes.h... no checking sys/iograph.h usability... no checking sys/iograph.h presence... no checking for sys/iograph.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/processor.h usability... no checking sys/processor.h presence... no checking for sys/processor.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... no checking sys/sysinfo.h presence... no checking for sys/sysinfo.h... no checking sys/syssgi.h usability... no checking sys/syssgi.h presence... no checking for sys/syssgi.h... no checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/resource.h... yes checking for sys/sysctl.h... yes checking for machine/hal_sysinfo.h... no checking whether fgetc is declared... yes checking whether fscanf is declared... yes checking whether optarg is declared... yes checking whether ungetc is declared... yes checking whether vfprintf is declared... yes checking whether sys_errlist is declared... yes checking whether sys_nerr is declared... yes checking return type of signal handlers... void checking for intmax_t... yes checking for long double... yes checking for long long... yes checking for ptrdiff_t... yes checking for quad_t... yes checking for uint_least32_t... yes checking for intptr_t... yes checking for working volatile... yes checking for C/C++ restrict keyword... __restrict checking whether gcc __attribute__ ((const)) works... yes checking whether gcc __attribute__ ((malloc)) works... yes checking whether gcc __attribute__ ((mode (XX))) works... yes checking whether gcc __attribute__ ((noreturn)) works... yes checking whether gcc hidden aliases work... yes checking for inline... inline checking for cos in -lm... yes checking for working alloca.h... no checking for alloca (via gmp-impl.h)... yes checking how to allocate temporary memory... alloca checking whether byte ordering is bigendian... no checking format of `double' floating point... IEEE little endian checking for alarm... yes checking for attr_get... no checking for clock... yes checking for cputime... no checking for getpagesize... yes checking for getrusage... yes checking for gettimeofday... yes checking for getsysinfo... no checking for localeconv... yes checking for memset... yes checking for mmap... yes checking for mprotect... yes checking for nl_langinfo... yes checking for obstack_vprintf... no checking for popen... yes checking for processor_info... no checking for pstat_getprocessor... no checking for raise... yes checking for read_real_time... no checking for sigaction... yes checking for sigaltstack... yes checking for sigstack... no checking for syssgi... no checking for strchr... yes checking for strerror... yes checking for strnlen... yes checking for strtol... yes checking for strtoul... yes checking for sysconf... yes checking for sysctl... yes checking for sysctlbyname... yes checking for times... yes checking for library containing clock_gettime... none required checking for vsnprintf... yes checking whether vsnprintf works... yes checking whether sscanf needs writable input... no checking for struct pst_processor.psp_iticksperclktick... no checking for suitable m4... m4 checking if m4wrap produces spurious output... no checking how to switch to text section... .text checking how to switch to data section... .data checking for assembler label suffix... : checking for assembler global directive... .globl checking for assembler global directive attribute... checking if globals are prefixed by underscore... no checking how to switch to read-only data section... .section .rodata checking for assembler .type directive... .type $1,@$2 checking for assembler .size directive... .size $1,$2 checking for assembler local label prefix... .L checking for assembler byte directive... .byte checking how to define a 32-bit word... .long checking if .align assembly directive is logarithmic... no checking if the .align directive accepts an 0x90 fill in .text... yes checking if the assembler knows about the mulx instruction... no checking for assembler COFF type directives... no checking size of void *... 4 checking size of unsigned short... 2 checking size of unsigned... 4 checking size of unsigned long... 4 checking size of mp_limb_t... 4 --- stderr configure: WARNING: +---------------------------------------------------------- configure: WARNING: | WARNING WARNING WARNING configure: WARNING: | Host CPU has the mulx instruction, but it can't be configure: WARNING: | assembled by configure: WARNING: | gcc -c -O2 -I/usr/pkg/include -I/usr/pkg/include configure: WARNING: | Older x86 instructions will be used. configure: WARNING: | This will be an inferior build. configure: WARNING: +---------------------------------------------------------- configure: error: Oops, mp_limb_t is 32 bits, but the assembler code in this configuration expects 64 bits. You appear to have set $CFLAGS, perhaps you also need to tell GMP the intended ABI, see "ABI and ISA" in the manual. thread 'main' panicked at /pbulk/work/math/kalker/work/vendor/gmp-mpfr-sys-1.6.2/build.rs:1210:13: Program failed with code 1: cd "/pbulk/work/math/kalker/work/kalker-2.2.0/target/release/build/gmp-mpfr-sys-c8df10888f0a24f7/out/build/gmp-build" && "sh" "-c" "../gmp-src/configure --enable-fat --disable-shared --with-pic" note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace *** Error code 101 Stop. make[1]: stopped in /usr/pkgsrc/math/kalker *** Error code 1 Stop. make: stopped in /usr/pkgsrc/math/kalker