From nobody Wed Aug 28 14:09:17 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wv5rY4V4Yz5TK4j for ; Wed, 28 Aug 2024 14:09:33 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wv5rX67Bdz4JRL for ; Wed, 28 Aug 2024 14:09:32 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=quarantine) header.from=cschubert.com; spf=pass (mx1.freebsd.org: domain of cy.schubert@cschubert.com designates 3.97.99.32 as permitted sender) smtp.mailfrom=cy.schubert@cschubert.com Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTPS id jDhLsKlYf9TOUjJMasK60m; Wed, 28 Aug 2024 14:09:32 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id jJMYsqhie2M9qjJMYsogU7; Wed, 28 Aug 2024 14:09:31 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=ce5xrWDM c=1 sm=1 tr=0 ts=66cf2f9b a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=xqWC_Br6kY4A:10 a=kj9zAlcOel0A:10 a=yoJbH4e0A30A:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=T8hboYP3AAAA:8 a=JAf30KXuAAAA:8 a=EyvR-Sr-4vP945Rd7eoA:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 a=3Xhr1e3L9Km7VwPPQCJS:22 a=GEL62FyrTCmHtEug2d3R:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 83F53736; Wed, 28 Aug 2024 07:09:29 -0700 (PDT) Received: from slippy (localhost [IPv6:::1]) by slippy.cwsent.com (Postfix) with ESMTP id 34A1F319; Wed, 28 Aug 2024 07:09:29 -0700 (PDT) Date: Wed, 28 Aug 2024 07:09:17 -0700 From: Cy Schubert To: Ronald Klop Cc: freebsd-ports@freebsd.org, David Wolfskill Subject: Re: www/chromium-128.0.6613.84 build failure (amd64; poudriere) Message-ID: <20240828070856.69d3c5cb@slippy> In-Reply-To: <1344416062.7923.1724766198366@localhost> References: <1344416062.7923.1724766198366@localhost> Organization: KOMQUATS X-Mailer: Claws Mail 3.20.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfI2R9DwkjizvC5cN3yQbpTBwZo3GNUi/hr7dH3qhudvfBnOMI86RCncDqQ5gqZ5c8F6nmyDViNXMS8KnJnznpUUrds10Z2s3XKCP+iO0Pk4DjF7+pKO+ Rlf3KfgcKIs+j0Jxku9ireEdT9FTrlJie5MsKaNHXSj9cPqgnXBT9o6noHsguv8u6OKSVssuw74n7NQUmBtwrwQAp8iliQRINsN1xq1Fg+wLr2uYl3ujOs4u Qa3Y3a2KJiJeBOZhFacLeeqiKgshnI5yfksr5fWElwA= X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.60 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[cschubert.com,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:3.97.99.32/31]; RWL_MAILSPIKE_VERYGOOD(-0.20)[3.97.99.32:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[3.97.99.32:from]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; HAS_ORG_HEADER(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_DKIM_NA(0.00)[]; RCPT_COUNT_THREE(0.00)[3] X-Rspamd-Queue-Id: 4Wv5rX67Bdz4JRL 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 FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 On Tue, 27 Aug 2024 15:43:18 +0200 (CEST) Ronald Klop 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 > 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-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. > > > > > > > > > >