[Bug 273925] graphics/librsvg2-rust fails to build from sources on AMD64 also 2.57 released
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 273925] graphics/librsvg2-rust fails to build from sources on AMD64 also 2.57 released"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273925] graphics/librsvg2-rust fails to build from sources on AMD64 also 2.57 released"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273925] graphics/librsvg2-rust fails to build from sources on AMD64 also 2.57 released"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273925] graphics/librsvg2-rust fails to build from sources on AMD64 also 2.57 released"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273925] graphics/librsvg2-rust fails to build from sources on AMD64 also 2.57 released"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Sep 2023 09:04:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273925 Bug ID: 273925 Summary: graphics/librsvg2-rust fails to build from sources on AMD64 also 2.57 released Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: dclarke@blastwave.org Flags: maintainer-feedback?(desktop@FreeBSD.org) Assignee: desktop@FreeBSD.org Sort of a double punch to the kidneys on a Monday morning : [09:04:35] [04] [00:17:27] Finished graphics/librsvg2-rust | librsvg2-rust-2.56.4: Failed: build Looks like Poudriere had a bit of a fit over graphics/librsvg2-rust version 2.56.4 and I will dig into the logs. Getting to that. Looking at https://download.gnome.org/sources/librsvg/2.57/ where I see the rustified source dump has revved up a notch just to bring more of the Holy Church of Rust into the lives of more victims. Regardless it blows up on AMD64 hardware with FreeBSD 15.0 CURRENT. hydra# uname -apKU FreeBSD hydra 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #2 main-n265221-5449d0144d61: Fri Sep 8 06:40:58 GMT 2023 root@hydra:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 1500000 1500000 hydra# hydra# pwd /poudriere/data/logs/bulk/latest-per-pkg/librsvg2-rust/2.56.4 hydra# There I see the last few lines along with a bizarre suggestion to do things with some sort of UNSAFE method : Compiling rayon v1.7.0 Running `/usr/local/bin/rustc --crate-name rayon --edition=2021 /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/cargo-crates/rayon-1.7.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C codegen-units=1 -C metadata=dbe39f40b02a9d8d -C extra-filename=-dbe39f40b02a9d8d --out-dir /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps --target x86_64-unknown-freebsd -C linker=cc -L dependency=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/release/deps --extern either=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libeither-3a8c66e700da60cc.rmeta --extern rayon_core=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/librayon_core-fd8f5c01128722f6.rmeta --cap-lints allow -C link-arg=-fstack-protector-strong` Compiling clap_complete v4.3.2 Running `/usr/local/bin/rustc --crate-name clap_complete --edition=2021 /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/cargo-crates/clap_complete-4.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C codegen-units=1 --cfg 'feature="default"' -C metadata=9a57256db2a1b72c -C extra-filename=-9a57256db2a1b72c --out-dir /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps --target x86_64-unknown-freebsd -C linker=cc -L dependency=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/release/deps --extern clap=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libclap-6d99ed21e630c7b4.rmeta --cap-lints allow -C link-arg=-fstack-protector-strong` error: could not compile `gio` (lib) Caused by: process didn't exit successfully: `/usr/local/bin/rustc --crate-name gio --edition=2021 /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/cargo-crates/gio-0.17.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C codegen-units=1 -C metadata=80ebab6d661ca2ee -C extra-filename=-80ebab6d661ca2ee --out-dir /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps --target x86_64-unknown-freebsd -C linker=cc -L dependency=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/release/deps --extern bitflags=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libbitflags-27aa229f11ba31cf.rmeta --extern futures_channel=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libfutures_channel-053279de4063ace4.rmeta --extern futures_core=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libfutures_core-ec6f63bd36c7ce9a.rmeta --extern futures_io=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libfutures_io-2fafee41005f866e.rmeta --extern futures_util=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libfutures_util-64e00d2386101243.rmeta --extern ffi=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libgio_sys-42d7b26823d24efe.rmeta --extern glib=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libglib-f0f4a5c56a997002.rmeta --extern libc=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/liblibc-5c0c7cbd5e8be8b8.rmeta --extern once_cell=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libonce_cell-81bc7828ba37913e.rmeta --extern pin_project_lite=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libpin_project_lite-8050a604649da89d.rmeta --extern smallvec=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libsmallvec-78d774490b46b905.rmeta --extern thiserror=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libthiserror-c0a9be69134bf3c0.rmeta --cap-lints allow -C link-arg=-fstack-protector-strong -L native=/usr/local/lib -L native=/usr/local/lib -L native=/usr/local/lib -L native=/usr/local/lib` (signal: 9, SIGKILL: kill) warning: build failed, waiting for other jobs to finish... error: could not compile `regex-automata` (lib) Caused by: process didn't exit successfully: `/usr/local/bin/rustc --crate-name regex_automata --edition=2021 /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/cargo-crates/regex-automata-0.3.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C codegen-units=1 --cfg 'feature="alloc"' --cfg 'feature="dfa-onepass"' --cfg 'feature="hybrid"' --cfg 'feature="meta"' --cfg 'feature="nfa-backtrack"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-literal-multisubstring"' --cfg 'feature="perf-literal-substring"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' -C metadata=8c38a775947670ba -C extra-filename=-8c38a775947670ba --out-dir /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps --target x86_64-unknown-freebsd -C linker=cc -L dependency=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/release/deps --extern aho_corasick=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libaho_corasick-889ed6677d1dfe85.rmeta --extern memchr=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libmemchr-15313fd754308e4b.rmeta --extern regex_syntax=/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/x86_64-unknown-freebsd/release/deps/libregex_syntax-4ddad5b98407898f.rmeta --cap-lints allow -C link-arg=-fstack-protector-strong` (signal: 9, SIGKILL: kill) gmake[3]: *** [Makefile:1560: librsvg_c_api.la] Error 101 gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4' gmake[2]: *** [Makefile:1083: all-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4' gmake[1]: *** [Makefile:718: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4' ===> 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/graphics/librsvg2-rust =>> Cleaning up wrkdir ===> Cleaning for librsvg2-rust-2.56.4 build of graphics/librsvg2-rust | librsvg2-rust-2.56.4 ended at Mon Sep 18 01:26:43 UTC 2023 build time: 00:17:32 !!! build failure encountered !!! hydra# Whatever that nasty "MAKE_JOBS_UNSAFE=yes" suggestion is seems to have nothing to do with Poudriere and may likely be some sort of a thing to shove into the Makefile. No idea. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken -- You are receiving this mail because: You are the assignee for the bug.