Seems thi bug is similar to: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275573 Below is poudriere's buildlog fragment: =>> Building www/chromium build started at Sun Dec 17 00:42:16 MSK 2023 port directory: /usr/ports/www/chromium package name: chromium-120.0.6099.109 building for: FreeBSD freebsd.fractel.priv 12.4-STABLE FreeBSD 12.4-STABLE 1204500 amd64 maintained by: chromium@FreeBSD.org Makefile ident: Poudriere version: 3.3.7_4 Host OSVERSION: 1204500 Jail OSVERSION: 1204500 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1204500 UNAME_v=FreeBSD 12.4-STABLE 1204500 UNAME_r=12.4-STABLE 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.3.7_4 MASTERMNT=/poudriere/data/.m/12-stable-amd64-default-amd64/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen GID=0 UID=0 PWD=/poudriere/data/.m/12-stable-amd64-default-amd64/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=12-stable-amd64-default-amd64 SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/poudriere/data/.m/12-stable-amd64-default-amd64/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 chromium-120.0.6099.109: CODECS=on: Compile and enable patented codecs like H.264 CUPS=on: CUPS printing system support DEBUG=off: Build with debugging support DRIVER=on: Install chromedriver KERBEROS=on: Kerberos support LTO=off: Use Link-Time Optimization PIPEWIRE=on: Screen capture via PipeWire TEST=off: Build and/or run tests WIDEVINE=off: Depend on foreign-cdm to enable playback of DRM content ====> Options available for the group AUDIO ALSA=off: ALSA audio architecture support PULSEAUDIO=on: PulseAudio sound server support SNDIO=off: Sndio audio support ====> Kerberos support: you can only select none or one of them HEIMDAL=off: Heimdal Kerberos (security/heimdal) HEIMDAL_BASE=off: Heimdal Kerberos (base) MIT=off: MIT Kerberos (security/krb5) ===> Use 'make config' to modify these settings ---End OPTIONS List--- ... FAILED: obj/base/base/sysctl.o c++ -MMD -MF obj/base/base/sysctl.o.d -DBASE_IMPLEMENTATION -DIS_RAW_PTR_IMPL -DSYSTEM_NATIVE_UTF8 -DUSE_SYMBOLIZE -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DBASE_USE_PERFETTO_CLIENT_LIBRARY=1 -DUSE_SYSTEM_LIBEVENT=1 -DGLOG_EXPORT= -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_FINAL=final -DU_NOEXCEPT=noexcept -DU_OVERRIDE=override -DU_IMPORT=U_EXPORT -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/libevent_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../../base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -g0 -fprofile-use=../../chrome/build/pgo_profiles/chrome-linux-6099-1701798922-d4c2e2b63ef7ac7755f4bcd1deb8e214078c9410.profdata -Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date -Wno-backend-plugin -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshorten-64-to-32 -Wimplicit-int-conversion -Wsign-compare -Wsign-conversion -Wtautological-unsigned-zero-compare -Wexit-time-destructors -Wglobal-constructors -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-math-errno -DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/local/include -I/usr/local/include -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -c ../../base/posix/sysctl.cc -o obj/base/base/sysctl.o In file included from ../../base/posix/sysctl.cc:7: /usr/include/sys/sysctl.h:1117:25: error: unknown type name 'u_int' int sysctl(const int *, u_int, void *, size_t *, const void *, size_t); ^ ../../base/posix/sysctl.cc:45:10: error: no matching function for call to 'StringSysctlImpl' return StringSysctlImpl([mib](char* out, size_t* out_len) { ^~~~~~~~~~~~~~~~ ../../base/posix/sysctl.cc:20:29: note: candidate function not viable: no known conversion from '(lambda at ../../base/posix/sysctl.cc:45:27)' to 'base::FunctionRef<int (char *, size_t *)>' (aka 'FunctionRef<int (char *, unsigned long *)>') for 1st argument absl::optional<std::string> StringSysctlImpl( ^ 2 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/www/chromium =>> Cleaning up wrkdir ===> Cleaning for chromium-120.0.6099.109 build of www/chromium | chromium-120.0.6099.109 ended at Sun Dec 17 05:06:05 MSK 2023 build time: 472994:06:06 !!! build failure encountered !!!
Seems it is similar to bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275573 Below if poudriere's buildlog fragment: =>> Building www/chromium build started at Sun Dec 17 00:42:16 MSK 2023 port directory: /usr/ports/www/chromium package name: chromium-120.0.6099.109 building for: FreeBSD freebsd.fractel.priv 12.4-STABLE FreeBSD 12.4-STABLE 1204500 amd64 maintained by: chromium@FreeBSD.org Makefile ident: Poudriere version: 3.3.7_4 Host OSVERSION: 1204500 Jail OSVERSION: 1204500 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1204500 UNAME_v=FreeBSD 12.4-STABLE 1204500 UNAME_r=12.4-STABLE 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.3.7_4 MASTERMNT=/poudriere/data/.m/12-stable-amd64-default-amd64/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen GID=0 UID=0 PWD=/poudriere/data/.m/12-stable-amd64-default-amd64/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=12-stable-amd64-default-amd64 SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/poudriere/data/.m/12-stable-amd64-default-amd64/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 chromium-120.0.6099.109: CODECS=on: Compile and enable patented codecs like H.264 CUPS=on: CUPS printing system support DEBUG=off: Build with debugging support DRIVER=on: Install chromedriver KERBEROS=on: Kerberos support LTO=off: Use Link-Time Optimization PIPEWIRE=on: Screen capture via PipeWire TEST=off: Build and/or run tests WIDEVINE=off: Depend on foreign-cdm to enable playback of DRM content ====> Options available for the group AUDIO ALSA=off: ALSA audio architecture support PULSEAUDIO=on: PulseAudio sound server support SNDIO=off: Sndio audio support ====> Kerberos support: you can only select none or one of them HEIMDAL=off: Heimdal Kerberos (security/heimdal) HEIMDAL_BASE=off: Heimdal Kerberos (base) MIT=off: MIT Kerberos (security/krb5) ===> Use 'make config' to modify these settings ---End OPTIONS List--- ... FAILED: obj/base/base/sysctl.o c++ -MMD -MF obj/base/base/sysctl.o.d -DBASE_IMPLEMENTATION -DIS_RAW_PTR_IMPL -DSYSTEM_NATIVE_UTF8 -DUSE_SYMBOLIZE -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DBASE_USE_PERFETTO_CLIENT_LIBRARY=1 -DUSE_SYSTEM_LIBEVENT=1 -DGLOG_EXPORT= -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_FINAL=final -DU_NOEXCEPT=noexcept -DU_OVERRIDE=override -DU_IMPORT=U_EXPORT -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/libevent_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../../base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -g0 -fprofile-use=../../chrome/build/pgo_profiles/chrome-linux-6099-1701798922-d4c2e2b63ef7ac7755f4bcd1deb8e214078c9410.profdata -Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date -Wno-backend-plugin -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshorten-64-to-32 -Wimplicit-int-conversion -Wsign-compare -Wsign-conversion -Wtautological-unsigned-zero-compare -Wexit-time-destructors -Wglobal-constructors -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-math-errno -DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/local/include -I/usr/local/include -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -c ../../base/posix/sysctl.cc -o obj/base/base/sysctl.o In file included from ../../base/posix/sysctl.cc:7: /usr/include/sys/sysctl.h:1117:25: error: unknown type name 'u_int' int sysctl(const int *, u_int, void *, size_t *, const void *, size_t); ^ ../../base/posix/sysctl.cc:45:10: error: no matching function for call to 'StringSysctlImpl' return StringSysctlImpl([mib](char* out, size_t* out_len) { ^~~~~~~~~~~~~~~~ ../../base/posix/sysctl.cc:20:29: note: candidate function not viable: no known conversion from '(lambda at ../../base/posix/sysctl.cc:45:27)' to 'base::FunctionRef<int (char *, size_t *)>' (aka 'FunctionRef<int (char *, unsigned long *)>') for 1st argument absl::optional<std::string> StringSysctlImpl( ^ 2 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/www/chromium =>> Cleaning up wrkdir ===> Cleaning for chromium-120.0.6099.109 build of www/chromium | chromium-120.0.6099.109 ended at Sun Dec 17 05:06:05 MSK 2023 build time: 472994:06:06 !!! build failure encountered !!!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=86aa406ddd90fed3da58bdc80c035663a0125ddb commit 86aa406ddd90fed3da58bdc80c035663a0125ddb Author: Robert Nagy <rnagy@FreeBSD.org> AuthorDate: 2023-12-17 20:01:27 +0000 Commit: Robert Nagy <rnagy@FreeBSD.org> CommitDate: 2023-12-17 20:01:27 +0000 www/chromium: sysctl(2) requires sys/types.h to be included PR: 275800 www/chromium/files/patch-base_posix_sysctl.cc (new) | 10 ++++++++++ 1 file changed, 10 insertions(+)
A commit in branch 2023Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=02cfb1ddaa83bdcdd4dc97ff961bee97df9ec569 commit 02cfb1ddaa83bdcdd4dc97ff961bee97df9ec569 Author: Robert Nagy <rnagy@FreeBSD.org> AuthorDate: 2023-12-17 20:01:27 +0000 Commit: Robert Nagy <rnagy@FreeBSD.org> CommitDate: 2023-12-17 20:02:25 +0000 www/chromium: sysctl(2) requires sys/types.h to be included PR: 275800 (cherry picked from commit 86aa406ddd90fed3da58bdc80c035663a0125ddb) www/chromium/files/patch-base_posix_sysctl.cc (new) | 10 ++++++++++ 1 file changed, 10 insertions(+)