[package - main-arm64-default][dns/doh-proxy] Failed for doh-proxy-0.9.2_1 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Dec 2021 04:37:54 UTC
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: mat@FreeBSD.org Log URL: http://ampere2.nyi.freebsd.org/data/main-arm64-default/pd684832c1aed_sfc21aafe5f/logs/doh-proxy-0.9.2_1.log Build URL: http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=pd684832c1aed_sfc21aafe5f Log: =>> Building dns/doh-proxy build started at Sun Dec 5 04:35:30 UTC 2021 port directory: /usr/ports/dns/doh-proxy package name: doh-proxy-0.9.2_1 building for: FreeBSD main-arm64-default-job-13 14.0-CURRENT FreeBSD 14.0-CURRENT 1400043 arm64 maintained by: mat@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-21-g883afb07 Host OSVERSION: 1400008 Jail OSVERSION: 1400043 Job Id: 13 !!! Jail is newer than host. (Jail: 1400043, Host: 1400008) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400043 UNAME_v=FreeBSD 14.0-CURRENT 1400043 UNAME_r=14.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-21-g883afb07 MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-arm64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- mat@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/dns/doh-proxy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/dns/doh-proxy/work XDG_CACHE_HOME=/wrkdirs/usr/ports/dns/doh-proxy/work/.cache HOME=/wrkdirs/usr/ports/dns/doh-proxy/work TMPDIR="/wrkdirs/usr/ports/dns/doh-proxy/work" PATH=/wrkdirs/usr/ports/dns/doh-proxy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/dns/doh-proxy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/dns/doh-proxy/work XDG_CACHE_HOME=/wrkdirs/usr/ports/dns/doh-proxy/work/.cache HOME=/wrkdirs/usr/ports/dns/doh-proxy/work TMPDIR="/wrkdirs/usr/ports/dns/doh-proxy/work" PATH=/wrkdirs/usr/ports/dns/doh-proxy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/doh-proxy" EXAMPLESDIR="share/examples/doh-proxy" DATADIR="share/doh-proxy" WWWDIR="www/doh-proxy" ETCDIR="etc/doh-proxy" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/doh-proxy DOCSDIR=/usr/local/share/doc/doh-proxy EXAMPLESDIR=/usr/local/share/examples/doh-proxy WWWDIR=/usr/local/www/doh-proxy ETCDIR=/usr/local/etc/doh-proxy --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=aarch64 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400043 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 1048576 stack size (kbytes, -s) 1048576 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===> License MIT accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> doh-proxy-0.9.2_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.17.5.pkg [main-arm64-default-job-13] Installing pkg-1.17.5... [main-arm64-default-job-13] Extracting pkg-1.17.5: .......... done ===> doh-proxy-0.9.2_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of doh-proxy-0.9.2_1 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License MIT accepted by the user ===> Fetching all distfiles required by doh-proxy-0.9.2_1 for building =========================================================================== =======================<phase: checksum >============================ ===> License MIT accepted by the user ===> Fetching all distfiles required by doh-proxy-0.9.2_1 for building => SHA256 Checksum OK for rust/crates/doh-proxy-0.9.2.crate. => SHA256 Checksum OK for rust/crates/aead-0.3.2.crate. => SHA256 Checksum OK for rust/crates/aes-0.6.0.crate. => SHA256 Checksum OK for rust/crates/aes-gcm-0.8.0.crate. => SHA256 Checksum OK for rust/crates/aes-soft-0.6.4.crate. => SHA256 Checksum OK for rust/crates/aesni-0.10.0.crate. => SHA256 Checksum OK for rust/crates/ansi_term-0.11.0.crate. => SHA256 Checksum OK for rust/crates/anyhow-1.0.43.crate. => SHA256 Checksum OK for rust/crates/arc-swap-1.3.2.crate. => SHA256 Checksum OK for rust/crates/atty-0.2.14.crate. => SHA256 Checksum OK for rust/crates/autocfg-1.0.1.crate. => SHA256 Checksum OK for rust/crates/base64-0.13.0.crate. => SHA256 Checksum OK for rust/crates/bitflags-1.3.2.crate. => SHA256 Checksum OK for rust/crates/bitvec-0.18.5.crate. => SHA256 Checksum OK for rust/crates/block-buffer-0.9.0.crate. => SHA256 Checksum OK for rust/crates/bumpalo-3.7.0.crate. => SHA256 Checksum OK for rust/crates/byteorder-1.4.3.crate. => SHA256 Checksum OK for rust/crates/bytes-1.1.0.crate. => SHA256 Checksum OK for rust/crates/cc-1.0.70.crate. => SHA256 Checksum OK for rust/crates/cfg-if-1.0.0.crate. => SHA256 Checksum OK for rust/crates/chacha20-0.6.0.crate. => SHA256 Checksum OK for rust/crates/chacha20poly1305-0.7.1.crate. => SHA256 Checksum OK for rust/crates/cipher-0.2.5.crate. => SHA256 Checksum OK for rust/crates/clap-2.33.3.crate. => SHA256 Checksum OK for rust/crates/cpufeatures-0.2.1.crate. => SHA256 Checksum OK for rust/crates/cpuid-bool-0.2.0.crate. <snip> checking LG_PAGE... 12 Missing VERSION file, and unable to generate it; creating bogus VERSION checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlsym... yes checking whether pthread_atfork(3) is compilable... yes checking whether pthread_setname_np(3) is compilable... yes checking for library containing clock_gettime... none required checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable... yes checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable... yes checking whether mach_absolute_time() is compilable... no checking whether compiler supports -Werror... yes checking whether syscall(2) is compilable... yes checking for secure_getenv... no checking for sched_getcpu... yes checking for sched_setaffinity... yes checking for issetugid... yes checking for _malloc_thread_cleanup... yes checking for _pthread_mutex_init_calloc_cb... yes Forcing lazy-lock to avoid allocator/threading bootstrap issues checking for TLS... yes checking whether C11 atomics is compilable... yes checking whether GCC __atomic atomics is compilable... yes checking whether GCC __sync atomics is compilable... yes checking whether Darwin OSAtomic*() is compilable... no checking whether madvise(2) is compilable... yes checking whether madvise(..., MADV_FREE) is compilable... yes checking whether madvise(..., MADV_DONTNEED) is compilable... yes checking whether madvise(..., MADV_DO[NT]DUMP) is compilable... no checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable... no checking whether to force 32-bit __sync_{add,sub}_and_fetch()... no checking whether to force 64-bit __sync_{add,sub}_and_fetch()... no checking for __builtin_clz... yes checking whether Darwin os_unfair_lock_*() is compilable... no checking whether Darwin OSSpin*() is compilable... no checking whether glibc malloc hook is compilable... no checking whether glibc memalign hook is compilable... no checking whether pthreads adaptive mutexes is compilable... yes checking whether compiler supports -D_GNU_SOURCE... yes checking whether compiler supports -Werror... yes checking whether compiler supports -herror_on_warning... no checking whether strerror_r returns char with gnu source is compilable... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes configure: creating ./config.status config.status: creating Makefile config.status: creating jemalloc.pc config.status: creating doc/html.xsl config.status: creating doc/manpages.xsl config.status: creating doc/jemalloc.xml config.status: creating include/jemalloc/jemalloc_macros.h config.status: creating include/jemalloc/jemalloc_protos.h config.status: creating include/jemalloc/jemalloc_typedefs.h config.status: creating include/jemalloc/internal/jemalloc_preamble.h config.status: creating test/test.sh config.status: creating test/include/test/jemalloc_test.h config.status: creating config.stamp config.status: creating bin/jemalloc-config config.status: creating bin/jemalloc.sh config.status: creating bin/jeprof config.status: creating include/jemalloc/jemalloc_defs.h config.status: creating include/jemalloc/internal/jemalloc_internal_defs.h config.status: creating test/include/test/jemalloc_test_defs.h config.status: executing include/jemalloc/internal/public_symbols.txt commands config.status: executing include/jemalloc/internal/private_symbols.awk commands config.status: executing include/jemalloc/internal/private_symbols_jet.awk commands config.status: executing include/jemalloc/internal/public_namespace.h commands config.status: executing include/jemalloc/internal/public_unnamespace.h commands config.status: executing include/jemalloc/internal/size_classes.h commands config.status: executing include/jemalloc/jemalloc_protos_jet.h commands config.status: executing include/jemalloc/jemalloc_rename.h commands config.status: executing include/jemalloc/jemalloc_mangle.h commands config.status: executing include/jemalloc/jemalloc_mangle_jet.h commands config.status: executing include/jemalloc/jemalloc.h commands =============================================================================== jemalloc version : 0.0.0-0-g0000000000000000000000000000000000000000 library revision : 2 CONFIG : --disable-cxx --with-jemalloc-prefix=_rjem_ --with-private-namespace=_rjem_ --host=aarch64-unknown-freebsd --build=aarch64-unknown-freebsd --prefix=/wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out build_alias=aarch64-unknown-freebsd host_alias=aarch64-unknown-freebsd CC=cc 'CFLAGS=-O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing' 'LDFLAGS=-O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing' LIBS= 'CPPFLAGS=-O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing' CPP=cpp CXX=c++ 'CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' CC : cc CONFIGURE_CFLAGS : -std=gnu11 -Wall -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops SPECIFIED_CFLAGS : -O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing EXTRA_CFLAGS : CPPFLAGS : -O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_REENTRANT CXX : c++ CONFIGURE_CXXFLAGS : -fvisibility=hidden -O3 SPECIFIED_CXXFLAGS : -O2 -pipe -fstack-protector-strong -fno-strict-aliasing EXTRA_CXXFLAGS : LDFLAGS : -O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing EXTRA_LDFLAGS : DSO_LDFLAGS : -shared -Wl,-soname,$(@F) LIBS : -lm -lpthread RPATH_EXTRA : XSLTPROC : false XSLROOT : PREFIX : /wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out BINDIR : /wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out/bin DATADIR : /wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out/share INCLUDEDIR : /wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out/include LIBDIR : /wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out/lib MANDIR : /wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out/share/man srcroot : /wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out/jemalloc/ abs_srcroot : /wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out/jemalloc/ objroot : abs_objroot : /wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out/build/ JEMALLOC_PREFIX : _rjem_ JEMALLOC_PRIVATE_NAMESPACE : _rjem_je_ install_suffix : malloc_conf : autogen : 0 debug : 0 stats : 1 prof : 0 prof-libunwind : 0 prof-libgcc : 0 prof-gcc : 0 fill : 1 utrace : 0 xmalloc : 0 log : 0 lazy_lock : 1 cache-oblivious : 1 cxx : 0 =============================================================================== running: "gmake" "srcroot=../jemalloc/" "-j" "2" gmake[1]: Entering directory '/wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out/build' cc -std=gnu11 -Wall -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPIC -c -O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_REENTRANT -Iinclude -I../jemalloc/include -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/jemalloc.sym.o ../jemalloc/src/jemalloc.c cc -std=gnu11 -Wall -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPIC -c -O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_REENTRANT -Iinclude -I../jemalloc/include -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/arena.sym.o ../jemalloc/src/arena.c cc -std=gnu11 -Wall -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPIC -c -O3 -ffunction-sections -fdata-sections -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_REENTRANT -Iinclude -I../jemalloc/include -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/background_thread.sym.o ../jemalloc/src/background_thread.c gmake[1]: Leaving directory '/wrkdirs/usr/ports/dns/doh-proxy/work/target/aarch64-unknown-freebsd/release/build/jemalloc-sys-b550ab35ff4a9ace/out/build' --- stderr In file included from ../jemalloc/src/jemalloc.c:3: In file included from ../jemalloc/include/jemalloc/internal/jemalloc_internal_includes.h:78: ../jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:14:25: warning: implicit declaration of function 'sched_getcpu' is invalid in C99 [-Wimplicit-function-declaration] return (malloc_cpuid_t)sched_getcpu(); ^ In file included from ../jemalloc/src/arena.c:3: In file included from ../jemalloc/include/jemalloc/internal/jemalloc_internal_includes.h:78: ../jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:14:25: warning: implicit declaration of function 'sched_getcpu' is invalid in C99 [-Wimplicit-function-declaration] return (malloc_cpuid_t)sched_getcpu(); ^ 1 warning generated. In file included from ../jemalloc/src/background_thread.c:3: In file included from ../jemalloc/include/jemalloc/internal/jemalloc_internal_includes.h:78: ../jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:14:25: warning: implicit declaration of function 'sched_getcpu' is invalid in C99 [-Wimplicit-function-declaration] return (malloc_cpuid_t)sched_getcpu(); ^ ../jemalloc/src/background_thread.c:86:2: error: unknown type name 'cpu_set_t'; did you mean 'cpusetid_t'? cpu_set_t cpuset; ^~~~~~~~~ cpusetid_t /usr/include/sys/types.h:86:22: note: 'cpusetid_t' declared here typedef __cpusetid_t cpusetid_t; ^ ../jemalloc/src/background_thread.c:87:2: warning: implicit declaration of function 'CPU_ZERO' is invalid in C99 [-Wimplicit-function-declaration] CPU_ZERO(&cpuset); ^ ../jemalloc/src/background_thread.c:88:2: warning: implicit declaration of function 'CPU_SET' is invalid in C99 [-Wimplicit-function-declaration] CPU_SET(cpu, &cpuset); ^ ../jemalloc/src/background_thread.c:89:12: warning: implicit declaration of function 'sched_setaffinity' is invalid in C99 [-Wimplicit-function-declaration] int ret = sched_setaffinity(0, sizeof(cpu_set_t), &cpuset); ^ ../jemalloc/src/background_thread.c:89:40: error: use of undeclared identifier 'cpu_set_t'; did you mean 'cpuset'? int ret = sched_setaffinity(0, sizeof(cpu_set_t), &cpuset); ^~~~~~~~~ cpuset ../jemalloc/src/background_thread.c:86:12: note: 'cpuset' declared here cpu_set_t cpuset; ^ 4 warnings and 2 errors generated. gmake[1]: *** [Makefile:350: src/background_thread.sym.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... 1 warning generated. thread 'main' panicked at 'command did not execute successfully: "gmake" "srcroot=../jemalloc/" "-j" "2" expected success, got: exit status: 2', /wrkdirs/usr/ports/dns/doh-proxy/work/doh-proxy-0.9.2/cargo-crates/jemalloc-sys-0.3.2/build.rs:392:9 stack backtrace: 0: rust_begin_unwind 1: std::panicking::begin_panic_fmt 2: build_script_build::run 3: build_script_build::main 4: core::ops::function::FnOnce::call_once note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. warning: build failed, waiting for other jobs to finish... error: build failed *** Error code 101 Stop. make: stopped in /usr/ports/dns/doh-proxy