[package - main-i386-default][textproc/sonic] Failed for sonic-1.3.0_14 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 16 Nov 2021 15:30:57 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:     mikael@FreeBSD.org
Log URL:        http://beefy17.nyi.freebsd.org/data/main-i386-default/p5718aa5f2a8f_s9b8eb1c5b6/logs/sonic-1.3.0_14.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=main-i386-default&build=p5718aa5f2a8f_s9b8eb1c5b6
Log:

=>> Building textproc/sonic
build started at Tue Nov 16 15:27:58 UTC 2021
port directory: /usr/ports/textproc/sonic
package name: sonic-1.3.0_14
building for: FreeBSD main-i386-default-job-06 14.0-CURRENT FreeBSD 14.0-CURRENT 1400042 i386
maintained by: mikael@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400042
Job Id: 06




!!! Jail is newer than host. (Jail: 1400042, Host: 1400008) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400042
UNAME_v=FreeBSD 14.0-CURRENT 1400042
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-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-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---
===> The following configuration options are available for sonic-1.3.0_14:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
mikael@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/sonic/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/sonic/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/sonic/work/.cache  HOME=/wrkdirs/usr/ports/textproc/sonic/work TMPDIR="/wrkdirs/usr/ports/textproc/sonic/work" PATH=/wrkdirs/usr/ports/textproc/sonic/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/textproc/sonic/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/sonic/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/sonic/work/.cache  HOME=/wrkdirs/usr/ports/textproc/sonic/work TMPDIR="/wrkdirs/usr/ports/textproc/sonic/work" PATH=/wrkdirs/usr/ports/textproc/sonic/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--
PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sonic"  EXAMPLESDIR="share/examples/sonic"  DATADIR="share/sonic"  WWWDIR="www/sonic"  ETCDIR="etc/sonic"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/sonic DOCSDIR=/usr/local/share/doc/sonic EXAMPLESDIR=/usr/local/share/examples/sonic  WWWDIR=/usr/local/www/sonic ETCDIR=/usr/local/etc/sonic
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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: i386-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: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-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: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400042
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)  524288
stack size              (kbytes, -s)  65536
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 MPL20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   sonic-1.3.0_14 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[main-i386-default-job-06] Installing pkg-1.17.5...
[main-i386-default-job-06] Extracting pkg-1.17.5: .......... done
===>   sonic-1.3.0_14 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of sonic-1.3.0_14
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MPL20 accepted by the user
=> rust/crates/toml-0.5.6.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://crates.io/api/v1/crates/toml/0.5.6/download?dummy=/rust/crates/toml-0.5.6.tar.gz
rust/crates/toml-0.5.6.tar.gz                           53 kB   23 MBps    00s
===> Fetching all distfiles required by sonic-1.3.0_14 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MPL20 accepted by the user
===> Fetching all distfiles required by sonic-1.3.0_14 for building
=> SHA256 Checksum OK for rust/crates/ahash-0.3.8.tar.gz.
=> SHA256 Checksum OK for rust/crates/aho-corasick-0.7.13.tar.gz.
=> SHA256 Checksum OK for rust/crates/ansi_term-0.11.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/atty-0.2.14.tar.gz.
=> SHA256 Checksum OK for rust/crates/autocfg-1.0.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/bindgen-0.53.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/bitflags-1.2.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/byteorder-1.3.4.tar.gz.
=> SHA256 Checksum OK for rust/crates/cc-1.0.55.tar.gz.
=> SHA256 Checksum OK for rust/crates/cexpr-0.4.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/cfg-if-0.1.10.tar.gz.
=> SHA256 Checksum OK for rust/crates/clang-sys-0.29.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/clap-2.33.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/env_logger-0.7.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/fs_extra-1.1.0.tar.gz.
<snip>
  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=i686-unknown-freebsd --build=i686-unknown-freebsd --prefix=/wrkdirs/usr/ports/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/out build_alias=i686-unknown-freebsd host_alias=i686-unknown-freebsd CC=cc 'CFLAGS=-O3 -ffunction-sections -fdata-sections -fPIC -m32 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing' 'LDFLAGS=-O3 -ffunction-sections -fdata-sections -fPIC -m32 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing' LIBS= 'CPPFLAGS=-O3 -ffunction-sections -fdata-sections -fPIC -m32 -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 -m32 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing
  EXTRA_CFLAGS       : 
  CPPFLAGS           : -O3 -ffunction-sections -fdata-sections -fPIC -m32 -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 -m32 -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/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/out
  BINDIR             : /wrkdirs/usr/ports/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/out/bin
  DATADIR            : /wrkdirs/usr/ports/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/out/share
  INCLUDEDIR         : /wrkdirs/usr/ports/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/out/include
  LIBDIR             : /wrkdirs/usr/ports/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/out/lib
  MANDIR             : /wrkdirs/usr/ports/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/out/share/man

  srcroot            : /wrkdirs/usr/ports/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/out/jemalloc/
  abs_srcroot        : /wrkdirs/usr/ports/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/out/jemalloc/
  objroot            : 
  abs_objroot        : /wrkdirs/usr/ports/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/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/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/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 -m32 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPIC -c -O3 -ffunction-sections -fdata-sections -fPIC -m32 -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 -m32 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPIC -c -O3 -ffunction-sections -fdata-sections -fPIC -m32 -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 -m32 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPIC -c -O3 -ffunction-sections -fdata-sections -fPIC -m32 -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/textproc/sonic/work/target/i686-unknown-freebsd/release/build/jemalloc-sys-12ff7d85e35af17c/out/build'

  --- stderr
  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();
                                 ^
  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();
                                 ^
  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/textproc/sonic/work/sonic-1.3.0/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...
