[package - 114amd64-default][sysutils/sample] Failed for sample-0.02f_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 17 Jul 2021 14:04:04 GMT
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:     wg_at_FreeBSD.org
Log URL:        http://beefy9.nyi.freebsd.org/data/114amd64-default/9bab55b193f4/logs/sample-0.02f_1.log
Build URL:      http://beefy9.nyi.freebsd.org/build.html?mastername=114amd64-default&build=9bab55b193f4
Log:

=>> Building sysutils/sample
build started at Sat Jul 17 14:03:53 UTC 2021
port directory: /usr/ports/sysutils/sample
package name: sample-0.02f_1
building for: FreeBSD 114amd64-default-job-07 11.4-RELEASE-p12 FreeBSD 11.4-RELEASE-p12 amd64
maintained by: wg_at_FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1104001
Job Id: 07

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1104001
UNAME_v=FreeBSD 11.4-RELEASE-p12
UNAME_r=11.4-RELEASE-p12
BLOCKSIZE=K
MAIL=/var/mail/root
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/114amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/114amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=114amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/114amd64-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--
wg_at_FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.8" XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/sample/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/sample/work  HOME=/wrkdirs/usr/ports/sysutils/sample/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/sample/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--
SYSDIR=/usr/src/sys KMODDIR="/boot/modules" SYSDIR="/usr/src/sys" NO_XREF=yes XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/sample/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/sample/work  HOME=/wrkdirs/usr/ports/sysutils/sample/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/sample/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  -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -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--
PYTHON_INCLUDEDIR=include/python3.8  PYTHON_LIBDIR=lib/python3.8  PYTHON_PLATFORM=freebsd11  PYTHON_SITELIBDIR=lib/python3.8/site-packages  PYTHON_SUFFIX=38  PYTHON_EXT_SUFFIX=.cpython-38  PYTHON_VER=3.8  PYTHON_VERSION=python3.8 PYTHON2="_at_comment " PYTHON3="" KMODDIR="boot/modules" OSREL=11.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sample"  EXAMPLESDIR="share/examples/sample"  DATADIR="share/sample"  WWWDIR="www/sample"  ETCDIR="etc/sample"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/sample DOCSDIR=/usr/local/share/doc/sample EXAMPLESDIR=/usr/local/share/examples/sample  WWWDIR=/usr/local/www/sample ETCDIR=/usr/local/etc/sample
--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 10.0.0 (git_at_github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: x86_64-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.0 (git_at_github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: x86_64-unknown-freebsd11.4 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" "-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 10.0.0 (git_at_github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: x86_64-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=11.4-RELEASE-p12
OSREL=11.4
OSVERSION=1104001
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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   >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

abandoned upstream, incompatible with newer kernels.

It is scheduled to be removed on or after 2021-12-31.

===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   sample-0.02f_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[114amd64-default-job-07] Installing pkg-1.16.3...
[114amd64-default-job-07] Extracting pkg-1.16.3: .......... done
===>   sample-0.02f_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of sample-0.02f_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

abandoned upstream, incompatible with newer kernels.

It is scheduled to be removed on or after 2021-12-31.

===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by sample-0.02f_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

abandoned upstream, incompatible with newer kernels.

It is scheduled to be removed on or after 2021-12-31.

===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by sample-0.02f_1 for building
=> SHA256 Checksum OK for freenas-sample-0.02f-45e2b86_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

abandoned upstream, incompatible with newer kernels.

It is scheduled to be removed on or after 2021-12-31.

===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by sample-0.02f_1 for building
===>  Extracting for sample-0.02f_1
=> SHA256 Checksum OK for freenas-sample-0.02f-45e2b86_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for sample-0.02f_1
===========================================================================
=======================<phase: build-depends  >============================
===>   sample-0.02f_1 depends on file: /usr/local/lib/libbfd.a - not found
===>   Installing existing package /packages/All/libbfd-2.33.1.txz
[114amd64-default-job-07] Installing libbfd-2.33.1...
[114amd64-default-job-07] `-- Installing indexinfo-0.3.1...
[114amd64-default-job-07] `-- Extracting indexinfo-0.3.1: .... done
[114amd64-default-job-07] Extracting libbfd-2.33.1: .......... done
===>   sample-0.02f_1 depends on file: /usr/local/lib/libbfd.a - found
===>   Returning to build of sample-0.02f_1
===>   sample-0.02f_1 depends on file: /usr/local/lib/libiberty.a - not found
===>   Installing existing package /packages/All/gnulibiberty-2.33.1.txz
[114amd64-default-job-07] Installing gnulibiberty-2.33.1...
[114amd64-default-job-07] Extracting gnulibiberty-2.33.1: .......... done
===>   sample-0.02f_1 depends on file: /usr/local/lib/libiberty.a - found
===>   Returning to build of sample-0.02f_1
===>   sample-0.02f_1 depends on file: /usr/local/lib/libxo.a - not found
===>   Installing existing package /packages/All/libxo-0.6.1_1.txz
[114amd64-default-job-07] Installing libxo-0.6.1_1...
[114amd64-default-job-07] `-- Installing perl5-5.32.1_1...
[114amd64-default-job-07] `-- Extracting perl5-5.32.1_1: .......... done
[114amd64-default-job-07] Extracting libxo-0.6.1_1: .......... done
===>   sample-0.02f_1 depends on file: /usr/local/lib/libxo.a - found
===>   Returning to build of sample-0.02f_1
===>   sample-0.02f_1 depends on executable: cython-3.8 - not found
===>   Installing existing package /packages/All/py38-cython-0.29.24.txz
[114amd64-default-job-07] Installing py38-cython-0.29.24...
[114amd64-default-job-07] `-- Installing py38-setuptools-57.0.0...
[114amd64-default-job-07] |   `-- Installing python38-3.8.10...
[114amd64-default-job-07] |   | `-- Installing gettext-runtime-0.21...
[114amd64-default-job-07] |   | `-- Extracting gettext-runtime-0.21: .......... done
[114amd64-default-job-07] |   | `-- Installing libffi-3.3_1...
[114amd64-default-job-07] |   | `-- Extracting libffi-3.3_1: .......... done
[114amd64-default-job-07] |   | `-- Installing mpdecimal-2.5.1...
[114amd64-default-job-07] |   | `-- Extracting mpdecimal-2.5.1: .......... done
[114amd64-default-job-07] |   | `-- Installing readline-8.1.1...
[114amd64-default-job-07] |   | `-- Extracting readline-8.1.1: .......... done
[114amd64-default-job-07] |   `-- Extracting python38-3.8.10: .......... done
[114amd64-default-job-07] `-- Extracting py38-setuptools-57.0.0: .......... done
[114amd64-default-job-07] Extracting py38-cython-0.29.24: .......... done
=====
Message from python38-3.8.10:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py38-gdbm       databases/py-gdbm_at_py38
py38-sqlite3    databases/py-sqlite3_at_py38
py38-tkinter    x11-toolkits/py-tkinter_at_py38
===>   sample-0.02f_1 depends on executable: cython-3.8 - found
===>   Returning to build of sample-0.02f_1
===>   sample-0.02f_1 depends on file: /usr/local/bin/python3.8 - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for sample-0.02f_1
===========================================================================
=======================<phase: build          >============================
===>  Building for sample-0.02f_1
===> driver (all)
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
Warning: Object directory not changed from original /wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/driver
cc -O2 -pipe -fno-strict-aliasing  -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -MD  -MF.depend.sample_driver.o -MTsample_driver.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member  -mno-aes -mno-avx  -std=iso9899:1999 -c sample_driver.c -o sample_driver.o
cc -O2 -pipe -fno-strict-aliasing  -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -MD  -MF.depend.sample_support_amd64.o -MTsample_support_amd64.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member  -mno-aes -mno-avx  -std=iso9899:1999 -c sample_support_amd64.c -o sample_support_amd64.o
ld -m elf_x86_64_fbsd -d -warn-common -r -d -o sample_driver.ko sample_driver.o sample_support_amd64.o
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk sample_driver.ko  export_syms | xargs -J% objcopy % sample_driver.ko
objcopy --strip-debug sample_driver.ko
===> test (all)
echo t: /usr/lib/libc.a  >> .depend
Warning: Object directory not changed from original /wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/test
cc -O2 -pipe  -fno-strict-aliasing  -I/wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/test/../driver   -MD  -MF.depend.test.o -MTtest.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c test.c -o test.o
cc -O2 -pipe -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/test/../driver -std=gnu99 -fstack-protector-strong -Qunused-arguments   -o t test.o  
===> sample (all)
echo sample: /usr/lib/libc.a  >> .depend
Warning: Object directory not changed from original /wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/sample
clang -O2 -pipe  -fno-strict-aliasing  -I/wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/sample/../driver -fblocks -g -O0 -I/usr/local/include -DBFD=1   -MD  -MF.depend.Hash.o -MTHash.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c Hash.c -o Hash.o
clang -O2 -pipe  -fno-strict-aliasing  -I/wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/sample/../driver -fblocks -g -O0 -I/usr/local/include -DBFD=1   -MD  -MF.depend.Proc.o -MTProc.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c Proc.c -o Proc.o
clang -O2 -pipe  -fno-strict-aliasing  -I/wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/sample/../driver -fblocks -g -O0 -I/usr/local/include -DBFD=1   -MD  -MF.depend.Thread.o -MTThread.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c Thread.c -o Thread.o
clang -O2 -pipe  -fno-strict-aliasing  -I/wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/sample/../driver -fblocks -g -O0 -I/usr/local/include -DBFD=1   -MD  -MF.depend.main.o -MTmain.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c main.c -o main.o
clang -O2 -pipe  -fno-strict-aliasing  -I/wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/sample/../driver -fblocks -g -O0 -I/usr/local/include -DBFD=1   -MD  -MF.depend.Tree.o -MTTree.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c Tree.c -o Tree.o
clang -O2 -pipe  -fno-strict-aliasing  -I/wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/sample/../driver -fblocks -g -O0 -I/usr/local/include -DBFD=1   -MD  -MF.depend.Stack.o -MTStack.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c Stack.c -o Stack.o
clang -O2 -pipe  -fno-strict-aliasing  -I/wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/sample/../driver -fblocks -g -O0 -I/usr/local/include -DBFD=1   -MD  -MF.depend.Symbol.o -MTSymbol.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c Symbol.c -o Symbol.o
Symbol.c:25:3: warning: implicit declaration of function 'DumpSymbolGroup' is invalid in C99 [-Wimplicit-function-declaration]
                DumpSymbolGroup(p->files[indx].group);
                ^
1 warning generated.
clang -O2 -pipe  -fno-strict-aliasing  -I/wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/sample/../driver -fblocks -g -O0 -I/usr/local/include -DBFD=1   -MD  -MF.depend.SymbolGroup.o -MTSymbolGroup.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c SymbolGroup.c -o SymbolGroup.o
In file included from SymbolGroup.c:10:
/usr/local/include/bfd.h:35:2: error: config.h must be included before this header
#error config.h must be included before this header
 ^
1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86/sample
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/sysutils/sample/work/sample-45e2b86
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/sample
Received on Sat Jul 17 2021 - 14:04:04 UTC

Original text of this message