[package - main-i386-default][sysutils/nix] Failed for nix-2.20.2_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 02 Oct 2024 16:22:20 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:     ashish@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p1f84c1fae602_seb345e05ac6/logs/nix-2.20.2_1.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p1f84c1fae602_seb345e05ac6
Log:

=>> Building sysutils/nix
build started at Wed Oct  2 16:10:10 UTC 2024
port directory: /usr/ports/sysutils/nix
package name: nix-2.20.2_1
building for: FreeBSD main-i386-default-job-07 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 i386
maintained by: ashish@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 6437 May 21 01:01 /usr/ports/sysutils/nix/Makefile
Ports top last git commit: 1f84c1fae60
Ports top unclean checkout: no
Port dir last git commit: b66e4949cb2
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 07

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500023
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500023
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-i386-default/07/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
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---
===> The following configuration options are available for nix-2.20.2_1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ashish@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-seccomp-sandboxing  --enable-gc  --disable-unit-tests --enable-doc-gen
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
OPENSSL_CFLAGS="-I /usr/include"  OPENSSL_LIBS="-L /usr/lib" MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/nix/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/nix/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/nix/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/nix/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/nix/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/nix/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/usr/local/bin/bash CONFIG_SHELL=/usr/local/bin/bash DEFAULT_AUTOCONF=2.72 CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/nix/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/nix/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/nix/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/nix/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/nix/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/nix/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 DEFAULT_AUTOCONF=2.72 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/inc
lude -fno-strict-aliasing  -isystem /usr/local/include " 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=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nix"  EXAMPLESDIR="share/examples/nix"  DATADIR="share/nix"  WWWDIR="www/nix"  ETCDIR="etc/nix"
--End PLIST_SUB--

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

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
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}
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
ulimit: can't get limit: Invalid argument
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)  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=root UID=0 GID=0
===>  License LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   nix-2.20.2_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-i386-default-job-07] Installing pkg-1.21.3...
[main-i386-default-job-07] Extracting pkg-1.21.3: .......... done
===>   nix-2.20.2_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of nix-2.20.2_1
===========================================================================
=======================<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 LGPL21 accepted by the user
===> Fetching all distfiles required by nix-2.20.2_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by nix-2.20.2_1 for building
=> SHA256 Checksum OK for NixOS-nix-2.20.2_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=root UID=0 GID=0
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by nix-2.20.2_1 for building
===>  Extracting for nix-2.20.2_1
=> SHA256 Checksum OK for NixOS-nix-2.20.2_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for nix-2.20.2_1
/usr/bin/sed -i.bak -e 's,=/dummy,=/wrkdirs/usr/ports/sysutils/nix/work/dummy,g'  /wrkdirs/usr/ports/sysutils/nix/work/nix-2.20.2/doc/manual/local.mk
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   nix-2.20.2_1 depends on file: /usr/local/share/aclocal/ax_cxx_compile_stdcxx.m4 - not found
===>   Installing existing package /packages/All/autoconf-archive-2023.02.20.pkg
[main-i386-default-job-07] Installing autoconf-archive-2023.02.20...
[main-i386-default-job-07] `-- Installing indexinfo-0.3.1...
[main-i386-default-job-07] `-- Extracting indexinfo-0.3.1: .... done
[main-i386-default-job-07] Extracting autoconf-archive-2023.02.20: .......... done
===>   nix-2.20.2_1 depends on file: /usr/local/share/aclocal/ax_cxx_compile_stdcxx.m4 - found
===>   Returning to build of nix-2.20.2_1
===>   nix-2.20.2_1 depends on executable: gsed - not found
===>   Installing existing package /packages/All/gsed-4.9.pkg
<snip>
checking pkg-config is at least version 0.9.0... yes
checking for libcrypto >= 1.1.1... yes
checking for libarchive >= 3.1.2... yes
checking for sqlite3 >= 3.6.19... yes
checking for libcurl... yes
checking for libeditline... yes
checking for libsodium... yes
checking for libbrotlienc libbrotlidec... yes
checking for sys/xattr.h... no
checking for aws/s3/S3Client.h... yes
checking for bdw-gc... yes
checking for nlohmann_json >= 3.9... yes
checking for lowdown >= 0.9.0... yes
checking for libgit2... yes
checking for setresuid... yes
checking for setreuid... yes
checking for lchown... yes
checking for strsignal... yes
checking for posix_fallocate... yes
checking for sysconf... yes
configure: creating ./config.status
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for nix-2.20.2_1
  GEN    Makefile.config
  GEN    src/libexpr/parser-tab.cc
  GEN    src/libexpr/parser-tab.hh
  GEN    src/libexpr/lexer-tab.cc
