Re: www/chromium-128.0.6613.84 build failure (amd64; poudriere)
Date: Wed, 28 Aug 2024 14:09:17 UTC
Seeing this here in a 15-CURRENT poudriere jail too. Just a guess but this is likely because the base system has no libclang.so whereas the various LLVM ports do. This port depends on llvm15, which does supply a libclang.so. The message suggesting that LIBCLANG_PATH be set could be the correct course of action. Possibly in the MAKE_ENV environment variable in Makefile. It probably builds successfully by hand -- though I haven't been able to build chromium by hand here for the better part of a year now. -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org NTP: <cy@nwtime.org> Web: https://nwtime.org e^(i*pi)+1=0 On Tue, 27 Aug 2024 15:43:18 +0200 (CEST) Ronald Klop <ronald-lists@klop.ws> wrote: > When you scroll back a bit in the logs the error output I see is: > > ... > FAILED: gen/third_party/crabbyavif/crabbyavif_libyuv_bindings.rs > ... > thread 'main' panicked at /wrkdirs/usr/ports/devel/rust-bindgen-cli/work/bindgen-cli-0.70.1/cargo-crates/bindgen-0.70.1/lib.rs:622:27: > Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])" > note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace > Traceback (most recent call last): > File "/wrkdirs/usr/ports/www/chromium/work/chromium-128.0.6613.84/out/Release/../../build/rust/run_bindgen.py", line 118, in <module> > main() > File "/wrkdirs/usr/ports/www/chromium/work/chromium-128.0.6613.84/out/Release/../../build/rust/run_bindgen.py", line 106, in main > subprocess.check_call([args.exe, *genargs], env=env) > File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call > raise CalledProcessError(retcode, cmd) > subprocess.CalledProcessError: Command '[' <snip long bindgen command> ']' died with <Signals.SIGABRT: 6>. > > I have no further clue why this happens. > > Regards, > Ronald. > > Van: David Wolfskill <david@catwhisker.org> > Datum: dinsdag, 27 augustus 2024 15:13 > Aan: freebsd-ports@freebsd.org > Onderwerp: www/chromium-128.0.6613.84 build failure (amd64; poudriere) > > > > My build machine gets the task of building packages for www/chromium > > for the machines that actually use it. And it (and its earlier > > instantiation) has been using poudriere-devel for package-building > > since July, 2015. > > > > Given the VuXML entry for chromium and the recent update of the latter > > to 128.0.6613.84, I set the builder to work; it rebuilt several things > > in preparation for chromium, but the latter failed (apparently something > > that ninja encountered). > > > > The build machine was running: > > FreeBSD freebeast.catwhisker.org 14.1-STABLE FreeBSD 14.1-STABLE #208 stable/14-n268552-818e3dc03d0c: Tue Aug 27 10:34:16 UTC 2024 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1401502 1401502 > > > > with the ports tree at: main-n675227-f2a04eb29525 > > > > It had most recently (before this) rebuilt all packages Sunday (2 > > days ago); the only failure then was games/bsdgames. > > > > This morning, it reported that it built/failed/ignored: > > [01:01:43] Built ports: devel/pkgconf graphics/wayland x11/libxkbcommon multimedia/libva graphics/vulkan-loader graphics/libplacebo devel/glib20 devel/desktop-file-utils misc/shared-mime-info devel/dbus-glib graphics/mesa-libs devel/py-dbus@py311 audio/jack devel/gobject-introspection devel/sdl20 devel/gsettings-desktop-schemas devel/libgudev databases/sqlite3@default sysutils/polkit accessibility/at-spi2-core devel/json-glib graphics/gdk-pixbuf2 x11/libwacom multimedia/gstreamer1 graphics/cairo devel/qt5-core graphics/gtk-update-icon-cache x11/libinput security/nss multimedia/gstreamer1-plugins net/avahi-app x11-themes/adwaita-icon-theme sysutils/consolekit2 print/harfbuzz lang/vala devel/dconf graphics/mesa-dri multimedia/pipewire devel/libgusb security/libsecret devel/qt5-dbus net/qt5-network x11-toolkits/pango audio/pulseaudio print/harfbuzz-icu graphics/libjxl graphics/colord print/cups accessibility/speech-dispatcher x11-toolkits/qt5-gui multimedia/ffmpeg x11-toolkits/qt5-w idgets audio/alsa-plugins lang/rust devel/rust-bindgen-cli graphics/librsvg2-rust x11-toolkits/gtk30 > > [01:01:43] Failed ports: www/chromium:build > > [01:01:43] Ignored ports: devel/swig textproc/p5-XML-Parser devel/gettext-tools devel/p5-Locale-gettext misc/help2man databases/gdbm security/nettle archivers/zstd devel/libdatrie devel/p5-Locale-libintl audio/libvorbis print/texinfo graphics/tiff textproc/gsed devel/m4 security/rhash dns/libidn2 math/mpfr security/libgcrypt multimedia/libtheora graphics/lcms2 devel/bison devel/cmake-core lang/ruby32 shells/bash textproc/rubygem-rdiscount www/rubygem-hpricot audio/espeak-ng devel/binutils@native lang/python311 devel/re2 multimedia/libv4l x11/libSM devel/libthai graphics/libexif audio/flac audio/speex x11/libxcb x11/libX11 devel/py-pyyaml@py311 x11/libXfixes audio/alsa-lib x11/libXdamage x11/xcb-util x11/xcb-util-wm x11/xcb-util-renderutil audio/libsndfile print/freetype2 x11/libXext x11/libXScrnSaver x11-fonts/mkfontscale x11-toolkits/libXt x11-toolkits/libXmu x11/libXcomposite x11/libXinerama graphics/openjpeg audio/libsamplerate x11/xcb-util-image x11/xcb-util-keysyms textproc/ libxml2 textproc/libxslt multimedia/aom x11/xprop x11/libXrender x11/xset x11/libXrandr devel/dbus x11/libXcursor graphics/openexr www/node20 dns/libpsl security/p11-kit x11-fonts/fontconfig graphics/libglvnd security/gnutls ftp/curl x11/libXv x11/libXi graphics/libGLU x11-fonts/libXft x11/libXtst x11/libXxf86vm graphics/libdrm graphics/freeglut devel/llvm18@default devel/llvm15@default graphics/webp devel/spirv-llvm-translator@llvm15 > > > > > > The last part of the log: > > ... > > [ 12% 7920/64048] python3 ../../third_party/catapult/tracing/bin/generate_about_tracing_contents --outdir gen/content/browser/tracing > > [ 12% 7920/64048] cc -MD -MF obj/third_party/brotli/enc/backward_references.o.d -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=6bb75caa139ee1e686d2205910454cf6ea212e58 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/brotli/include -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 -fno-sized-deallocation -fcomplete-member-pointers -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-6613-1724176677-471e3754246bb4b3b123986461efc47da76fd985-930ea204ea21ac0cb91d7ef9b1aeffaba6cb10fa.profdata -Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date -Wno-backend-plugin -mllvm -enable-ext-tsp-block-placement=1 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wall -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-deprecated-builtins -Wno-deprecated-this-capture -Wno-invalid-offsetof -Wno-vla-extension -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-math-errno -std=c11 -c ../../third_party/brotli/enc/backward_references.c -o obj/third_party/brotli/enc/backward_references.o > > [ 12% 7920/64048] python3 ../../third_party/blink/renderer/bindings/scripts/build_web_idl_database.py --output gen/third_party/blink/renderer/bindings/web_idl_database.pickle --runtime_enabled_features ../../third_party/blink/renderer/platform/runtime_enabled_features.json5 -- gen/third_party/blink/renderer/bindings/web_idl_in_core.pickle gen/third_party/blink/renderer/bindings/web_idl_in_core_for_testing.pickle gen/third_party/blink/renderer/bindings/web_idl_in_modules.pickle gen/third_party/blink/renderer/bindings/web_idl_in_modules_for_testing.pickle > > 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 in /usr/ports/www/chromium > > =>> Cleaning up wrkdir > > ===> Cleaning for chromium-128.0.6613.84 > > build of www/chromium | chromium-128.0.6613.84 ended at Tue Aug 27 12:31:40 UTC 2024 > > build time: 00:08:51 > > !!! build failure encountered !!! > > > > > > > > Full logs may be found in > > https://www.catwhisker.org/~david/FreeBSD/ports/chromium/ > > > > Peace, > > david > > -- > > David H. Wolfskill david@catwhisker.org > > Restricting bodily autonomy is a mark of autocracy, not conservatism. > > > > See https://www.catwhisker.org/~david/publickey.gpg for my public key. > > > > > > > > > >