pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/59164: www/chromium build fails on netbsd-10/amd64



>Number:         59164
>Category:       pkg
>Synopsis:       www/chromium build fails on netbsd-10/amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 09 20:15:00 +0000 2025
>Originator:     John D. Baker
>Release:        NetBSD/amd64-10.1_STABLE, pkgsrc-HEAD 9-Mar-2025
>Organization:
>Environment:
NetBSD x3650.technoskunk.fur 10.1_STABLE NetBSD 10.1_STABLE (RACKMOUNT) #0: Sat Mar  1 16:27:38 CST 2025  sysop%x3650.technoskunk.fur@localhost:/r1/build/netbsd-10/obj/amd64/sys/arch/amd64/compile/RACKMOUNT amd64

>Description:
Building "www/chromium" (and previously "wip/chromium" before it was
commited to pkgsrc proper) fails to build on netbsd-10/amd64 as
follows:

$ make
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> 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'.
===> Configuring for chromium-131.0.6778.204nb4
cd /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/media/ffmpeg &&  /usr/pkg/bin/python3.12 scripts/build_ffmpeg.py  netbsd x64 --config-only --branding=Chrome
[config.py:62] Using chrome src: /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204
[config.py:63] Using script dir: /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/media/ffmpeg/scripts
[config.py:64] Using ffmpeg home: /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg
System information:
Host OS       : netbsd
Target OS     : netbsd
Host arch     : x64
Target arch   : x64

Chromium skipped
Chrome configure/build:
Running /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/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/pkgsrc/www/chromium/work/chromium-131.0.6778.204/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
tput: unknown terminal "rxvt-unicode-256color"
tput: unknown terminal "rxvt-unicode-256color"
install prefix            /usr/local
source path               /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/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
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AESNI 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
EBP available             yes
debug symbols             no
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    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
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
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/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/build.x64.netbsd/Chrome && /usr/pkg/bin/gmake ffversion.h
gmake[2]: Entering directory '/tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/build.x64.netbsd/Chrome'
GEN	libavformat/libavformat.version
GEN	libavcodec/libavcodec.version
GEN	libavutil/libavutil.version
gmake[2]: Leaving directory '/tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/build.x64.netbsd/Chrome'
/usr/bin/install -d -o sysop -g sysop -m 755 /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/build.x64.netbsd/Chrome/config.h /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/build.x64.netbsd/Chrome/config.asm /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/build.x64.netbsd/Chrome/config_components.h /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/build.x64.netbsd/Chrome/libavcodec /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/build.x64.netbsd/Chrome/libavformat /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
cp -pR /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/build.x64.netbsd/Chrome/libavutil /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/ffmpeg/chromium/config/Chrome/netbsd/x64
/bin/mkdir -p /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/node/netbsd/node-netbsd/bin
/bin/ln -sf /usr/pkg/bin/node  /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/third_party/node/netbsd/node-netbsd/bin/node
=> Generating pkg-config files for builtin libevent package.
=> Generating pkg-config file for builtin expat package.
=> Generating pkg-config files for builtin xz package.
=> Replacing bash interpreter in chrome/tools/build/linux/chrome-wrapper.
INFO: [replace-interpreter] Nothing changed in chrome/tools/build/linux/chrome-wrapper.
cd /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204 &&  /usr/bin/env USETOOLS=no BUILDTYPE=Release GPERF=/usr/pkg/bin/gperf RUSTC_BOOTSTRAP=1 PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= QTDIR=/usr/pkg/qt5 MOC="/usr/pkg/qt5/bin/moc" PYTHON=/usr/pkg/bin/python3.12 CC=gcc CFLAGS=-O2\ -fno-stack-protector\ -isystem/usr/pkg/lib/clang/18/include\ -Wno-error=unused-command-line-argument\ -Wno-unknown-warning-option\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/nspr\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include\ -I/usr/include/krb5\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/qt5/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/nspr\ -I/usr/pk
 g/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include\ -I/usr/include/krb5\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/qt5/include CXX=c++ CXXFLAGS=-O2\ -fno-stack-protector\ -isystem/usr/pkg/lib/clang/18/include\ -Wno-error=unused-command-line-argument\ -Wno-unknown-warning-option\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/nspr\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include\ -I/usr/include/krb5\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/qt5/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib/nspr\ -Wl,-R/usr/pkg/lib/nspr\ -L/usr/pkg/lib/nss\ -Wl,-R/usr/pkg/lib/nss\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -L/usr/pkg/qt5/lib\ -
 L/usr/pkg/qt5/plugins\ -Wl,-R/usr/pkg/qt5/lib\ -Wl,-R/usr/pkg/qt5/plugins LINKER_RPATH_FLAG=-R PATH=/tmp/pkgsrc/www/chromium/work/.cwrapper/bin:/tmp/pkgsrc/www/chromium/work/.buildlink/bin:/tmp/pkgsrc/www/chromium/work/.tools/bin:/tmp/pkgsrc/www/chromium/work/.gcc/bin:/usr/pkg/bin:/var/home/sysop/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/pkgsrc/www/chromium/work/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgsrc/www/chromium/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ sysop\ -g\
  sysop\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ sysop\ -g\ sysop\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ sysop\ -g\ sysop\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ sysop\ -g\ sysop\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ sysop\ -g\ sysop\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/pkgsrc/www/chromium/work/.tools/bin/makeinfo FLEX=/tmp/pkgs
 rc/www/chromium/work/.tools/bin/flex BISON=/tmp/pkgsrc/www/chromium/work/.tools/bin/bison ITSTOOL=/tmp/pkgsrc/www/chromium/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/pkgsrc/www/chromium/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/pkgsrc/www/chromium/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgsrc/www/chromium/work/.buildlink/lib/pkgconfig:/tmp/pkgsrc/www/chromium/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgsrc/www/chromium/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/bin/krb5-config CWRAPPERS_CONFIG_DIR=/tmp/pkgsrc/www/chromium/work/.cwrapper/config /usr/pkg/bin/python3.12 ./build/linux/unbundle/replace_gn_files.py  --system-libraries dav1d fontconfig icu libaom libevent libpng libvpx libxml libxslt openh264 opus || false