src/libexpr/lexer.l:307: warning, -s option given but default rule can be matched
  GEN    src/libexpr/lexer-tab.hh
src/libexpr/lexer.l:307: warning, -s option given but default rule can be matched
  GEN    src/nix-channel/unpack-channel.nix.gen.hh
  GEN    src/nix-env/buildenv.nix.gen.hh
  GEN    src/nix/get-env.sh.gen.hh
  GEN    doc/manual/generate-manpage.nix.gen.hh
  GEN    doc/manual/utils.nix.gen.hh
  GEN    doc/manual/generate-settings.nix.gen.hh
  GEN    doc/manual/generate-store-info.nix.gen.hh
  GEN    src/libexpr/primops/derivation.nix.gen.hh
  GEN    src/libexpr/fetchurl.nix.gen.hh
  GEN    src/libexpr/flake/call-flake.nix.gen.hh
  GEN    src/libexpr/imported-drv-to-derivation.nix.gen.hh
  CXX    src/libutil/archive.o
  CXX    src/libutil/args.o
  CXX    src/libutil/canon-path.o
  CXX    src/libutil/cgroup.o
  CXX    src/libutil/compression.o
  CXX    src/libutil/compute-levels.o
  CXX    src/libutil/config.o
  CXX    src/libutil/current-process.o
  CXX    src/libutil/english.o
  CXX    src/libutil/environment-variables.o
  CXX    src/libutil/error.o
  CXX    src/libutil/experimental-features.o
  CXX    src/libutil/file-content-address.o
  CXX    src/libutil/file-descriptor.o
  CXX    src/libutil/file-system.o
  CXX    src/libutil/fs-sink.o
  CXX    src/libutil/git.o
  CXX    src/libutil/hash.o
  CXX    src/libutil/hilite.o
  CXX    src/libutil/json-utils.o
  CXX    src/libutil/logging.o
  CXX    src/libutil/memory-source-accessor.o
  CXX    src/libutil/namespaces.o
  CXX    src/libutil/position.o
  CXX    src/libutil/posix-source-accessor.o
  CXX    src/libutil/processes.o
  CXX    src/libutil/references.o
  CXX    src/libutil/serialise.o
  CXX    src/libutil/signals.o
  CXX    src/libutil/signature/local-keys.o
  CXX    src/libutil/signature/signer.o
  CXX    src/libutil/source-accessor.o
  CXX    src/libutil/source-path.o
  CXX    src/libutil/suggestions.o
  CXX    src/libutil/tarfile.o
  CXX    src/libutil/terminal.o
  CXX    src/libutil/thread-pool.o
  CXX    src/libutil/unix-domain-socket.o
  CXX    src/libutil/url.o
  CXX    src/libutil/users.o
  CXX    src/libutil/util.o
  CXX    src/libutil/xml-writer.o
  CXX    src/libstore/binary-cache-store.o
  CXX    src/libstore/build-result.o
  CXX    src/libstore/build/child.o
  CXX    src/libstore/build/derivation-goal.o
  CXX    src/libstore/build/drv-output-substitution-goal.o
  CXX    src/libstore/build/entry-points.o
  CXX    src/libstore/build/goal.o
  CXX    src/libstore/build/hook-instance.o
  CXX    src/libstore/build/local-derivation-goal.o
  CXX    src/libstore/build/personality.o
  CXX    src/libstore/build/substitution-goal.o
  CXX    src/libstore/build/worker.o
  CXX    src/libstore/builtins/buildenv.o
  CXX    src/libstore/builtins/fetchurl.o
  CXX    src/libstore/builtins/unpack-channel.o
  CXX    src/libstore/common-protocol.o
  CXX    src/libstore/content-address.o
  CXX    src/libstore/daemon.o
  CXX    src/libstore/derivations.o
  CXX    src/libstore/derived-path-map.o
  CXX    src/libstore/derived-path.o
  CXX    src/libstore/downstream-placeholder.o
  CXX    src/libstore/dummy-store.o
  CXX    src/libstore/export-import.o
  CXX    src/libstore/filetransfer.o
  CXX    src/libstore/gc.o
  CXX    src/libstore/globals.o
  CXX    src/libstore/http-binary-cache-store.o
  CXX    src/libstore/keys.o
  CXX    src/libstore/legacy-ssh-store.o
  CXX    src/libstore/local-binary-cache-store.o
  CXX    src/libstore/local-fs-store.o
  GEN    src/libstore/schema.sql.gen.hh
  GEN    src/libstore/ca-specific-schema.sql.gen.hh
  CXX    src/libstore/lock.o
  CXX    src/libstore/log-store.o
  CXX    src/libstore/machines.o
  CXX    src/libstore/make-content-addressed.o
  CXX    src/libstore/misc.o
  CXX    src/libstore/names.o
  CXX    src/libstore/nar-accessor.o
  CXX    src/libstore/nar-info-disk-cache.o
  CXX    src/libstore/nar-info.o
  CXX    src/libstore/optimise-store.o
  CXX    src/libstore/outputs-spec.o
  CXX    src/libstore/parsed-derivations.o
  CXX    src/libstore/path-info.o
  CXX    src/libstore/path-references.o
  CXX    src/libstore/path-with-outputs.o
  CXX    src/libstore/path.o
  CXX    src/libstore/pathlocks.o
  CXX    src/libstore/posix-fs-canonicalise.o
  CXX    src/libstore/profiles.o
  CXX    src/libstore/realisation.o
  CXX    src/libstore/remote-fs-accessor.o
  CXX    src/libstore/remote-store.o
  CXX    src/libstore/s3-binary-cache-store.o
  CXX    src/libstore/serve-protocol-impl.o
  CXX    src/libstore/serve-protocol.o
  CXX    src/libstore/sqlite.o
  CXX    src/libstore/ssh-store.o
  CXX    src/libstore/ssh.o
  CXX    src/libstore/store-api.o
  CXX    src/libstore/uds-remote-store.o
  CXX    src/libstore/worker-protocol.o
  CXX    src/libfetchers/attrs.o
  CXX    src/libfetchers/cache.o
  CXX    src/libfetchers/fetch-settings.o
  CXX    src/libfetchers/fetch-to-store.o
  CXX    src/libfetchers/fetchers.o
  CXX    src/libfetchers/filtering-input-accessor.o
  CXX    src/libfetchers/fs-input-accessor.o
  CXX    src/libfetchers/git-utils.o
  CXX    src/libfetchers/git.o
  CXX    src/libfetchers/github.o
  CXX    src/libfetchers/indirect.o
  CXX    src/libfetchers/memory-input-accessor.o
  CXX    src/libfetchers/mercurial.o
  CXX    src/libfetchers/mounted-input-accessor.o
  CXX    src/libfetchers/path.o
  CXX    src/libfetchers/registry.o
  CXX    src/libfetchers/tarball.o
  CXX    src/libmain/common-args.o
  CXX    src/libmain/loggers.o
  CXX    src/libmain/progress-bar.o
  CXX    src/libmain/shared.o
  CXX    src/libmain/stack.o
  CXX    src/libcmd/built-path.o
  CXX    src/libcmd/command-installable-value.o
  CXX    src/libcmd/command.o
  CXX    src/libcmd/common-eval-args.o
  CXX    src/libcmd/editor-for.o
  CXX    src/libcmd/installable-attr-path.o
  CXX    src/libcmd/installable-derived-path.o
  CXX    src/libcmd/installable-flake.o
  CXX    src/libcmd/installable-value.o
  CXX    src/libcmd/installables.o
  CXX    src/libcmd/legacy.o
  CXX    src/libcmd/markdown.o
  CXX    src/libcmd/repl.o
  CXX    tests/functional/test-libstoreconsumer/main.o
  GEN    scripts/nix-profile.sh
  GEN    doc/manual/nix-env.1
ld-elf.so.1: Shared object "libmd.so.6" not found, required by "lowdown"
gmake: *** [doc/manual/local.mk:76: doc/manual/nix-env.1] Error 1
gmake: *** Waiting for unfinished jobs....
rm src/nix/generated-doc/files/profiles.md
===> 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 making "build" in /usr/ports/sysutils/nix