Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2023 12:00:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275800] www/chromium: poudriere build failed on 12-STABLE amd64 (error: unknown type name 'u_int')
Message-ID:  <bug-275800-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275800

            Bug ID: 275800
           Summary: www/chromium: poudriere build failed on 12-STABLE
                    amd64 (error: unknown type name 'u_int')
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium@FreeBSD.org
          Reporter: sergey.koupreyenko@gmail.com
             Flags: maintainer-feedback?(chromium@FreeBSD.org)
          Assignee: chromium@FreeBSD.org

Seems thi bug is similar to:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275573

Below is poudriere's buildlog fragment:

=3D>> 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:=20
Poudriere version: 3.3.7_4
Host OSVERSION: 1204500
Jail OSVERSION: 1204500
Job Id: 01

---Begin Environment---
SHELL=3D/bin/csh
OSVERSION=3D1204500
UNAME_v=3DFreeBSD 12.4-STABLE 1204500
UNAME_r=3D12.4-STABLE
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.7_4
MASTERMNT=3D/poudriere/data/.m/12-stable-amd64-default-amd64/ref
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dscreen
GID=3D0
UID=3D0
PWD=3D/poudriere/data/.m/12-stable-amd64-default-amd64/ref/.p/pool
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3D12-stable-amd64-default-amd64
SCRIPTPREFIX=3D/usr/local/share/poudriere
OLDPWD=3D/poudriere/data/.m/12-stable-amd64-default-amd64/ref/.p
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for
chromium-120.0.6099.109:
     CODECS=3Don: Compile and enable patented codecs like H.264
     CUPS=3Don: CUPS printing system support
     DEBUG=3Doff: Build with debugging support
     DRIVER=3Don: Install chromedriver
     KERBEROS=3Don: Kerberos support
     LTO=3Doff: Use Link-Time Optimization
     PIPEWIRE=3Don: Screen capture via PipeWire
     TEST=3Doff: Build and/or run tests
     WIDEVINE=3Doff: Depend on foreign-cdm to enable playback of DRM content
=3D=3D=3D=3D> Options available for the group AUDIO
     ALSA=3Doff: ALSA audio architecture support
     PULSEAUDIO=3Don: PulseAudio sound server support
     SNDIO=3Doff: Sndio audio support
=3D=3D=3D=3D> Kerberos support: you can only select none or one of them
     HEIMDAL=3Doff: Heimdal Kerberos (security/heimdal)
     HEIMDAL_BASE=3Doff: Heimdal Kerberos (base)
     MIT=3Doff: MIT Kerberos (security/krb5)
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---

...

FAILED: obj/base/base/sysctl.o=20
c++ -MMD -MF obj/base/base/sysctl.o.d -DBASE_IMPLEMENTATION -DIS_RAW_PTR_IM=
PL
-DSYSTEM_NATIVE_UTF8 -DUSE_SYMBOLIZE -DUSE_AURA=3D1 -DUSE_GLIB=3D1 -DUSE_OZ=
ONE=3D1
-DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D_FORTIFY_SOURCE=3D2 -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DGLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION=
_2_56
-DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_56
-DBASE_USE_PERFETTO_CLIENT_LIBRARY=3D1 -DUSE_SYSTEM_LIBEVENT=3D1 -DGLOG_EXP=
ORT=3D
-DUSING_SYSTEM_ICU=3D1 -DICU_UTIL_DATA_IMPL=3DICU_UTIL_DATA_STATIC -DU_FINA=
L=3Dfinal
-DU_NOEXCEPT=3Dnoexcept -DU_OVERRIDE=3Doverride -DU_IMPORT=3DU_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-initialize=
rs
-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=3Dpattern -fno-omit-frame-po=
inter
-g0
-fprofile-use=3D../../chrome/build/pgo_profiles/chrome-linux-6099-170179892=
2-d4c2e2b63ef7ac7755f4bcd1deb8e214078c9410.profdata
-Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date
-Wno-backend-plugin -fvisibility=3Dhidden -Wheader-hygiene -Wstring-convers=
ion
-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-err=
no
-DPROTOBUF_ALLOW_DEPRECATED=3D1 -I/usr/local/include -I/usr/local/include
-std=3Dc++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 k=
nown
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
=3D>> Cleaning up wrkdir
=3D=3D=3D>  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 !!!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275800-7788>