[libloading 0.5.2] TARGET = Some("i686-unknown-freebsd")
[libloading 0.5.2] OPT_LEVEL = Some("0")
[libloading 0.5.2] HOST = Some("i686-unknown-freebsd")
[libloading 0.5.2] CC_i686-unknown-freebsd = None
[libloading 0.5.2] CC_i686_unknown_freebsd = None
[libloading 0.5.2] HOST_CC = None
[libloading 0.5.2] CC = Some("cc")
[libloading 0.5.2] CFLAGS_i686-unknown-freebsd = None
[libloading 0.5.2] CFLAGS_i686_unknown_freebsd = None
[libloading 0.5.2] HOST_CFLAGS = None
[libloading 0.5.2] CFLAGS = Some("-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing ")
[libloading 0.5.2] CRATE_CC_NO_DEFAULTS = None
[libloading 0.5.2] DEBUG = Some("false")
[libloading 0.5.2] CARGO_CFG_TARGET_FEATURE = None
[libloading 0.5.2] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-O2" "-pipe" "-fstack-protector-strong" "-fno-strict-aliasing" "-o" "/wrkdirs/usr/ports/textproc/sonic/work/target/release/build/libloading-4d349301eb46e4b5/out/src/os/unix/global_static.o" "-c" "src/os/unix/global_static.c"
[libloading 0.5.2] exit status: 0
[libloading 0.5.2] AR_i686-unknown-freebsd = None
[libloading 0.5.2] AR_i686_unknown_freebsd = None
[libloading 0.5.2] HOST_AR = None
[libloading 0.5.2] AR = None
[libloading 0.5.2] running: "ar" "crs" "/wrkdirs/usr/ports/textproc/sonic/work/target/release/build/libloading-4d349301eb46e4b5/out/libglobal_static.a" "/wrkdirs/usr/ports/textproc/sonic/work/target/release/build/libloading-4d349301eb46e4b5/out/src/os/unix/global_static.o"
[libloading 0.5.2] exit status: 0
[libloading 0.5.2] cargo:rustc-link-lib=static=global_static
[libloading 0.5.2] cargo:rustc-link-search=native=/wrkdirs/usr/ports/textproc/sonic/work/target/release/build/libloading-4d349301eb46e4b5/out
error: build failed
*** Error code 101

Stop.
make: stopped in /usr/ports/textproc/sonic