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 r...@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-widgets 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 -fvis
Re: www/chromium-128.0.6613.84 build failure (amd64; poudriere)
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 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 '[' ']' died with . I have no further clue why this happens. Regards, Ronald. Van: David Wolfskill Datum: dinsdag, 27 augustus 2024 15:13 Aan: freebsd-po...@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 r...@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-widgets 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/bi
Unmaintained FreeBSD ports which are out of date
Dear port maintainers, The portscout new distfile checker has detected that one or more unmaintained ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. Please consider also adopting this port. If any ports have already been updated, you can safely ignore the entry. An e-mail will not be sent again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/po...@freebsd.org.html Port| Current version | New version +-+ devel/intel-graphics-compiler | 1.0.12504.5 | igc-1.0.17384.11 +-+ devel/py-archinfo | 9.0.5405| v9.2.117 +-+ devel/py-cle| 9.0.5405| v9.2.117 +-+ math/py-claripy | 9.0.5405| v9.2.117 +-+ security/py-ailment | 9.0.5405| v9.2.117 +-+ security/py-angr| 9.0.5405| v9.2.117 +-+ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Reported by:portscout!
lang/rust-bootstrap: Add option that doesn't depend on freebsd-sysroot
Hello. rust-1.79.0 is the last version we can build with 12.4-STABLE (and also 13.2?). Because the bootstrap compiler cannot be used due to the following output. ===> Building for rust-1.80.1 Building bootstrap running: /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo build --manifest-path /wrkdirs/usr/ports/lang/rust/work/rustc-1.80.1-src/src/bootstrap/Cargo.toml --verbose --verbose --frozen error: process didn't exit successfully: `/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/rustc -vV` (exit status: 1) --- stderr ld-elf.so.1: /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/../lib/librustc_driver-46295f53743f17e0.so: Undefined symbol "_ZNSt3__122__libcpp_verbose_abortEPKcz" However, I succeeded in building rust-1.80.1 on 12.4-STABLE in roughly the following way. mkdir -p -- /usr/local/freebsd-sysroot/amd64/bin ln -s /usr/bin/cc /usr/local/freebsd-sysroot/amd64/bin/cc ln -s /usr/bin/c++ /usr/local/freebsd-sysroot/amd64/bin/c++ Edit lang/rust-bootstrap/Makefile so that it does not depend on devel/freebsd-sysroot. make -C /usr/ports/lang/rust-bootstrap/ install FLAVOR=amd64 cp -f /usr/local/rust-bootstrap/amd64/* ${DISTDIR}/rust/2024-06-13/ Edit sha256 and size of lang/rust/distinfo to regenerated ones. Start building rust-1.80.1. This is not a request for continued support for versions that are no longer supported. This means that I need a way to get a bootstrap compiler that is made in the same environment as the one we are currently using. It may make it easier to find a solution to a problem that is rare these days, where rust doesn't work depending on the architecture. So, I'm going to paste the patch I made below :) I also feel like I'm doing something wrong about it, so please make it without using it directly. Regards. Here's the patch: diff --git a/lang/rust-bootstrap/Makefile b/lang/rust-bootstrap/Makefile index 3846aa32ffe..88c1c5028e3 100644 --- a/lang/rust-bootstrap/Makefile +++ b/lang/rust-bootstrap/Makefile @@ -22,8 +22,7 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT ONLY_FOR_ARCHS=amd64 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= untested on other architectures -BUILD_DEPENDS= ${FLAVOR:S/_/-/g}-freebsd-sysroot>=a2021.09.14:devel/freebsd-sysroot@${FLAVOR} \ - cmake:devel/cmake-core \ +BUILD_DEPENDS= cmake:devel/cmake-core \ gmake:devel/gmake \ rust>=${PORTVERSION}:lang/rust @@ -43,6 +42,12 @@ TMPDIR?= ${WRKDIR} # Resulting packages are not specific to amd64 NO_ARCH= yes +OPTIONS_DEFINE=SYSROOT +OPTIONS_DEFAULT= SYSROOT +SYSROOT_DESC= Depend on freebsd-sysroot +SYSROOT_BUILD_DEPENDS= ${FLAVOR:S/_/-/g}-freebsd-sysroot>=a2021.09.14:devel/freebsd-sysroot@${FLAVOR} +SYSROOT_VARS_OFF= ONLY_FOR_ARCHS+="aarch64" + _CARGO_VENDOR_DIR= ${WRKSRC}/vendor _RUST_ARCH_amd64= x86_64 _RUST_ARCH_i386= i686 @@ -70,6 +75,10 @@ IGNORE= is only for FreeBSD EXTRA_PATCHES+=${PATCHDIR}/${FLAVOR:S/_/-/} .endif +.if ! ${PORT_OPTIONS:MSYSROOT} && ${_RUST_HOST} != ${_RUST_TARGET} +BROKEN=The behavior of this condition is not implemented. +.endif + post-patch: # Disable vendor checksums @${REINPLACE_CMD} 's,"files":{[^}]*},"files":{},' \ @@ -110,9 +119,15 @@ do-configure: # host compiler that can build the host->target compiler @${ECHO_CMD} 'targets="${_RUST_LLVM_TARGET};${_RUST_LLVM_TARGET_${ARCH}}"' >> ${WRKSRC}/config.toml @${ECHO_CMD} '[target.${_RUST_TARGET}]' >> ${WRKSRC}/config.toml +.if ${PORT_OPTIONS:MSYSROOT} @${ECHO_CMD} 'cc="${LOCALBASE}/freebsd-sysroot/${FLAVOR:S/_/-/g}/bin/cc"' >> ${WRKSRC}/config.toml @${ECHO_CMD} 'cxx="${LOCALBASE}/freebsd-sysroot/${FLAVOR:S/_/-/g}/bin/c++"' >> ${WRKSRC}/config.toml @${ECHO_CMD} 'linker="${LOCALBASE}/freebsd-sysroot/${FLAVOR:S/_/-/g}/bin/cc"' >> ${WRKSRC}/config.toml +.else + @${ECHO_CMD} 'cc="${CC}"' >> ${WRKSRC}/config.toml + @${ECHO_CMD} 'cxx="${CXX}"' >> ${WRKSRC}/config.toml + @${ECHO_CMD} 'linker="${CC}"' >> ${WRKSRC}/config.toml +.endif .for _key _util in ar ${AR} ranlib ${RANLIB} @bin="$$(which ${_util})"; \ ${ECHO_CMD} "${_key}=\"$$bin\"" >> ${WRKSRC}/config.toml