too long lines were shrinked: Running `rustc --crate-name libgit2_sys --edition=2018 /var/tmp/portage/sys-apps/exa-0.10.1/work/cargo_home/gentoo/libgit2-sys-0.12.18+1.1.0/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 link Compiling git2 v0.13.17 Running `rustc --crate-name git2 --edition=2018 /var/tmp/portage/sys-apps/exa-0.10.1/work/cargo_home/gentoo/git2-0.13.17/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 linker-plugin-lto -C Running `rustc --crate-name exa --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --cfg 'feature="default"' --cfg 'feature="git"' --cfg 'feature="git2"' -C metadata=1e76e6d469ed490 error: could not compile `exa` Caused by: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-j4-20220522-050006 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.1 * clang/llvm (if any): /usr/lib/llvm/14 14.0.3 Python 3.9.13 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.61.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php8.1 * HEAD of ::gentoo commit 49c4b761a8b37d35b024092443553b79eee35fef Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed May 25 01:17:58 2022 +0000 2022-05-25 01:17:58 UTC emerge -qpvO sys-apps/exa [ebuild N ] sys-apps/exa-0.10.1 USE="git -debug (-man)"
Created attachment 780719 [details] emerge-info.txt
Created attachment 780722 [details] emerge-history.txt.bz2
Created attachment 780725 [details] environment
Created attachment 780728 [details] etc.portage.tar.bz2
Created attachment 780731 [details] sys-apps:exa-0.10.1:20220525-035531.log
Created attachment 780734 [details] temp.tar.bz2
native=/usr/lib64` error: could not compile `exa` Caused by: process didn't exit successfully: `rustc --crate-name exa --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --cfg 'feature="default"' --cfg 'feature="git"' --cfg 'feature="git2"' -C metadata=1e76e6d469ed4908 -C extra-filename=-1e76e6d469ed4908 --out-dir /var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps -L dependency=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps --extern ansi_term=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libansi_term-7a2f5b24394af86a.rlib --extern datetime=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libdatetime-1f6fb032ed0b2419.rlib --extern git2=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libgit2-102f63166683ea5e.rlib --extern glob=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libglob-023a5ddb3e769dc1.rlib --extern lazy_static=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/liblazy_static-d41ca21dec8b0771.rlib --extern libc=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/liblibc-d81602184783f4f2.rlib --extern locale=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/liblocale-f31e295436a9ba78.rlib --extern log=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/liblog-b62690a7783e06dc.rlib --extern natord=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libnatord-f4d9ddd248c87024.rlib --extern num_cpus=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libnum_cpus-0feefb6f591d9ae0.rlib --extern number_prefix=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libnumber_prefix-7efb1d77d0543926.rlib --extern scoped_threadpool=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libscoped_threadpool-a2cf35eaa1a14f8a.rlib --extern term_grid=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libterm_grid-d7e0903e0fb0e245.rlib --extern term_size=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libterm_size-39cfa6bf25f53e62.rlib --extern unicode_width=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libunicode_width-b549f562942988f0.rlib --extern users=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libusers-c7c23f441e82dfa0.rlib --extern zoneinfo_compiled=/var/tmp/portage/sys-apps/exa-0.10.1/work/exa-0.10.1/target/release/deps/libzoneinfo_compiled-c71d37f63434af93.rlib -Ctarget-cpu=native -v -L native=/usr/lib64` (signal: 8, SIGFPE: erroneous arithmetic operation) * ERROR: sys-apps/exa-0.10.1::gentoo failed (compile phase): * cargo build failed ???
or related to bug 675890 ?
(In reply to Toralf Förster from comment #8) > or related to bug 675890 ? No, reproduced just now, but good thinking!
Ah, it's Rust 1.61! https://github.com/ogham/exa/issues/1068
can you try building it with USE=-git ? I can't repro on ppc64 and I don't have amd64 machine with rust-1.61.0 yet and unlikely to have soon.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7815004b8f2952c642c81bbfb37cd7945e6cc3 commit 3b7815004b8f2952c642c81bbfb37cd7945e6cc3 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-05-25 20:08:49 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-05-25 21:09:32 +0000 dev-lang/rust: add llvm patches to 1.61.0 to fix SIGFPE Bug: https://bugs.gentoo.org/847421 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> .../rust/files/1.61.0-llvm_addrspacecast.patch | 52 +++++++++++++++++ .../files/1.61.0-llvm_selectInterleaveCount.patch | 66 ++++++++++++++++++++++ .../{rust-1.61.0.ebuild => rust-1.61.0-r1.ebuild} | 2 + 3 files changed, 120 insertions(+)
source version patched, unfortunately -bin is still affected. let's see how upstream reacts, I asked for 1.61.1 with llvm fixes.