Summary: | www-client/torbrowser-115.12.0_p13500::torbrowser failed to emerge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Overlays | Assignee: | poncho <poncho> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | leonchik1976, poncho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.xz
build.log build.log |
Description
Leonid Kopylov
2024-06-25 04:01:49 UTC
Created attachment 896372 [details]
build.log.xz
You have two rust versions installed. dev-lang/rust: 1.77.1::gentoo dev-lang/rust-bin: 1.78.0::gentoo The build picks /opt/rust-bin-1.78.0. Could you try to compile with version 1.77.1? What's the output of "eselect rust list"? Created attachment 896376 [details]
build.log
# eselect rust list Available Rust versions: [1] rust-1.77.1 * [2] rust-bin-1.78.0 still fails after switching to 1 > still fails after switching to 1
But now it's a very different error:
0:10.69 checking for rustc... /usr/bin/rustc
0:10.69 checking for cargo... /usr/bin/cargo
0:10.70 DEBUG: Executing: `rustup which rustc`
0:10.70 DEBUG: The command returned non-zero exit status 127.
0:10.70 DEBUG: Its error output was:
0:10.70 DEBUG: | rustup: error while loading shared libraries: librustc_driver-131b866216b2910c.so: cannot open shared object file: No such file or directory
0:10.70 ERROR: Command `rustup which rustc` failed with exit status 127.
Looks like your rust installation is broken.
(In reply to poncho from comment #5) > > still fails after switching to 1 > > But now it's a very different error: > > 0:10.69 checking for rustc... /usr/bin/rustc > 0:10.69 checking for cargo... /usr/bin/cargo > 0:10.70 DEBUG: Executing: `rustup which rustc` > 0:10.70 DEBUG: The command returned non-zero exit status 127. > 0:10.70 DEBUG: Its error output was: > 0:10.70 DEBUG: | rustup: error while loading shared libraries: > librustc_driver-131b866216b2910c.so: cannot open shared object file: No such > file or directory > 0:10.70 ERROR: Command `rustup which rustc` failed with exit status 127. > > Looks like your rust installation is broken. same error on 3 different machines locate librustc_driver /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so equery b /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so dev-lang/rust-1.77.1 (/usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so) (In reply to poncho from comment #7) > locate librustc_driver > > /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so > > equery b /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so > > dev-lang/rust-1.77.1 > (/usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so) # eselect rust list Available Rust versions: [1] rust-1.77.1 * [2] rust-bin-1.78.0 # locate librustc_driver /opt/rust-bin-1.78.0/lib/librustc_driver-d6f66a8619a171d6.so # equery b /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so * Searching for /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so ... dev-lang/rust-1.77.1 (/usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so) (In reply to Leonid Kopylov from comment #8) > (In reply to poncho from comment #7) > > locate librustc_driver > > > > /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so > > > > equery b /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so > > > > dev-lang/rust-1.77.1 > > (/usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so) > > # eselect rust list > Available Rust versions: > [1] rust-1.77.1 * > [2] rust-bin-1.78.0 > > # locate librustc_driver > /opt/rust-bin-1.78.0/lib/librustc_driver-d6f66a8619a171d6.so > > # equery b /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so > * Searching for > /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so ... > dev-lang/rust-1.77.1 > (/usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so) # ls /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so /usr/lib/rust/1.77.1/lib/librustc_driver-131b866216b2910c.so this file also exists Need to run `. /etc/profile` after changing w/ eselect rust. (In reply to Sam James from comment #10) > Need to run `. /etc/profile` after changing w/ eselect rust. # eselect rust list Available Rust versions: [1] rust-1.77.1 * [2] rust-bin-1.78.0 # source /etc/profile # locate librustc_driver /opt/rust-bin-1.78.0/lib/librustc_driver-d6f66a8619a171d6.so i did it already - but it still points to 1.78 `locate` works based on a DB which gets indexed by a cronjob, so don't worry about that. Try emerging again after having run `. /etc/profile`. Created attachment 896406 [details]
build.log
still fails just did emerge --sync, dev-lang/rust-1.79.0 is now being installing, also i see dev-lang/rust-bin-1.79.0 update, but it didn't picked by world upgrade, also - nothing depends on rust-bin - should i try to upgrade it or remove from system? i removed rust-bin completely from system - and only then torbrowser was installed (In reply to Leonid Kopylov from comment #16) > i removed rust-bin completely from system - and only then torbrowser was > installed So just to confirm... you did manage to install torbrowser successfully? Since the torbrowser ebuild is basically a modified firefox ebuild, I think you hit the rust issues mentioned in https://bugs.gentoo.org/934385 (In reply to poncho from comment #17) > (In reply to Leonid Kopylov from comment #16) > > i removed rust-bin completely from system - and only then torbrowser was > > installed > > So just to confirm... you did manage to install torbrowser successfully? > > Since the torbrowser ebuild is basically a modified firefox ebuild, I think > you hit the rust issues mentioned in https://bugs.gentoo.org/934385 switching rust didn't helped, only after i uninstalled rust-bin - i was able to install torbrowser |