[package - main-amd64-default][sysutils/nix] Failed for nix-2.32.1 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Dec 2025 03:25:34 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/beefy24/data/main-amd64-default/pe32b2ab0cd58_s639e65144a/logs/nix-2.32.1.log
Build URL: https://pkg-status.freebsd.org/beefy24/build.html?mastername=main-amd64-default&build=pe32b2ab0cd58_s639e65144a
Log:
=>> Building sysutils/nix
build started at Tue Dec 2 03:24:44 -00 2025
port directory: /usr/ports/sysutils/nix
package name: nix-2.32.1
building for: FreeBSD main-amd64-default-job-41 16.0-CURRENT FreeBSD 16.0-CURRENT 1600004 amd64
maintained by: ashish@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 2703 Oct 21 20:16 /usr/ports/sysutils/nix/Makefile
Ports top last git commit: e32b2ab0cd5827a2114e31177b36327d19a79d65
Ports top unclean checkout: no
Port dir last git commit: f588d96b8c87461d09e8ec98117be00c018d5922
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.4-7-gd0e6e138
Host OSVERSION: 1600000
Jail OSVERSION: 1600004
Job Id: 41
!!! Jail is newer than host. (Jail: 1600004, Host: 1600000) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600004
UNAME_v=FreeBSD 16.0-CURRENT 1600004
UNAME_r=16.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.4-7-gd0e6e138
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-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-amd64-default/41/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.4-7-gd0e6e138
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.32.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--
--prefix /usr/local --localstatedir /var --infodir share/info --auto-features=enabled -Dpython.bytecompile=-1 -Db_colorout=never --buildtype release --optimization plain --strip -Dbenchmarks=false -Dbindings=false -Dunit-tests=false -Ddoc-gen=true _build
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.11" 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=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--
--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " 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 DESTDIR=/wrkdirs/usr/ports/sysutils/nix/work/stage 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=" -L/usr/local/lib " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -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="" PYTHON_INCLUDEDIR=include/python3.11 PYTHON_LIBDIR=lib/python3.11 PYTHON_PLATFORM=freebsd16 PYTHON_SITELIBDIR=lib/python3.11/site-packages PYTHON_SUFFIX=311 PYTHON_BASESUFFIX=311 PYTHON_TAG=.cpython-311 PYTHON_SOABI=.cpython-311 PYTHON_VER=3.11 PYTHON_BASEVER=3.11 PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=16.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--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11 PYTHON_LIBDIR=/usr/local/lib/python3.11 PYTHON_PLATFORM=freebsd16 PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages PYTHON_SUFFIX=311 PYTHON_BASESUFFIX=311 PYTHON_TAG=.cpython-311 PYTHON_SOABI=.cpython-311 PYTHON_VER=3.11 PYTHON_BASEVER=3.11 PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" 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
#### ####
# 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--
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
pipebuf (-y) 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.32.1 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-2.4.2_1.pkg
[main-amd64-default-job-41] Installing pkg-2.4.2_1...
[main-amd64-default-job-41] Extracting pkg-2.4.2_1: .......... done
===> nix-2.32.1 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of nix-2.32.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.32.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.32.1 for building
=> SHA256 Checksum OK for NixOS-nix-2.32.1_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.32.1 for building
===> Extracting for nix-2.32.1
=> SHA256 Checksum OK for NixOS-nix-2.32.1_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.32.1
===> Applying FreeBSD patches for nix-2.32.1 from /usr/ports/sysutils/nix/files
/usr/bin/sed -i.bak -e "/seccomp-sandboxing/s/,$/, value : 'disabled',/" /wrkdirs/usr/ports/sysutils/nix/work/nix-2.32.1/src/libstore/meson.options
/usr/bin/sed -i.bak -e "/^bdw_gc/s/'bdw-gc'/'bdw-gc-threaded'/" /wrkdirs/usr/ports/sysutils/nix/work/nix-2.32.1/src/libexpr/meson.build
/usr/bin/find /wrkdirs/usr/ports/sysutils/nix/work/nix-2.32.1 -type f -name meson.build | /usr/bin/xargs /usr/bin/grep -E -R -l 'Werror=(suggest-override|undef)|/dummy' | /usr/bin/xargs /usr/bin/sed -i.bak -E -e '/Werror=(suggest-override|undef)/d' -e 's,/dummy,/tmp/dummy,g'
/usr/bin/sed -i.bak -E -e '/(internal|external)-api-docs/d' /wrkdirs/usr/ports/sysutils/nix/work/nix-2.32.1/meson.build
/usr/bin/find /wrkdirs/usr/ports/sysutils/nix/work/nix-2.32.1 -type f -name 'book.toml.in' | /usr/bin/xargs /usr/bin/sed -i.bak -e "s,'python3','/usr/local/bin/python3.11'," -e 's,"python3 ,"/usr/local/bin/python3.11 ,' /wrkdirs/usr/ports/sysutils/nix/work/nix-2.32.1/src/nix-manual/meson.build
===========================================================================
=======================<phase: build-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
<snip>
libflake-c| Dependency nix-expr-c found: YES 2.32.1 (overridden)
libflake-c| Dependency threads found: YES unknown (cached)
libflake-c| Checking if "linker can wrap __assert_fail" links: NO (cached)
libflake-c| Build targets in project: 175
libflake-c| Subproject libflake-c finished.
Executing subproject libmain-c
libmain-c| Project name: nix-main-c
libmain-c| Project version: 2.32.1
libmain-c| C++ compiler for the host machine: c++ (clang 19.1.7 "FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)")
libmain-c| C++ linker for the host machine: c++ ld.lld 19.1.7
libmain-c| Dependency nix-util found: YES 2.32.1 (overridden)
libmain-c| Dependency nix-store found: YES 2.32.1 (overridden)
libmain-c| Dependency nix-main found: YES 2.32.1 (overridden)
libmain-c| Dependency nix-util-c found: YES 2.32.1 (overridden)
libmain-c| Dependency nix-store-c found: YES 2.32.1 (overridden)
libmain-c| Dependency threads found: YES unknown (cached)
libmain-c| Checking if "linker can wrap __assert_fail" links: NO (cached)
libmain-c| Build targets in project: 176
libmain-c| Subproject libmain-c finished.
Executing subproject nix-functional-tests
nix-functional-tests| Project name: nix-functional-tests
nix-functional-tests| Project version: 2.32.1
nix-functional-tests| Program nix found: YES (overridden)
nix-functional-tests| Program bash found: YES (/usr/local/bin/bash)
nix-functional-tests| Program busybox found: NO
nix-functional-tests| Program ls found: YES (/bin/ls)
nix-functional-tests| Program dot found: NO
nix-functional-tests| Configuring subst-vars.sh using configuration
nix-functional-tests| src/nix-functional-tests/common/meson.build:1: WARNING: The variable(s) 'variable' in the input file 'src/nix-functional-tests/common/subst-vars.sh.in' are not present in the given configuration data.
nix-functional-tests| Configuring config.nix using configuration
nix-functional-tests| Dependency nix-store found: YES 2.32.1 (overridden)
nix-functional-tests| src/nix-functional-tests/meson.build:185: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build.
nix-functional-tests| C++ compiler for the host machine: c++ (clang 19.1.7 "FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)")
nix-functional-tests| C++ linker for the host machine: c++ ld.lld 19.1.7
nix-functional-tests| Dependency nix-store found: YES 2.32.1 (overridden)
nix-functional-tests| Dependency nix-expr found: YES 2.32.1 (overridden)
nix-functional-tests| src/nix-functional-tests/meson.build:203: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build.
nix-functional-tests| Dependency nix-expr found: YES 2.32.1 (overridden)
nix-functional-tests| Configuring config.nix using configuration
nix-functional-tests| Configuring config.nix using configuration
nix-functional-tests| Build targets in project: 178
nix-functional-tests| Subproject nix-functional-tests finished.
Build targets in project: 178
nix-store 2.32.1
can hardlink to symlink: NO
nix-dev-shell 2.32.1
Subprojects
libcmd : YES
libexpr : YES
libexpr-c : YES
libfetchers : YES
libfetchers-c : YES
libflake : YES
libflake-c : YES
libmain : YES
libmain-c : YES
libstore : YES
libstore-c : YES
libutil : YES
libutil-c : YES
nix : YES
nix-functional-tests: YES 3 warnings
nix-manual : YES 3 warnings
User defined options
auto_features : enabled
b_colorout : never
benchmarks : false
bindings : false
buildtype : release
doc-gen : true
infodir : share/info
localstatedir : /var
optimization : plain
prefix : /usr/local
python.bytecompile : -1
strip : true
unit-tests : false
Found ninja-1.13.1 at /usr/local/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
===========================================================================
=======================<phase: build >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Building for nix-2.32.1
[ 0% 3/491] /usr/local/bin/bash -c '{ echo '"'"'R"__NIX_STR('"'"' && cat ../src/libstore/ca-specific-schema.sql && echo '"'"')__NIX_STR"'"'"'; } > "$1"' _ignored_argv0 src/libstore/libnixstore.so.2.32.1.p/ca-specific-schema.sql.gen.hh
[ 0% 4/491] /usr/local/bin/bash -c '{ echo '"'"'R"__NIX_STR('"'"' && cat ../src/libstore/schema.sql && echo '"'"')__NIX_STR"'"'"'; } > "$1"' _ignored_argv0 src/libstore/libnixstore.so.2.32.1.p/schema.sql.gen.hh
[ 0% 5/491] /usr/local/bin/bison -v -o src/libexpr/parser-tab.cc ../src/libexpr/parser.y -d
[ 0% 6/491] c++ -Isrc/libutil/libnixutil.so.2.32.1.p -Isrc/libutil -I../src/libutil -Isrc/libutil/include -I../src/libutil/include -I../src/libutil/widecharwidth -Isrc/libutil/freebsd/include -I../src/libutil/freebsd/include -Isrc/libutil/unix -I../src/libutil/unix -Isrc/libutil/unix/include -I../src/libutil/unix/include -I/usr/local/include -I/usr/local/include/libcpuid -fdiagnostics-color=never -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -Wdeprecated-copy -Werror=switch -Werror=switch-enum -Werror=unused-result -Werror=sign-compare -Wignored-qualifiers -Wimplicit-fallthrough -Wno-deprecated-declarations -fpch-instantiate-templates -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -isystem /usr/local/include -fPIC -isystem/usr/local/include -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_COROUTINES_DYN_LINK=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DBOOST_ALL_NO_LIB -pthre
ad -DBLAKE3_DLL -MD -MQ src/libutil/libnixutil.so.2.32.1.p/precompiled-headers.hh.pch -MF src/libutil/libnixutil.so.2.32.1.p/precompiled-headers.hh.pch.d -o src/libutil/libnixutil.so.2.32.1.p/precompiled-headers.hh.pch -c ../src/libutil/pch/precompiled-headers.hh
FAILED: [code=1] src/libutil/libnixutil.so.2.32.1.p/precompiled-headers.hh.pch
c++ -Isrc/libutil/libnixutil.so.2.32.1.p -Isrc/libutil -I../src/libutil -Isrc/libutil/include -I../src/libutil/include -I../src/libutil/widecharwidth -Isrc/libutil/freebsd/include -I../src/libutil/freebsd/include -Isrc/libutil/unix -I../src/libutil/unix -Isrc/libutil/unix/include -I../src/libutil/unix/include -I/usr/local/include -I/usr/local/include/libcpuid -fdiagnostics-color=never -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -Wdeprecated-copy -Werror=switch -Werror=switch-enum -Werror=unused-result -Werror=sign-compare -Wignored-qualifiers -Wimplicit-fallthrough -Wno-deprecated-declarations -fpch-instantiate-templates -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -isystem /usr/local/include -fPIC -isystem/usr/local/include -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_COROUTINES_DYN_LINK=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DBOOST_ALL_NO_LIB -pthread -DBLAKE3_D
LL -MD -MQ src/libutil/libnixutil.so.2.32.1.p/precompiled-headers.hh.pch -MF src/libutil/libnixutil.so.2.32.1.p/precompiled-headers.hh.pch.d -o src/libutil/libnixutil.so.2.32.1.p/precompiled-headers.hh.pch -c ../src/libutil/pch/precompiled-headers.hh
In file included from ../src/libutil/pch/precompiled-headers.hh:1:
In file included from ../src/libutil/include/nix/util/util.hh:5:
../src/libutil/include/nix/util/error.hh:313:57: error: too many arguments provided to function-like macro invocation
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
/usr/include/sys/cdefs.h:258:9: note: macro '__unreachable' defined here
258 | #define __unreachable() __builtin_unreachable()
| ^
In file included from ../src/libutil/pch/precompiled-headers.hh:1:
In file included from ../src/libutil/include/nix/util/util.hh:5:
../src/libutil/include/nix/util/error.hh:313:3: warning: 'noinline' attribute only applies to functions and statements [-Wignored-attributes]
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
../src/libutil/include/nix/util/error.hh:313:18: warning: 'cold' attribute only applies to functions [-Wignored-attributes]
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
../src/libutil/include/nix/util/error.hh:313:29: error: 'noreturn' attribute only applies to functions
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
../src/libutil/include/nix/util/error.hh:313:45: error: variable has incomplete type 'void'
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
/usr/include/stddef.h:65:24: note: expanded from macro 'unreachable'
65 | #define unreachable(x) __unreachable(x)
| ^
2 warnings and 3 errors generated.
[ 1% 6/491] c++ -Isrc/libstore/libnixstore.so.2.32.1.p -Isrc/libstore -I../src/libstore -Isrc/libstore/include -I../src/libstore/include -Isrc/libstore/unix/include -I../src/libstore/unix/include -Isrc/libutil/include -I../src/libutil/include -I../src/libutil/widecharwidth -Isrc/libutil/freebsd/include -I../src/libutil/freebsd/include -Isrc/libutil/unix -I../src/libutil/unix -Isrc/libutil/unix/include -I../src/libutil/unix/include -I/usr/local/include -fdiagnostics-color=never -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -Wdeprecated-copy -Werror=switch -Werror=switch-enum -Werror=unused-result -Werror=sign-compare -Wignored-qualifiers -Wimplicit-fallthrough -Wno-deprecated-declarations -fpch-instantiate-templates -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -isystem /usr/local/include -fPIC -isystem/usr/local/include -DBOOST_CONTAINER_DYN_LINK=1
-DBOOST_ALL_NO_LIB -std=c++23 -pthread -isystem../src/libstore/include -isystemsrc/libstore/include -MD -MQ src/libstore/libnixstore.so.2.32.1.p/precompiled-headers.hh.pch -MF src/libstore/libnixstore.so.2.32.1.p/precompiled-headers.hh.pch.d -o src/libstore/libnixstore.so.2.32.1.p/precompiled-headers.hh.pch -c ../src/libstore/pch/precompiled-headers.hh
FAILED: [code=1] src/libstore/libnixstore.so.2.32.1.p/precompiled-headers.hh.pch
c++ -Isrc/libstore/libnixstore.so.2.32.1.p -Isrc/libstore -I../src/libstore -Isrc/libstore/include -I../src/libstore/include -Isrc/libstore/unix/include -I../src/libstore/unix/include -Isrc/libutil/include -I../src/libutil/include -I../src/libutil/widecharwidth -Isrc/libutil/freebsd/include -I../src/libutil/freebsd/include -Isrc/libutil/unix -I../src/libutil/unix -Isrc/libutil/unix/include -I../src/libutil/unix/include -I/usr/local/include -fdiagnostics-color=never -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -Wdeprecated-copy -Werror=switch -Werror=switch-enum -Werror=unused-result -Werror=sign-compare -Wignored-qualifiers -Wimplicit-fallthrough -Wno-deprecated-declarations -fpch-instantiate-templates -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -isystem /usr/local/include -fPIC -isystem/usr/local/include -DBOOST_CONTAINER_DYN_LINK=1 -DBOOST_ALL_N
O_LIB -std=c++23 -pthread -isystem../src/libstore/include -isystemsrc/libstore/include -MD -MQ src/libstore/libnixstore.so.2.32.1.p/precompiled-headers.hh.pch -MF src/libstore/libnixstore.so.2.32.1.p/precompiled-headers.hh.pch.d -o src/libstore/libnixstore.so.2.32.1.p/precompiled-headers.hh.pch -c ../src/libstore/pch/precompiled-headers.hh
In file included from ../src/libstore/pch/precompiled-headers.hh:1:
In file included from ../src/libstore/include/nix/store/store-api.hh:5:
In file included from ../src/libstore/include/nix/store/derived-path.hh:6:
In file included from ../src/libutil/include/nix/util/configuration.hh:11:
In file included from ../src/libutil/include/nix/util/experimental-features.hh:4:
../src/libutil/include/nix/util/error.hh:313:57: error: too many arguments provided to function-like macro invocation
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
/usr/include/sys/cdefs.h:258:9: note: macro '__unreachable' defined here
258 | #define __unreachable() __builtin_unreachable()
| ^
In file included from ../src/libstore/pch/precompiled-headers.hh:1:
In file included from ../src/libstore/include/nix/store/store-api.hh:5:
In file included from ../src/libstore/include/nix/store/derived-path.hh:6:
In file included from ../src/libutil/include/nix/util/configuration.hh:11:
In file included from ../src/libutil/include/nix/util/experimental-features.hh:4:
../src/libutil/include/nix/util/error.hh:313:29: error: 'noreturn' attribute only applies to functions
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
../src/libutil/include/nix/util/error.hh:313:45: error: variable has incomplete type 'void'
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
/usr/include/stddef.h:65:24: note: expanded from macro 'unreachable'
65 | #define unreachable(x) __unreachable(x)
| ^
3 errors generated.
[ 1% 6/491] c++ -Isrc/libfetchers/libnixfetchers.so.2.32.1.p -Isrc/libfetchers -I../src/libfetchers -Isrc/libfetchers/include -I../src/libfetchers/include -Isrc/libutil/include -I../src/libutil/include -I../src/libutil/widecharwidth -Isrc/libutil/freebsd/include -I../src/libutil/freebsd/include -Isrc/libutil/unix -I../src/libutil/unix -Isrc/libutil/unix/include -I../src/libutil/unix/include -Isrc/libstore/include -I../src/libstore/include -Isrc/libstore/unix/include -I../src/libstore/unix/include -I/usr/local/include -fdiagnostics-color=never -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -Wdeprecated-copy -Werror=switch -Werror=switch-enum -Werror=unused-result -Werror=sign-compare -Wignored-qualifiers -Wimplicit-fallthrough -Wno-deprecated-declarations -fpch-instantiate-templates -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -isystem /usr/local/inc
lude -fPIC -std=c++23 -std=c++23 -pthread -MD -MQ src/libfetchers/libnixfetchers.so.2.32.1.p/precompiled-headers.hh.pch -MF src/libfetchers/libnixfetchers.so.2.32.1.p/precompiled-headers.hh.pch.d -o src/libfetchers/libnixfetchers.so.2.32.1.p/precompiled-headers.hh.pch -c ../src/libfetchers/pch/precompiled-headers.hh
FAILED: [code=1] src/libfetchers/libnixfetchers.so.2.32.1.p/precompiled-headers.hh.pch
c++ -Isrc/libfetchers/libnixfetchers.so.2.32.1.p -Isrc/libfetchers -I../src/libfetchers -Isrc/libfetchers/include -I../src/libfetchers/include -Isrc/libutil/include -I../src/libutil/include -I../src/libutil/widecharwidth -Isrc/libutil/freebsd/include -I../src/libutil/freebsd/include -Isrc/libutil/unix -I../src/libutil/unix -Isrc/libutil/unix/include -I../src/libutil/unix/include -Isrc/libstore/include -I../src/libstore/include -Isrc/libstore/unix/include -I../src/libstore/unix/include -I/usr/local/include -fdiagnostics-color=never -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -Wdeprecated-copy -Werror=switch -Werror=switch-enum -Werror=unused-result -Werror=sign-compare -Wignored-qualifiers -Wimplicit-fallthrough -Wno-deprecated-declarations -fpch-instantiate-templates -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -isystem /usr/local/include -fPIC -s
td=c++23 -std=c++23 -pthread -MD -MQ src/libfetchers/libnixfetchers.so.2.32.1.p/precompiled-headers.hh.pch -MF src/libfetchers/libnixfetchers.so.2.32.1.p/precompiled-headers.hh.pch.d -o src/libfetchers/libnixfetchers.so.2.32.1.p/precompiled-headers.hh.pch -c ../src/libfetchers/pch/precompiled-headers.hh
In file included from ../src/libfetchers/pch/precompiled-headers.hh:1:
In file included from ../src/libfetchers/include/nix/fetchers/fetchers.hh:5:
In file included from ../src/libutil/include/nix/util/hash.hh:4:
In file included from ../src/libutil/include/nix/util/configuration.hh:11:
In file included from ../src/libutil/include/nix/util/experimental-features.hh:4:
../src/libutil/include/nix/util/error.hh:313:57: error: too many arguments provided to function-like macro invocation
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
/usr/include/sys/cdefs.h:258:9: note: macro '__unreachable' defined here
258 | #define __unreachable() __builtin_unreachable()
| ^
In file included from ../src/libfetchers/pch/precompiled-headers.hh:1:
In file included from ../src/libfetchers/include/nix/fetchers/fetchers.hh:5:
In file included from ../src/libutil/include/nix/util/hash.hh:4:
In file included from ../src/libutil/include/nix/util/configuration.hh:11:
In file included from ../src/libutil/include/nix/util/experimental-features.hh:4:
../src/libutil/include/nix/util/error.hh:313:3: warning: 'noinline' attribute only applies to functions and statements [-Wignored-attributes]
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
../src/libutil/include/nix/util/error.hh:313:18: warning: 'cold' attribute only applies to functions [-Wignored-attributes]
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
../src/libutil/include/nix/util/error.hh:313:29: error: 'noreturn' attribute only applies to functions
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
../src/libutil/include/nix/util/error.hh:313:45: error: variable has incomplete type 'void'
313 | [[gnu::noinline, gnu::cold, noreturn]] void unreachable(std::source_location loc = std::source_location::current());
| ^
/usr/include/stddef.h:65:24: note: expanded from macro 'unreachable'
65 | #define unreachable(x) __unreachable(x)
| ^
2 warnings and 3 errors generated.
ninja: build stopped: subcommand failed.
===> 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