Public bug reported: rust-glycin-image-rs fails to build on riscv64. This is a new package but is needed by rust-glycin. I will likely ask for rust-glycin to be removed on riscv64 since it is generally unused in Ubuntu currently. (It's unused because Ubuntu's glycin packaged uses vendored dependencies instead of using rust-glycin like Debian does.)
The error message suggests that it is actually rust-image-webp that is failing to compile. https://launchpad.net/ubuntu/+source/rust-glycin-image- rs/2.2.0-1/+latestbuild/riscv64 Build log excerpt ================= /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0x8ea82a) [0x7ff3ef0ea82a] linux-vdso.so.1(__vdso_rt_sigreturn+0x0) [0x7ff3f44a15e0] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm16VPTransformState3getEPKNS_7VPValueERKNS_6VPLaneE+0x206) [0x7ff3ec2fccf0] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm16VPTransformState3getEPKNS_7VPValueEb+0x44) [0x7ff3ec2fcd9a] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm13VPInstruction8generateERNS_16VPTransformStateE+0x7e4) [0x7ff3ec3208b8] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm13VPInstruction7executeERNS_16VPTransformStateE+0x76) [0x7ff3ec32288e] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm12VPBasicBlock7executeEPNS_16VPTransformStateE+0x308) [0x7ff3ec2fdfce] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm5VPlan7executeEPNS_16VPTransformStateE+0x16c) [0x7ff3ec300e02] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm24LoopVectorizationPlanner11executePlanENS_12ElementCountEjRNS_5VPlanERNS_19InnerLoopVectorizerEPNS_13DominatorTreeEb+0x840) [0x7ff3ec1df7b2] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm17LoopVectorizePass11processLoopEPNS_4LoopE+0x1c4a) [0x7ff3ec1e8c96] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm17LoopVectorizePass7runImplERNS_8FunctionE+0x10a) [0x7ff3ec1eee5a] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm17LoopVectorizePass3runERNS_8FunctionERNS_15AnalysisManagerIS1_JEEE+0x280) [0x7ff3ec1ef33e] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(+0x7ee30fa) [0x7ff3ee0e30fa] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm11PassManagerINS_8FunctionENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0xf8) [0x7ff3eb26c7f2] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(+0x6eb15f6) [0x7ff3ed0b15f6] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm27ModuleToFunctionPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0xe4) [0x7ff3eb26f7da] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(+0x6eb2950) [0x7ff3ed0b2950] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0xf8) [0x7ff3eb26baca] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0xda2190) [0x7ff3ef5a2190] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0xce6430) [0x7ff3ef4e6430] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0xc40a64) [0x7ff3ef440a64] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(_RNvXs1_CsgOaSkWfb0SV_18rustc_codegen_llvmNtB5_18LlvmCodegenBackendNtNtNtCs3nlVwpm3A9W_17rustc_codegen_ssa6traits5write19WriteBackendMethods25optimize_and_codegen_thin+0x80a) [0x7ff3ef447a5a] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0xd7bf0e) [0x7ff3ef57bf0e] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(_RINvNtNtCs8HIIVnFLVsx_3std3sys9backtrace28___rust_begin_short_backtraceNCINvNtNtCs3nlVwpm3A9W_17rustc_codegen_ssa4back5write19spawn_thin_lto_workNtCsgOaSkWfb0SV_18rustc_codegen_llvm18LlvmCodegenBackendE0uEB2l_+0x12c) [0x7ff3ef450b50] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0xc3c090) [0x7ff3ef43c090] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0x4278db6) [0x7ff3f2a78db6] /usr/lib/riscv64-linux-gnu/libc.so.6(+0x77ee2) [0x7ff3f437fee2] /usr/lib/riscv64-linux-gnu/libc.so.6(+0xd16bc) [0x7ff3f43d96bc] note: we would appreciate a report at https://github.com/rust-lang/rust help: you can increase rustc's stack size by setting RUST_MIN_STACK=16777216 note: backtrace dumped due to SIGSEGV! resuming signal warning: `image-webp` (lib) generated 5 warnings error: could not compile `image-webp` (lib); 5 warnings emitted Caused by: process didn't exit successfully: `CARGO=/usr/lib/rust-1.97/bin/cargo CARGO_CRATE_NAME=image_webp CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/image-webp-0.2.4 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/image-webp-0.2.4/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='WebP encoding and decoding in pure Rust' CARGO_PKG_HOMEPAGE='https://github.com/image-rs/image-webp' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=image-webp CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/image-rs/image-webp' CARGO_PKG_RUST_VERSION=1.80.1 CARGO_PKG_VERSION=0.2.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name image_webp --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/image-webp-0.2.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=4454140f6781c04d -C extra-filename=-029683f59f7c46ed --out-dir /<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps --target riscv64a23-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern byteorder=/<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps/libbyteorder-d55e384b3d18f936.rmeta --extern quick_error=/<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps/libquick_error-8a33a416920d6302.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=riscv64-linux-gnu-gcc -C link-arg=-Wl,-Bsymbolic-functions -C 'link-arg=-Wl,--package-metadata=%7B%22type%22:%22deb%22%2C%22os%22:%22ubuntu%22%2C%22name%22:%22rust-glycin-image-rs%22%2C%22version%22:%222.2.0-1%22%2C%22architecture%22:%22riscv64%22%7D' -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/glycin-image-rs-2.2.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -Cforce-frame-pointers=yes` (signal: 11, SIGSEGV: invalid memory reference) warning: build failed, waiting for other jobs to finish... ** Affects: rust-glycin-image-rs (Ubuntu) Importance: Undecided Status: New ** Tags: ftbfs riscv64 ** Description changed: rust-glycin-image-rs fails to build on riscv64. This is a new package but is needed by rust-glycin. I will likely ask for rust-glycin to be removed on riscv64 since it is generally unused in Ubuntu currently. (It's unused because Ubuntu's glycin packaged uses vendored dependencies instead of using rust-glycin like Debian does.) + The error message suggests that it is actually rust-image-webp that is + failing to compile. + + https://launchpad.net/ubuntu/+source/rust-glycin-image- + rs/2.2.0-1/+latestbuild/riscv64 + + Build log excerpt + ================= /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0x8ea82a) [0x7ff3ef0ea82a] linux-vdso.so.1(__vdso_rt_sigreturn+0x0) [0x7ff3f44a15e0] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm16VPTransformState3getEPKNS_7VPValueERKNS_6VPLaneE+0x206) [0x7ff3ec2fccf0] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm16VPTransformState3getEPKNS_7VPValueEb+0x44) [0x7ff3ec2fcd9a] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm13VPInstruction8generateERNS_16VPTransformStateE+0x7e4) [0x7ff3ec3208b8] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm13VPInstruction7executeERNS_16VPTransformStateE+0x76) [0x7ff3ec32288e] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm12VPBasicBlock7executeEPNS_16VPTransformStateE+0x308) [0x7ff3ec2fdfce] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm5VPlan7executeEPNS_16VPTransformStateE+0x16c) [0x7ff3ec300e02] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm24LoopVectorizationPlanner11executePlanENS_12ElementCountEjRNS_5VPlanERNS_19InnerLoopVectorizerEPNS_13DominatorTreeEb+0x840) [0x7ff3ec1df7b2] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm17LoopVectorizePass11processLoopEPNS_4LoopE+0x1c4a) [0x7ff3ec1e8c96] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm17LoopVectorizePass7runImplERNS_8FunctionE+0x10a) [0x7ff3ec1eee5a] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm17LoopVectorizePass3runERNS_8FunctionERNS_15AnalysisManagerIS1_JEEE+0x280) [0x7ff3ec1ef33e] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(+0x7ee30fa) [0x7ff3ee0e30fa] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm11PassManagerINS_8FunctionENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0xf8) [0x7ff3eb26c7f2] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(+0x6eb15f6) [0x7ff3ed0b15f6] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm27ModuleToFunctionPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0xe4) [0x7ff3eb26f7da] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(+0x6eb2950) [0x7ff3ed0b2950] /usr/lib/riscv64-linux-gnu/libLLVM.so.22.1(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0xf8) [0x7ff3eb26baca] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0xda2190) [0x7ff3ef5a2190] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0xce6430) [0x7ff3ef4e6430] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0xc40a64) [0x7ff3ef440a64] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(_RNvXs1_CsgOaSkWfb0SV_18rustc_codegen_llvmNtB5_18LlvmCodegenBackendNtNtNtCs3nlVwpm3A9W_17rustc_codegen_ssa6traits5write19WriteBackendMethods25optimize_and_codegen_thin+0x80a) [0x7ff3ef447a5a] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0xd7bf0e) [0x7ff3ef57bf0e] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(_RINvNtNtCs8HIIVnFLVsx_3std3sys9backtrace28___rust_begin_short_backtraceNCINvNtNtCs3nlVwpm3A9W_17rustc_codegen_ssa4back5write19spawn_thin_lto_workNtCsgOaSkWfb0SV_18rustc_codegen_llvm18LlvmCodegenBackendE0uEB2l_+0x12c) [0x7ff3ef450b50] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0xc3c090) [0x7ff3ef43c090] /usr/lib/riscv64-linux-gnu/librustc_driver-646b0535d0e8ef10.so(+0x4278db6) [0x7ff3f2a78db6] /usr/lib/riscv64-linux-gnu/libc.so.6(+0x77ee2) [0x7ff3f437fee2] /usr/lib/riscv64-linux-gnu/libc.so.6(+0xd16bc) [0x7ff3f43d96bc] note: we would appreciate a report at https://github.com/rust-lang/rust help: you can increase rustc's stack size by setting RUST_MIN_STACK=16777216 note: backtrace dumped due to SIGSEGV! resuming signal warning: `image-webp` (lib) generated 5 warnings error: could not compile `image-webp` (lib); 5 warnings emitted Caused by: - process didn't exit successfully: `CARGO=/usr/lib/rust-1.97/bin/cargo CARGO_CRATE_NAME=image_webp CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/image-webp-0.2.4 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/image-webp-0.2.4/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='WebP encoding and decoding in pure Rust' CARGO_PKG_HOMEPAGE='https://github.com/image-rs/image-webp' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=image-webp CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/image-rs/image-webp' CARGO_PKG_RUST_VERSION=1.80.1 CARGO_PKG_VERSION=0.2.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name image_webp --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/image-webp-0.2.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=4454140f6781c04d -C extra-filename=-029683f59f7c46ed --out-dir /<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps --target riscv64a23-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern byteorder=/<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps/libbyteorder-d55e384b3d18f936.rmeta --extern quick_error=/<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps/libquick_error-8a33a416920d6302.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=riscv64-linux-gnu-gcc -C link-arg=-Wl,-Bsymbolic-functions -C 'link-arg=-Wl,--package-metadata=%7B%22type%22:%22deb%22%2C%22os%22:%22ubuntu%22%2C%22name%22:%22rust-glycin-image-rs%22%2C%22version%22:%222.2.0-1%22%2C%22architecture%22:%22riscv64%22%7D' -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/glycin-image-rs-2.2.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -Cforce-frame-pointers=yes` (signal: 11, SIGSEGV: invalid memory reference) + process didn't exit successfully: `CARGO=/usr/lib/rust-1.97/bin/cargo CARGO_CRATE_NAME=image_webp CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/image-webp-0.2.4 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/image-webp-0.2.4/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='WebP encoding and decoding in pure Rust' CARGO_PKG_HOMEPAGE='https://github.com/image-rs/image-webp' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=image-webp CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/image-rs/image-webp' CARGO_PKG_RUST_VERSION=1.80.1 CARGO_PKG_VERSION=0.2.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name image_webp --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/image-webp-0.2.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=4454140f6781c04d -C extra-filename=-029683f59f7c46ed --out-dir /<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps --target riscv64a23-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern byteorder=/<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps/libbyteorder-d55e384b3d18f936.rmeta --extern quick_error=/<<PKGBUILDDIR>>/target/riscv64a23-unknown-linux-gnu/release/deps/libquick_error-8a33a416920d6302.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=riscv64-linux-gnu-gcc -C link-arg=-Wl,-Bsymbolic-functions -C 'link-arg=-Wl,--package-metadata=%7B%22type%22:%22deb%22%2C%22os%22:%22ubuntu%22%2C%22name%22:%22rust-glycin-image-rs%22%2C%22version%22:%222.2.0-1%22%2C%22architecture%22:%22riscv64%22%7D' -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/glycin-image-rs-2.2.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -Cforce-frame-pointers=yes` (signal: 11, SIGSEGV: invalid memory reference) warning: build failed, waiting for other jobs to finish... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2167458 Title: rust-glycin-image-rs fails to build on riscv64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rust-glycin-image-rs/+bug/2167458/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
