Date: Mon, 18 Sep 2023 09:04:14 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 273925] graphics/librsvg2-rust fails to build from sources on AMD64 also 2.57 released Message-ID: <bug-273925-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273925 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 :=20 [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.=20 Regardless it blows up on AMD64 hardware with FreeBSD 15.0 CURRENT. hydra# uname -apKU=20 FreeBSD hydra 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #2 main-n265221-5449d0144d61: Fri Sep 8 06:40:58 GMT 2023=20=20=20=20 root@hydra:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 1500000 150= 0000 hydra#=20 hydra# pwd /poudriere/data/logs/bulk/latest-per-pkg/librsvg2-rust/2.56.4 hydra#=20 There I see the last few lines along with a bizarre suggestion to do things with some sort of UNSAFE method :=20 Compiling rayon v1.7.0 Running `/usr/local/bin/rustc --crate-name rayon --edition=3D2021 /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/cargo-crates/= rayon-1.7.0/src/lib.rs --error-format=3Djson --json=3Ddiagnostic-rendered-ansi,artifacts,future-in= compat --crate-type lib --emit=3Ddep-info,metadata,link -C opt-level=3D2 -C panic= =3Dabort -C codegen-units=3D1 -C metadata=3Ddbe39f40b02a9d8d -C extra-filename=3D-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=3Dcc -L dependency=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/= target/x86_64-unknown-freebsd/release/deps -L dependency=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/= target/release/deps --extern either=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/targ= et/x86_64-unknown-freebsd/release/deps/libeither-3a8c66e700da60cc.rmeta --extern rayon_core=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/= target/x86_64-unknown-freebsd/release/deps/librayon_core-fd8f5c01128722f6.r= meta --cap-lints allow -C link-arg=3D-fstack-protector-strong` Compiling clap_complete v4.3.2 Running `/usr/local/bin/rustc --crate-name clap_complete --edition=3D2= 021 /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/cargo-crates/= clap_complete-4.3.2/src/lib.rs --error-format=3Djson --json=3Ddiagnostic-rendered-ansi,artifacts,future-in= compat --crate-type lib --emit=3Ddep-info,metadata,link -C opt-level=3D2 -C panic= =3Dabort -C codegen-units=3D1 --cfg 'feature=3D"default"' -C metadata=3D9a57256db2a1b72= c -C extra-filename=3D-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=3Dcc -L dependency=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/= target/x86_64-unknown-freebsd/release/deps -L dependency=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/= target/release/deps --extern clap=3D/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=3D-fstack-protector-strong` error: could not compile `gio` (lib) Caused by: process didn't exit successfully: `/usr/local/bin/rustc --crate-name gio --edition=3D2021 /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/cargo-crates/= gio-0.17.10/src/lib.rs --error-format=3Djson --json=3Ddiagnostic-rendered-ansi,artifacts,future-in= compat --crate-type lib --emit=3Ddep-info,metadata,link -C opt-level=3D2 -C panic= =3Dabort -C codegen-units=3D1 -C metadata=3D80ebab6d661ca2ee -C extra-filename=3D-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=3Dcc -L dependency=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/= target/x86_64-unknown-freebsd/release/deps -L dependency=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/= target/release/deps --extern bitflags=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/ta= rget/x86_64-unknown-freebsd/release/deps/libbitflags-27aa229f11ba31cf.rmeta --extern futures_channel=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.= 56.4/target/x86_64-unknown-freebsd/release/deps/libfutures_channel-053279de= 4063ace4.rmeta --extern futures_core=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.= 4/target/x86_64-unknown-freebsd/release/deps/libfutures_core-ec6f63bd36c7ce= 9a.rmeta --extern futures_io=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/= target/x86_64-unknown-freebsd/release/deps/libfutures_io-2fafee41005f866e.r= meta --extern futures_util=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.= 4/target/x86_64-unknown-freebsd/release/deps/libfutures_util-64e00d23861012= 43.rmeta --extern ffi=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target/= x86_64-unknown-freebsd/release/deps/libgio_sys-42d7b26823d24efe.rmeta --extern glib=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target= /x86_64-unknown-freebsd/release/deps/libglib-f0f4a5c56a997002.rmeta --extern libc=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/target= /x86_64-unknown-freebsd/release/deps/liblibc-5c0c7cbd5e8be8b8.rmeta --extern once_cell=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/t= arget/x86_64-unknown-freebsd/release/deps/libonce_cell-81bc7828ba37913e.rme= ta --extern pin_project_lite=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2= .56.4/target/x86_64-unknown-freebsd/release/deps/libpin_project_lite-8050a6= 04649da89d.rmeta --extern smallvec=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/ta= rget/x86_64-unknown-freebsd/release/deps/libsmallvec-78d774490b46b905.rmeta --extern thiserror=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/t= arget/x86_64-unknown-freebsd/release/deps/libthiserror-c0a9be69134bf3c0.rme= ta --cap-lints allow -C link-arg=3D-fstack-protector-strong -L native=3D/usr/l= ocal/lib -L native=3D/usr/local/lib -L native=3D/usr/local/lib -L native=3D/usr/loca= l/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=3D2021 /wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/cargo-crates/= regex-automata-0.3.3/src/lib.rs --error-format=3Djson --json=3Ddiagnostic-rendered-ansi,artifacts,future-in= compat --crate-type lib --emit=3Ddep-info,metadata,link -C opt-level=3D2 -C panic= =3Dabort -C codegen-units=3D1 --cfg 'feature=3D"alloc"' --cfg 'feature=3D"dfa-onepass"'= --cfg 'feature=3D"hybrid"' --cfg 'feature=3D"meta"' --cfg 'feature=3D"nfa-backtra= ck"' --cfg 'feature=3D"nfa-pikevm"' --cfg 'feature=3D"nfa-thompson"' --cfg 'feature=3D"perf-inline"' --cfg 'feature=3D"perf-literal"' --cfg 'feature=3D"perf-literal-multisubstring"' --cfg 'feature=3D"perf-literal-substring"' --cfg 'feature=3D"std"' --cfg 'feature=3D"syntax"' --cfg 'feature=3D"unicode"' --cfg 'feature=3D"unicode-= age"' --cfg 'feature=3D"unicode-bool"' --cfg 'feature=3D"unicode-case"' --cfg 'feature=3D"unicode-gencat"' --cfg 'feature=3D"unicode-perl"' --cfg 'feature=3D"unicode-script"' --cfg 'feature=3D"unicode-segment"' --cfg 'feature=3D"unicode-word-boundary"' -C metadata=3D8c38a775947670ba -C extra-filename=3D-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=3Dcc -L dependency=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/= target/x86_64-unknown-freebsd/release/deps -L dependency=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/= target/release/deps --extern aho_corasick=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.= 4/target/x86_64-unknown-freebsd/release/deps/libaho_corasick-889ed6677d1dfe= 85.rmeta --extern memchr=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.4/targ= et/x86_64-unknown-freebsd/release/deps/libmemchr-15313fd754308e4b.rmeta --extern regex_syntax=3D/wrkdirs/usr/ports/graphics/librsvg2-rust/work/librsvg-2.56.= 4/target/x86_64-unknown-freebsd/release/deps/libregex_syntax-4ddad5b9840789= 8f.rmeta --cap-lints allow -C link-arg=3D-fstack-protector-strong` (signal: 9, SIGKI= LL: 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' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/librsvg2-rust =3D>> Cleaning up wrkdir =3D=3D=3D> 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#=20 Whatever that nasty "MAKE_JOBS_UNSAFE=3Dyes" 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273925-39348>