[exp - 124amd64-default-build-as-user][www/foreign-cdm] Failed for foreign-cdm-20231105 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 22 Nov 2023 06:23:41 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:     arrowd@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/package19/data/124amd64-default-build-as-user/afb2536dd947/logs/foreign-cdm-20231105.log
Build URL:      https://pkg-status.freebsd.org/package19/build.html?mastername=124amd64-default-build-as-user&build=afb2536dd947
Log:

=>> Building www/foreign-cdm
build started at Wed Nov 22 06:23:18 UTC 2023
port directory: /usr/ports/www/foreign-cdm
package name: foreign-cdm-20231105
building for: FreeBSD 124amd64-default-build-as-user-job-10 12.4-RELEASE-p7 FreeBSD 12.4-RELEASE-p7 amd64
maintained by: arrowd@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  2123 Nov 19 00:02 /usr/ports/www/foreign-cdm/Makefile
Ports top last git commit: afb2536dd94
Ports top unclean checkout: no
Port dir last git commit: a6890d07435
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.0-1258-gbc38e2e6
Host OSVERSION: 1500000
Jail OSVERSION: 1204000
Job Id: 10

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p7
UNAME_r=12.4-RELEASE-p7
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
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.0-1258-gbc38e2e6
MASTERMNT=/poudriere/data/.m/124amd64-default-build-as-user/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
UID=0
PWD=/poudriere/data/.m/124amd64-default-build-as-user/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/poudriere/data/.m/124amd64-default-build-as-user/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.0-1258-gbc38e2e6
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
arrowd@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/foreign-cdm/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/foreign-cdm/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/foreign-cdm/work/.cache  HOME=/wrkdirs/usr/ports/www/foreign-cdm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/foreign-cdm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/foreign-cdm/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
LINUX_CC=/compat/linux/opt/rh/devtoolset-11/root/usr/bin/g++  MAKE_JOBS_NUMBER=3 XDG_DATA_HOME=/wrkdirs/usr/ports/www/foreign-cdm/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/foreign-cdm/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/foreign-cdm/work/.cache  HOME=/wrkdirs/usr/ports/www/foreign-cdm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/foreign-cdm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/foreign-cdm/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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_INSTA
LL_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=12.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/foreign-cdm"  EXAMPLESDIR="share/examples/foreign-cdm"  DATADIR="share/foreign-cdm"  WWWDIR="www/foreign-cdm"  ETCDIR="etc/foreign-cdm"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/foreign-cdm DOCSDIR=/usr/local/share/doc/foreign-cdm EXAMPLESDIR=/usr/local/share/examples/foreign-cdm  WWWDIR=/usr/local/www/foreign-cdm ETCDIR=/usr/local/etc/foreign-cdm
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
---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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   foreign-cdm-20231105 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[124amd64-default-build-as-user-job-10] Installing pkg-1.20.9...
[124amd64-default-build-as-user-job-10] Extracting pkg-1.20.9: .......... done
===>   foreign-cdm-20231105 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of foreign-cdm-20231105
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
=> shkhln-foreign-cdm-20231105-963d3bc2450997e67e583457d74260daaa7e29ef_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/shkhln/foreign-cdm/tar.gz/963d3bc2450997e67e583457d74260daaa7e29ef?dummy=/shkhln-foreign-cdm-20231105-963d3bc2450997e67e583457d74260daaa7e29ef_GH0.tar.gz
fetch: https://codeload.github.com/shkhln/foreign-cdm/tar.gz/963d3bc2450997e67e583457d74260daaa7e29ef?dummy=/shkhln-foreign-cdm-20231105-963d3bc2450997e67e583457d74260daaa7e29ef_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/shkhln/foreign-cdm/tar.gz/963d3bc2450997e67e583457d74260daaa7e29ef?dummy=/shkhln-foreign-cdm-20231105-963d3bc2450997e67e583457d74260daaa7e29ef_GH0.tar.gz: size of remote file is not known
shkhln-foreign-cdm-20231105-963d3bc2450997e67e583457d74260daaa7          15 kB 1903 kBps    00s
===> Fetching all distfiles required by foreign-cdm-20231105 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by foreign-cdm-20231105 for building
=> SHA256 Checksum OK for cdm-fef0b5aa1bd31efb88dfab804bdbe614f3d54f28.tar.gz.
=> SHA256 Checksum OK for shkhln-foreign-cdm-20231105-963d3bc2450997e67e583457d74260daaa7e29ef_GH0.tar.gz.
=> SHA256 Checksum OK for capnproto-capnproto-928c8390d4d562bd32dc79a42eb64e9bdba572d8_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  License MIT accepted by the user
===> Fetching all distfiles required by foreign-cdm-20231105 for building
===>  Extracting for foreign-cdm-20231105
=> SHA256 Checksum OK for cdm-fef0b5aa1bd31efb88dfab804bdbe614f3d54f28.tar.gz.
=> SHA256 Checksum OK for shkhln-foreign-cdm-20231105-963d3bc2450997e67e583457d74260daaa7e29ef_GH0.tar.gz.
=> SHA256 Checksum OK for capnproto-capnproto-928c8390d4d562bd32dc79a42eb64e9bdba572d8_GH0.tar.gz.
/bin/mv /wrkdirs/usr/ports/www/foreign-cdm/work/*.h /wrkdirs/usr/ports/www/foreign-cdm/work/foreign-cdm-963d3bc2450997e67e583457d74260daaa7e29ef/third_party/cdm/
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  Patching for foreign-cdm-20231105
/usr/bin/sed -i.bak -e 's|chmod a+srX|chmod a+rX|' /wrkdirs/usr/ports/www/foreign-cdm/work/foreign-cdm-963d3bc2450997e67e583457d74260daaa7e29ef/Makefile
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   foreign-cdm-20231105 depends on executable: cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.27.7.pkg
[124amd64-default-build-as-user-job-10] Installing cmake-core-3.27.7...
[124amd64-default-build-as-user-job-10] `-- Installing expat-2.5.0...
[124amd64-default-build-as-user-job-10] `-- Extracting expat-2.5.0: .......... done
[124amd64-default-build-as-user-job-10] `-- Installing jsoncpp-1.9.5...
[124amd64-default-build-as-user-job-10] `-- Extracting jsoncpp-1.9.5: .......... done
[124amd64-default-build-as-user-job-10] `-- Installing libuv-1.47.0...
[124amd64-default-build-as-user-job-10] `-- Extracting libuv-1.47.0: .......... done
[124amd64-default-build-as-user-job-10] `-- Installing rhash-1.4.4...
[124amd64-default-build-as-user-job-10] |   `-- Installing gettext-runtime-0.22.3...
[124amd64-default-build-as-user-job-10] |   | `-- Installing indexinfo-0.3.1...
[124amd64-default-build-as-user-job-10] |   | `-- Extracting indexinfo-0.3.1: .... done
[124amd64-default-build-as-user-job-10] |   `-- Extracting gettext-runtime-0.22.3: .......... done
[124amd64-default-build-as-user-job-10] `-- Extracting rhash-1.4.4: .......... done
[124amd64-default-build-as-user-job-10] Extracting cmake-core-3.27.7: .......... done
===>   foreign-cdm-20231105 depends on executable: cmake - found
===>   Returning to build of foreign-cdm-20231105
===>   foreign-cdm-20231105 depends on package: linux-c7-devtoolset>0 - not found
===>   Installing existing package /packages/All/linux-c7-devtoolset-11.1.pkg
[124amd64-default-build-as-user-job-10] Installing linux-c7-devtoolset-11.1...
[124amd64-default-build-as-user-job-10] `-- Installing linux-c7-devtools-7.9.2009_1...
[124amd64-default-build-as-user-job-10] |   `-- Installing linux-c7-libgfortran-4.8.5_6...
[124amd64-default-build-as-user-job-10] |   | `-- Installing linux_base-c7-7.9.2009_1...
[124amd64-default-build-as-user-job-10] |   | `-- Extracting linux_base-c7-7.9.2009_1: .......... done
[124amd64-default-build-as-user-job-10] |   `-- Extracting linux-c7-libgfortran-4.8.5_6: .... done
[124amd64-default-build-as-user-job-10] `-- Extracting linux-c7-devtools-7.9.2009_1: .......... done
[124amd64-default-build-as-user-job-10] Extracting linux-c7-devtoolset-11.1: .......... done
=====
Message from linux_base-c7-7.9.2009_1:

--
Some programs need linprocfs mounted on /compat/linux/proc.  Add the
following line to /etc/fstab:

linprocfs   /compat/linux/proc	linprocfs	rw	0	0

Then run "mount /compat/linux/proc".

Some programs need linsysfs mounted on /compat/linux/sys.  Add the
following line to /etc/fstab:

linsysfs    /compat/linux/sys	linsysfs	rw	0	0

Then run "mount /compat/linux/sys".

Some programs need tmpfs mounted on /compat/linux/dev/shm.  Add the
following line to /etc/fstab:

tmpfs    /compat/linux/dev/shm	tmpfs	rw,mode=1777	0	0

Then run "mount /compat/linux/dev/shm".
===>   foreign-cdm-20231105 depends on package: linux-c7-devtoolset>0 - found
===>   Returning to build of foreign-cdm-20231105
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  Configuring for foreign-cdm-20231105
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  Building for foreign-cdm-20231105
--- build/capnp-fbsd ---
--- build/capnp-linux ---
--- build/fcdm-jail ---
--- build/capnp-fbsd ---
mkdir -p build/capnp-fbsd
--- build/capnp-linux ---
mkdir -p build/capnp-linux
--- build/fcdm-jail ---
mkdir -p build
--- build/capnp-fbsd ---
env CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -include 'netinet/in.h' -fPIC" cmake -S third_party/capnproto -B build/capnp-fbsd -DWITH_ZLIB=OFF -DWITH_OPENSSL=OFF -DWITH_FIBERS=OFF -DBUILD_TESTING=OFF
--- build/capnp-linux ---
env CXX="/compat/linux/opt/rh/devtoolset-11/root/usr/bin/g++" CXXFLAGS="-Wall -Wextra -Wno-unused-parameter -O2 -std=c++17 --sysroot=/compat/linux -fPIC" cmake -S third_party/capnproto -B build/capnp-linux -DWITH_ZLIB=OFF -DWITH_OPENSSL=OFF -DWITH_FIBERS=ON -DBUILD_TESTING=OFF
--- build/fcdm-jail ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wextra -Wno-unused-parameter -ljail -lutil -o build/fcdm-jail src/jail.c && chmod a+rX build/fcdm-jail
--- build/capnp-linux ---
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

--- build/capnp-fbsd ---
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

--- build/fcdm-jail ---
src/jail.c:28:38: error: use of undeclared identifier 'MNT_NOCOVER'
  assert(((flags & (~0ULL ^ ~0U)) & ~MNT_NOCOVER) == 0);
                                     ^
src/jail.c:39:15: error: use of undeclared identifier 'MNT_NOCOVER'
  if (flags & MNT_NOCOVER) {
              ^
src/jail.c:81:15: error: use of undeclared identifier 'MNT_NOCOVER'
  if (flags & MNT_NOCOVER) {
              ^
src/jail.c:101:16: error: use of undeclared identifier 'MNT_NOCOVER'
  if ((flags & MNT_NOCOVER) && errno == EBUSY) {
               ^
src/jail.c:137:23: error: use of undeclared identifier 'UID_ROOT'
  assert(geteuid() == UID_ROOT);
                      ^
src/jail.c:178:50: error: use of undeclared identifier 'MNT_NOCOVER'
  if (xmount("tmpfs", "tmpfs", ".", MNT_NOEXEC | MNT_NOCOVER)) {
                                                 ^
src/jail.c:260:19: error: use of undeclared identifier 'GID_NOBODY'
    if (setresgid(GID_NOBODY, GID_NOBODY, GID_NOBODY) == -1) {
                  ^
src/jail.c:260:31: error: use of undeclared identifier 'GID_NOBODY'
    if (setresgid(GID_NOBODY, GID_NOBODY, GID_NOBODY) == -1) {
                              ^
src/jail.c:260:43: error: use of undeclared identifier 'GID_NOBODY'
    if (setresgid(GID_NOBODY, GID_NOBODY, GID_NOBODY) == -1) {
                                          ^
src/jail.c:264:19: error: use of undeclared identifier 'UID_NOBODY'
    if (setresuid(UID_NOBODY, UID_NOBODY, UID_NOBODY) == -1) {
                  ^
src/jail.c:264:31: error: use of undeclared identifier 'UID_NOBODY'
    if (setresuid(UID_NOBODY, UID_NOBODY, UID_NOBODY) == -1) {
                              ^
src/jail.c:264:43: error: use of undeclared identifier 'UID_NOBODY'
    if (setresuid(UID_NOBODY, UID_NOBODY, UID_NOBODY) == -1) {
                                          ^
12 errors generated.
--- build/capnp-linux ---
-- The CXX compiler identification is GNU 11.2.1
--- build/fcdm-jail ---
*** [build/fcdm-jail] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/www/foreign-cdm/work/foreign-cdm-963d3bc2450997e67e583457d74260daaa7e29ef
--- build/capnp-fbsd ---
-- The CXX compiler identification is Clang 13.0.0
--- build/capnp-linux ---
-- Detecting CXX compiler ABI info
--- build/capnp-fbsd ---
-- Detecting CXX compiler ABI info
--- build/capnp-linux ---
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /compat/linux/opt/rh/devtoolset-11/root/usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include initializer_list
--- build/capnp-fbsd ---
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include initializer_list
--- build/capnp-linux ---
-- Looking for C++ include initializer_list - found
-- Looking for makecontext in c
--- build/capnp-fbsd ---
-- Looking for C++ include initializer_list - found
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /wrkdirs/usr/ports/www/foreign-cdm/work/foreign-cdm-963d3bc2450997e67e583457d74260daaa7e29ef/build/capnp-fbsd
make -C build/capnp-fbsd -j3
*** [build/capnp-fbsd] Error code 2

make[1]: stopped in /wrkdirs/usr/ports/www/foreign-cdm/work/foreign-cdm-963d3bc2450997e67e583457d74260daaa7e29ef
--- build/capnp-linux ---
-- Looking for makecontext in c - found
-- Configuring done (0.7s)
-- Generating done (0.1s)
-- Build files have been written to: /wrkdirs/usr/ports/www/foreign-cdm/work/foreign-cdm-963d3bc2450997e67e583457d74260daaa7e29ef/build/capnp-linux
make -C build/capnp-linux -j3
*** [build/capnp-linux] Error code 2

make[1]: stopped in /wrkdirs/usr/ports/www/foreign-cdm/work/foreign-cdm-963d3bc2450997e67e583457d74260daaa7e29ef
3 errors

make[1]: stopped in /wrkdirs/usr/ports/www/foreign-cdm/work/foreign-cdm-963d3bc2450997e67e583457d74260daaa7e29ef
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/foreign-cdm