Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915403 - dev-lang/rust-1.82.0: broken symlink at /usr/lib/rust/libexec-1.73.0
Summary: dev-lang/rust-1.82.0: broken symlink at /usr/lib/rust/libexec-1.73.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-09 02:04 UTC by inkflaw
Modified: 2024-11-18 05:44 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description inkflaw 2023-10-09 02:04:47 UTC
When I install dev-lang/rust-1.73.0, emerge notice me: QA Notice: Symbolic link /usr/lib/rust/libexec-1.73.0 points to /usr/lib/rust/1.73.0/libexec which does not exist.
And `/usr/lib/rust/1.73.0/libexec` directory is missing.

Reproducible: Always
Comment 1 inkflaw 2023-10-09 02:05:27 UTC
But rustc is working well
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-09 02:09:04 UTC
I have the same broken symlink:

$ ls /usr/lib/rust/libexec-1.73.0 -al
lrwxrwxrwx 1 root root 14 Oct  6 01:58 /usr/lib/rust/libexec-1.73.0 -> 1.73.0/libexec

$ ls -al /usr/lib/rust/
total 96
drwxr-xr-x  3 root root   100 Oct  6 01:59 .
drwxr-xr-x 81 root root 69632 Oct  9 01:52 ..
drwxr-xr-x  5 root root    41 Oct  6 01:59 1.73.0
lrwxrwxrwx  1 root root    10 Oct  6 01:59 lib -> lib-1.73.0
lrwxrwxrwx  1 root root    10 Oct  6 01:58 lib-1.73.0 -> 1.73.0/lib
lrwxrwxrwx  1 root root    14 Oct  6 01:58 libexec-1.73.0 -> 1.73.0/libexec
lrwxrwxrwx  1 root root    10 Oct  6 01:59 man -> man-1.73.0
lrwxrwxrwx  1 root root    16 Oct  6 01:58 man-1.73.0 -> 1.73.0/share/man

there's no libexec inside of 1.73.0
Comment 3 Agostino Sarubbo gentoo-dev 2024-02-01 13:21:08 UTC
gcc14_tinderbox has reproduced this issue with version 1.74.1 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2024-02-13 13:52:15 UTC
dash_tinderbox has reproduced this issue with version 1.75.0-r1 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2024-03-11 11:04:50 UTC
slibtool_tinderbox has reproduced this issue with version 1.76.0 - Updating summary.
Comment 6 Agostino Sarubbo gentoo-dev 2024-03-21 09:11:59 UTC
binutils2.42_tinderbox has reproduced this issue with version 1.76.0-r1 - Updating summary.
Comment 7 Agostino Sarubbo gentoo-dev 2024-05-02 10:21:21 UTC
gcc14_tinderbox has reproduced this issue with version 1.77.1 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2024-06-05 06:54:54 UTC
lto_tinderbox has reproduced this issue with version 1.78.0 - Updating summary.
Comment 9 Anton Bolshakov 2024-07-29 03:16:13 UTC
 * QA Notice: Symbolic link /usr/lib/rust/libexec-1.79.0 points to /usr/lib/rust/1.79.0/libexec which does not exist.
>>> /usr/lib/rust/libexec-1.79.0 -> 1.79.0/libexec
Comment 10 Agostino Sarubbo gentoo-dev 2024-11-07 07:55:05 UTC
tinderbox_x86 has reproduced this issue with version 1.82.0 - Updating summary.
Comment 11 Larry the Git Cow gentoo-dev 2024-11-18 05:44:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c03602c25c7a357d4e391a20f72a30c1a880bb9e

commit c03602c25c7a357d4e391a20f72a30c1a880bb9e
Author:     Matt Jolly <kangie@gentoo.org>
AuthorDate: 2024-11-18 04:45:41 +0000
Commit:     Matt Jolly <kangie@gentoo.org>
CommitDate: 2024-11-18 05:39:59 +0000

    dev-lang/rust: libexec-${PV} symlink requires USE=rust-analyzer
    
    Until 1.72.0 `cargo-credential-1password` was installed in
    `/usr/lib/rust/${PV}/libexec`, and we were able to unconditionally
    symlink that for eselect-rust to use.
    
    This is no longer the case and most of the time users end up
    with a broken symlink for each rust slot in /usr/lib/rust.
    
    Gate the symlink creation with the appropriate USE and
    conditionally add `/usr/lib/rust/libexec` to the
    eselect-rust provider config.
    
    Closes: https://bugs.gentoo.org/915403
    Signed-off-by: Matt Jolly <kangie@gentoo.org>

 dev-lang/rust/rust-1.74.1-r100.ebuild | 5 ++---
 dev-lang/rust/rust-1.75.0-r100.ebuild | 5 ++---
 dev-lang/rust/rust-1.77.1-r100.ebuild | 5 ++---
 dev-lang/rust/rust-1.79.0-r100.ebuild | 5 ++---
 dev-lang/rust/rust-1.80.1-r100.ebuild | 5 ++---
 dev-lang/rust/rust-1.81.0-r100.ebuild | 5 ++---
 dev-lang/rust/rust-1.82.0-r100.ebuild | 4 ++--
 7 files changed, 14 insertions(+), 20 deletions(-)