pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/61016: www/chromium build failure
>Number: 61016
>Category: pkg
>Synopsis: www/chromium build failure
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 16 04:20:00 +0000 2026
>Originator: Paul Goyette
>Release: NetBSD 11.99.9
>Organization:
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost |
| Software Developer | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost |
| & Network Engineer | | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+
>Environment:
System: NetBSD speedy.whooppee.com 11.99.9 NetBSD 11.99.9 (SPEEDY 2026-10-24 04:23:39 UTC) #0: Sat Oct 24 06:16:36 UTC 2026 paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
building chromium results in
===> Installing dependencies for chromium-157.0.8103.78
==========================================================================
The supported build options for chromium are:
alsa debug pulseaudio sunaudio wayland
The currently selected options are:
sunaudio wayland
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.chromium (not defined)
==========================================================================
==========================================================================
The following variables will affect the build process of this package,
chromium-157.0.8103.78. Their current value is shown below:
* JPEG_DEFAULT = libjpeg-turbo
* NODE_VERSION_DEFAULT = 24
* PYTHON_VERSION_DEFAULT = 314
* SSLBASE = /usr
* SSLCERTBUNDLE (not defined)
* SSLCERTS = /etc/openssl/certs
* SSLDIR = /etc/openssl
* SSLKEYS = /etc/openssl/private
* TERMINFO_DEFAULT = terminfo
* UDEV_REQUIRED = yes
* UDEV_TYPE = bsd
Based on these variables, the following variables have been set:
* JPEGBASE (defined, but empty)
* JPEG_TYPE = libjpeg-turbo
* NODE_PACKAGE (not defined)
* PYPACKAGE = python314
* TERMINFO_TYPE = terminfo
You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing. Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency cmake-[0-9]*: found cmake-4.4.5nb1
=> Tool dependency gperf>=3.2: found gperf-3.3
=> Tool dependency esbuild>=0.28.2: found esbuild-0.28.2nb7
=> Tool dependency ninja-build-[0-9]*: found ninja-build-1.13.2
=> Tool dependency py314-html5lib-[0-9]*: found py314-html5lib-1.1nb4
=> Tool dependency py314-beautifulsoup4-[0-9]*: found py314-beautifulsoup4-4.15.0
=> Tool dependency py314-ply-[0-9]*: found py314-ply-3.11nb2
=> Tool dependency rust-bindgen-[0-9]*: found rust-bindgen-0.73.2nb1
=> Tool dependency nasm-[0-9]*: found nasm-3.02
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.90.1
=> Tool dependency go127-1.27.4*: found go127-1.27.4
=> Tool dependency python314>=3.14: found python314-3.14.10nb1
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency bash-[0-9]*: found bash-5.3.20
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency m4>=1.4: found m4-1.4.21
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency perl>=5.0: found perl-5.44.0nb2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-3.0.10
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency clang>=22.1.8nb3: found clang-22.1.8nb3
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Build dependency nodejs>=24.22.2nb1<25: found nodejs-24.22.3
=> Build dependency rust>=1.85.0: found rust-1.99.1
=> Build dependency vulkan-headers>=1.3.224nb1: found vulkan-headers-1.4.363.0
=> Build dependency x11-links>=1.37: found x11-links-1.37
=> Full dependency xdg-utils-[0-9]*: found xdg-utils-1.2.1
=> Full dependency cairo>=1.18.6nb2: found cairo-1.18.6nb2
=> Full dependency compiler-rt>=22.1.8nb1: found compiler-rt-22.1.8nb1
=> Full dependency dav1d>=1.3.0: found dav1d-1.5.4
=> Full dependency dbus>=0.91: found dbus-1.16.4
=> Full dependency dbus-glib>=0.114nb4: found dbus-glib-0.114nb4
=> Full dependency dconf>=0.40.0nb10: found dconf-0.40.0nb10
=> Full dependency fontconfig>=2.17.0: found fontconfig-2.18.3nb3
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.15.0
=> Full dependency gtk3+>=3.24.52nb6: found gtk3+-3.24.52nb6
=> Full dependency harfbuzz>=14.5.0nb2: found harfbuzz-15.1.0
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.18
=> Full dependency input-headers>=1.30.2: found input-headers-1.31.3nb1
=> Full dependency jsoncpp>=1.8.4nb1: found jsoncpp-1.9.8
=> Full dependency libaom>=3.3.0nb1: found libaom-3.15.3
=> Full dependency libcups>=2.4.20nb1: found libcups-2.4.20nb1
=> Full dependency libepoll-shim>=0.0.20210418: found libepoll-shim-0.0.20240608
=> Full dependency libexif>=0.6.20nb1: found libexif-0.6.26
=> Full dependency libffi>=3.4.2nb3: found libffi-3.8.0
=> Full dependency libgcrypt>=1.6.0: found libgcrypt-1.12.4
=> Full dependency libgnome-keyring>=3.12.0nb6: found libgnome-keyring-3.12.0nb6
=> Full dependency libjpeg-turbo>=1.1.0: found libjpeg-turbo-3.2.1
=> Full dependency libopus>=1.4: found libopus-1.6.1nb1
=> Full dependency libsecret>=0.20.5nb6: found libsecret-0.20.5nb6
=> Full dependency libudev-bsd>=0.6.0.4: found libudev-bsd-0.7.0.1
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.30nb1
=> Full dependency libvpx>=1.14.0: found libvpx-1.17.0
=> Full dependency libwebp>=0.6.0: found libwebp-1.6.0nb3
=> Full dependency libxml2>=2.15.4nb1: found libxml2-2.15.4nb1
=> Full dependency libxslt>=1.1.45nb1: found libxslt-1.1.45nb1
=> Full dependency nspr>=4.34nb1: found nspr-4.39
=> Full dependency nss>=3.80nb1: found nss-3.132nb1
=> Full dependency openh264>=2.6.0: found openh264-2.7.0
=> Full dependency pciutils>=3.0.2: found pciutils-3.15.0
=> Full dependency png>=1.6.0nb1: found png-1.6.59
=> Full dependency qt6-qtbase>=6.11.3nb1: found qt6-qtbase-6.11.3nb1
=> Full dependency speech-dispatcher>=0.12.1nb6: found speech-dispatcher-0.12.1nb6
=> Full dependency speex>=1.2rc1: found speex-1.2.1
=> Full dependency usbids>=20081118: found usbids-20260626
=> Full dependency wayland>=1.21.0: found wayland-1.25.0nb1
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for chromium-157.0.8103.78
===> Extracting for chromium-157.0.8103.78
=> Extracting local cargo crates
/bin/cp /build/pkgsrc/www/chromium/files/chromium.sh.in /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/chromium.sh
===> Patching for chromium-157.0.8103.78
=> Applying pkgsrc patches for chromium-157.0.8103.78
patch -d /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/typescript/tsc/internal/bundled/libs -Ep2 < /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/typescript/linux-amd64/3pp/patches/typescript_native_preview.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/lib/lib.dom.d.ts b/lib/lib.dom.d.ts
|index 9e127c3..88c6398 100644
|--- a/lib/lib.dom.d.ts
|+++ b/lib/lib.dom.d.ts
--------------------------
Patching file lib.dom.d.ts using Plan A...
Hunk #1 succeeded at 13567.
Hunk #2 succeeded at 17771.
Hunk #3 succeeded at 20444.
Hunk #4 succeeded at 35301.
Hmm... Ignoring the trailing garbage.
done
===> Creating toolchain wrappers for chromium-157.0.8103.78
===> Configuring for chromium-157.0.8103.78
=> Generating pkg-config file for builtin expat package.
=> Set path of go executable
=> Fixing manpage
=> Fixing pathes
=> Set BUILT_WITH_PULSE to no in chromium wrapper
cd /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/media/ffmpeg && /usr/pkg/bin/python3.14 scripts/build_ffmpeg.py netbsd x64 --config-only --branding=Chrome
install prefix /usr/local
source path /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg
C compiler clang
C library
ARCH x86 (generic)
big-endian no
runtime cpu detection yes
standalone assembly yes
x86 assembler nasm
MMX enabled yes
MMXEXT enabled yes
SSE enabled yes
SSSE3 enabled yes
AESNI enabled yes
CLMUL enabled yes
AVX enabled yes
AVX2 enabled yes
AVX-512 enabled yes
AVX-512ICL enabled yes
XOP enabled yes
FMA3 enabled yes
FMA4 enabled yes
i686 features enabled yes
CMOV is fast yes
EBX available yes
6 registers available yes
7 registers available yes
debug symbols no
strip symbols yes
optimize for size no
optimizations yes
static yes
shared no
network support no
threading support pthreads
safe bitstream reader yes
texi2html enabled no
perl enabled yes
pod2man enabled yes
makeinfo enabled no
makeinfo supports HTML no
experimental features yes
xmllint enabled yes
External libraries:
libopus
External libraries providing hardware acceleration:
Libraries:
avcodec avformat avutil
Programs:
Enabled decoders:
aac pcm_alaw pcm_s24be
flac pcm_f32le pcm_s24le
h264 pcm_mulaw pcm_s32le
libopus pcm_s16be pcm_u8
mp3 pcm_s16le vorbis
Enabled encoders:
Enabled hwaccels:
Enabled parsers:
aac mpegaudio vp9
flac opus
h264 vorbis
Enabled demuxers:
aac mov wav
flac mp3
matroska ogg
Enabled muxers:
Enabled protocols:
Enabled filters:
Enabled bsfs:
Enabled indevs:
Enabled outdevs:
License: LGPL version 2.1 or later
[config.py:82] Using chrome src: /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78
[config.py:83] Using script dir: /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/media/ffmpeg/scripts
[config.py:84] Using ffmpeg home: /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg
System information:
Host OS : netbsd
Target OS : netbsd
Host arch : x64
Target arch : x64
Chromium skipped
Chrome configure/build:
Running /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/configure
--disable-everything
--disable-all
--disable-doc
--disable-htmlpages
--disable-manpages
--disable-podpages
--disable-txtpages
--disable-static
--enable-avcodec
--enable-avformat
--enable-avutil
--enable-static
--enable-libopus
--disable-debug
--disable-bzlib
--disable-error-resilience
--disable-iconv
--disable-network
--disable-schannel
--disable-sdl2
--disable-symver
--disable-xlib
--disable-zlib
--disable-securetransport
--disable-faan
--disable-alsa
--disable-iamf
--disable-autodetect
--enable-decoder=vorbis,libopus,flac
--enable-decoder=pcm_u8,pcm_s16le,pcm_s24le,pcm_s32le,pcm_f32le,mp3
--enable-decoder=pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw
--enable-demuxer=ogg,matroska,wav,flac,mp3,mov
--enable-parser=opus,vorbis,flac,mpegaudio,vp9
--extra-cflags=-I/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/opus/src/include
--disable-linux-perf
--x86asmexe=nasm
--optflags="-O2"
--enable-lto
--arch=x86_64
--target-os=linux
--enable-pic
--cc=clang
--cxx=clang++
--ld=clang
--enable-decoder=aac,h264
--enable-demuxer=aac
--enable-parser=aac,h264
Skipping build step as requested.
Done. If desired you may copy config.h/config.asm into the source/config tree using copy_config.sh.
cd /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/build.x64.netbsd/Chrome && /usr/pkg/bin/gmake ffversion.h
gmake[2]: Entering directory '/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/build.x64.netbsd/Chrome'
GEN libavformat/libavformat.version
GEN libavcodec/libavcodec.version
GEN libavutil/libavutil.version
gmake[2]: Leaving directory '/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/build.x64.netbsd/Chrome'
/usr/bin/install -d -o root -g wheel -m 755 /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/build.x64.netbsd/Chrome/config.h /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/build.x64.netbsd/Chrome/config_components.h /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/build.x64.netbsd/Chrome/libavcodec /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/build.x64.netbsd/Chrome/libavformat /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/build.x64.netbsd/Chrome/libavutil /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/build.x64.netbsd/Chrome/config.asm /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/build.x64.netbsd/Chrome/config_components.asm /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
/bin/mkdir -p /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/rust-toolchain/bin
/bin/ln -sf /usr/pkg/bin/rustc /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/rust-toolchain/bin/rustc
/bin/ln -sf /usr/pkg/bin/gperf /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/gperf/cipd/bin/gperf
/bin/mkdir -p /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/node/netbsd/node-netbsd/bin
/bin/ln -sf /usr/pkg/bin/node /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/node/netbsd/node-netbsd/bin/node
/bin/ln -sf /usr/pkg/bin/esbuild /tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/third_party/devtools-frontend/src/third_party/esbuild/esbuild
=> Generating pkg-config files for builtin xz package.
=> Replacing bash interpreter in chrome/tools/build/linux/chrome-wrapper.
Compiling proc-macro2 v1.0.107
Compiling quote v1.0.47
Compiling unicode-ident v1.0.24
Compiling anyhow v1.0.104
Compiling serde_core v1.0.229
Compiling serde v1.0.229
Compiling memchr v2.8.3
Compiling rand_core v0.6.4
Compiling siphasher v1.0.3
Compiling rustversion v1.0.23
Compiling zmij v1.0.23
Compiling serde_json v1.0.151
Compiling itoa v1.0.18
Compiling regex-syntax v0.8.11
Compiling flagset v0.4.7
Compiling either v1.18.0
Compiling utf8parse v0.2.2
Compiling heck v0.5.0
Compiling is_terminal_polyfill v1.70.2
Compiling colorchoice v1.0.5
Compiling anstyle-query v1.1.5
Compiling anstyle v1.0.14
Compiling memoized v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/common/memoized)
Compiling strsim v0.11.1
Compiling clap_lex v1.1.0
Compiling external_binaries v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/common/external_binaries)
Compiling ffi_types v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/common/ffi_types)
Compiling base64 v0.22.1
Compiling cc_bindings_from_rs_toposort v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/cc_bindings_from_rs/toposort)
Compiling rand v0.8.8
Compiling itertools v0.13.0
Compiling anstyle-parse v1.0.0
Compiling phf_shared v0.11.3
Compiling aho-corasick v1.1.5
Compiling anstream v1.0.0
Compiling phf_generator v0.11.3
Compiling clap_builder v4.6.7
Compiling arc_anyhow v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/common/arc_anyhow)
Compiling dyn_format v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/common/dyn_format)
Compiling token_stream_printer v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/common/token_stream_printer)
Compiling syn v3.0.4
Compiling syn v2.0.119
Compiling crubit_abi_type v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/common/crubit_abi_type)
Compiling regex-automata v0.4.18
Compiling serde_derive v1.0.229
Compiling clap_derive v4.6.7
Compiling cc_bindings_from_rs_rustversion_impl v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/cc_bindings_from_rs/rustversion_impl)
Compiling phf_macros v0.11.3
Compiling regex v1.13.1
Compiling cc_bindings_from_rs_rustversion v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/cc_bindings_from_rs/rustversion)
Compiling cc_bindings_from_rs_crubit_attr v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/cc_bindings_from_rs/crubit_attr)
Compiling cc_bindings_from_rs_run_compiler v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/cc_bindings_from_rs/run_compiler)
Compiling clap v4.6.7
Compiling phf v0.11.3
Compiling crubit_feature v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/common/crubit_feature)
Compiling error_report v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/common/error_report)
Compiling kythe_metadata v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/common/kythe_metadata)
Compiling code_gen_utils v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/common/code_gen_utils)
Compiling cc_bindings_from_rs_cmdline v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/cc_bindings_from_rs/cmdline)
Compiling cc_bindings_from_rs_database v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/cc_bindings_from_rs/generate_bindings/database/database)
Compiling cc_bindings_from_rs_query_compiler v0.0.0 (/tmp/pkgs/www/chromium/work/chromium-157.0.8103.78/crubit/cargo/cc_bindings_from_rs/generate_bindings/query_compiler)
error[E0599]: no variant, associated function, or constant named `NonNull` found for enum `LangItem` in the current scope
--> cargo/cc_bindings_from_rs/generate_bindings/query_compiler/../../../../cc_bindings_from_rs/generate_bindings/query_compiler.rs:82:37
|
82 | tcx.is_lang_item(did, LangItem::NonNull)
| ^^^^^^^ variant, associated function, or constant not found in `LangItem`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `cc_bindings_from_rs_query_compiler` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
*** Error code 101
Stop.
make[1]: stopped making "install" in /build/pkgsrc/www/chromium
*** Error code 1
Stop.
make: stopped making "install" in /build/pkgsrc/www/chromium
>How-To-Repeat:
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index