cd /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/tools/gn &&  /usr/bin/env USETOOLS=no BUILDTYPE=Release GPERF=/usr/pkg/bin/gperf RUSTC_BOOTSTRAP=1 PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= QTDIR=/usr/pkg/qt5 MOC="/usr/pkg/qt5/bin/moc" PYTHON=/usr/pkg/bin/python3.12 CC=gcc CFLAGS=-O2\ -fno-stack-protector\ -isystem/usr/pkg/lib/clang/18/include\ -Wno-error=unused-command-line-argument\ -Wno-unknown-warning-option\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/nspr\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include\ -I/usr/include/krb5\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/qt5/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/nspr\ 
 -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include\ -I/usr/include/krb5\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/qt5/include CXX=c++ CXXFLAGS=-O2\ -fno-stack-protector\ -isystem/usr/pkg/lib/clang/18/include\ -Wno-error=unused-command-line-argument\ -Wno-unknown-warning-option\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/nspr\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include\ -I/usr/include/krb5\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/qt5/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib/nspr\ -Wl,-R/usr/pkg/lib/nspr\ -L/usr/pkg/lib/nss\ -Wl,-R/usr/pkg/lib/nss\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -L/usr/pkg/q
 t5/lib\ -L/usr/pkg/qt5/plugins\ -Wl,-R/usr/pkg/qt5/lib\ -Wl,-R/usr/pkg/qt5/plugins LINKER_RPATH_FLAG=-R PATH=/tmp/pkgsrc/www/chromium/work/.cwrapper/bin:/tmp/pkgsrc/www/chromium/work/.buildlink/bin:/tmp/pkgsrc/www/chromium/work/.tools/bin:/tmp/pkgsrc/www/chromium/work/.gcc/bin:/usr/pkg/bin:/var/home/sysop/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/pkgsrc/www/chromium/work/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgsrc/www/chromium/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ s
 ysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ sysop\ -g\ sysop\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ sysop\ -g\ sysop\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ sysop\ -g\ sysop\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ sysop\ -g\ sysop\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ sysop\ -g\ sysop\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/pkgsrc/www/chromium/work/.tools/bin/makeinfo FLEX=
 /tmp/pkgsrc/www/chromium/work/.tools/bin/flex BISON=/tmp/pkgsrc/www/chromium/work/.tools/bin/bison ITSTOOL=/tmp/pkgsrc/www/chromium/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/pkgsrc/www/chromium/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/pkgsrc/www/chromium/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgsrc/www/chromium/work/.buildlink/lib/pkgconfig:/tmp/pkgsrc/www/chromium/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgsrc/www/chromium/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/bin/krb5-config CWRAPPERS_CONFIG_DIR=/tmp/pkgsrc/www/chromium/work/.cwrapper/config /usr/pkg/bin/python3.12 bootstrap/bootstrap.py --no-clean --no-rebuild --skip-generate-buildfiles
/tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/tools/gn/bootstrap/bootstrap.py:105: SyntaxWarning: invalid escape sequence '\$'
  '-Wl,-rpath="\$$ORIGIN/."', '-Wl,-rpath-link=.'
ninja: Entering directory `/tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/out/Release/gn_build'
ninja: no work to do.
cd /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204 &&  /usr/bin/env PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= FREETYPE_CONFIG=/usr/pkg/bin/freetype-config QTDIR=/usr/pkg/qt5 MOC="/usr/pkg/qt5/bin/moc" INSTALL_INFO= MAKEINFO=/tmp/pkgsrc/www/chromium/work/.tools/bin/makeinfo FLEX=/tmp/pkgsrc/www/chromium/work/.tools/bin/flex BISON=/tmp/pkgsrc/www/chromium/work/.tools/bin/bison ITSTOOL=/tmp/pkgsrc/www/chromium/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/pkgsrc/www/chromium/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/pkgsrc/www/chromium/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgsrc/www/chromium/work/.buildlink/lib/pkgconfig:/tmp/pkgsrc/www/chromium/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgsrc/www/chromium/work/.pkg-config.log PKG_CONFIG_PATH= MAKE=make KRB5_CONFIG=/usr/bin/krb5-config CWRAPPERS_CONFIG_DIR=/tmp/pkgsrc/www/chromium/work/.cwrapper/config PYTHON=/
 usr/pkg/bin/python3.12 CC=gcc CFLAGS=-O2\ -fno-stack-protector\ -isystem/usr/pkg/lib/clang/18/include\ -Wno-error=unused-command-line-argument\ -Wno-unknown-warning-option\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/nspr\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include\ -I/usr/include/krb5\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/qt5/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/nspr\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include\ -I/usr/include/krb5\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/qt5/include CXX=c++ CXXFLAGS=-O2\ -fno-stack-protector\ -isystem/usr/pkg/lib/clang/18/include\ -Wno-error=unused-command-line-argument\ -Wno-unknown-warning-option\ -I/usr/pkg/include\ -I/usr/include\ -I/usr
 /pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/nspr\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include\ -I/usr/include/krb5\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/qt5/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib/nspr\ -Wl,-R/usr/pkg/lib/nspr\ -L/usr/pkg/lib/nss\ -Wl,-R/usr/pkg/lib/nss\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -L/usr/pkg/qt5/lib\ -L/usr/pkg/qt5/plugins\ -Wl,-R/usr/pkg/qt5/lib\ -Wl,-R/usr/pkg/qt5/plugins LINKER_RPATH_FLAG=-R PATH=/tmp/pkgsrc/www/chromium/work/.cwrapper/bin:/tmp/pkgsrc/www/chromium/work/.buildlink/bin:/tmp/pkgsrc/www/chromium/work/.tools/bin:/tmp/pkgsrc/www/chromium/work/.gcc/bin:/usr/pkg/bin:/var/home/sysop/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11
 R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/pkgsrc/www/chromium/work/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgsrc/www/chromium/work/.cwrapper/config ./out/Release/gn  gen --args="use_audioio=true use_alsa=false use_pulseaudio=false is_official_build=true is_component_build=false is_debug=false blink_symbol_level=0 symbol_level=0 clang_use_chrome_plugins=false disable_fieldtrial_testing_config=true enable_backup_ref_ptr_support=false enable_hangout_services_extension=true enable_log_error_not_reached=true enable_nacl=false enable_remoting=false fatal_linker_warnings=false icu_use_data_file=false is_cfi=false is_clang=true optimize_webui=true thin_lto_enable_optimizations=true tr
 eat_warnings_as_errors=false use_allocator_shim=false use_cups=true use_custom_libcxx=true use_custom_libunwind=true use_kerberos=false use_lld=false use_partition_alloc=true use_partition_alloc_as_malloc=false use_sndio=false use_sysroot=false use_system_freetype=true use_system_harfbuzz=true use_system_libdrm=true use_thin_lto=false use_udev=false use_vaapi=false v8_enable_cet_ibt=true enable_rust=true  rust_sysroot_absolute=\"/usr/pkg\"  rustc_version=\"rustc 1.83.0 (90b35a623 2024-11-26) (built from a source tarball)\" extra_cxxflags=\"-Wno-unknown-warning-option  -I/tmp/pkgsrc/www/chromium/work/.buildlink/include  -I/tmp/pkgsrc/www/chromium/work/.buildlink/include/libepoll-shim  -I/tmp/pkgsrc/www/chromium/work/.buildlink/include/glib  -I/tmp/pkgsrc/www/chromium/work/.buildlink/include/nss\"  extra_ldflags=\"-L/usr/pkg/lib  -L/usr/X11R7/lib  -Wl,-R/usr/pkg/lib  -Wl,-R/usr/pkg/lib/nspr  -Wl,-R/usr/pkg/lib/nss  -Wl,-R/usr/X11R7/lib\" proprietary_codecs=true  ffmpeg_branding=\"Chro
 me\" google_api_key=\"AIzaSyAT_3ogzNMKbBMFk3xQ6T35fg52Y9GrFBg\"" --script-executable="/usr/pkg/bin/python3.12"  out/Release
ERROR at //build/config/linux/pkg_config.gni:104:17: Script returned non-zero exit code.
    pkgresult = exec_script(pkg_config_script, args, "json")
                ^----------
Current dir: /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/out/Release/
Command: /usr/pkg/bin/python3.12 /tmp/pkgsrc/www/chromium/work/chromium-131.0.6778.204/build/config/linux/pkg-config.py atk atk-bridge-2.0
Returned 1.
stderr:

Package atk-bridge-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `atk-bridge-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'atk-bridge-2.0' not found
Could not run pkg-config.

See //build/config/linux/atk/BUILD.gn:20:1: whence it was called.
pkg_config("atk") {
^------------------
See //ui/views/BUILD.gn:949:22: which caused the file to be included.
        configs += [ "//build/config/linux/atk" ]
                     ^-------------------------
*** Error code 1

Stop.
make[1]: stopped in /x/pkgsrc/www/chromium
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/www/chromium


In case it matters, I have the following in my "/etc/mk.conf":

PKG_DEFAULT_OPTIONS+=pam ssl oss -cups -pulseaudio -alsa -dbus -gvfs -jack
PKG_DEFAULT_OPTIONS+=-wayland -gtk3-atk-bridge

>How-To-Repeat:
See above.
>Fix:



Home | Main Index | Thread Index | Old Index