Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943131 - dev-lang/rust-*-r100: DEPEND="…${LLVM_DEPEND}…" should be DEPEND="…${LLVM_DEPEND[*]}…"
Summary: dev-lang/rust-*-r100: DEPEND="…${LLVM_DEPEND}…" should be DEPEND="…${LLVM_DEP...
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: 2024-11-09 12:14 UTC by Matt Whitlock
Modified: 2024-11-09 12:35 UTC (History)
1 user (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 Matt Whitlock 2024-11-09 12:14:55 UTC
A mistake was made in the dev-lang/rust-*-r100 ebuilds: LLVM_DEPEND is a Bash array but is substituted into DEPEND as a scalar, causing all but the first LLVM target to be omitted from the deps.

I ran into this when my system failed to build dev-lang/rust-1.77.1-r100 because LLVM 17 isn't installed and the Rust ebuild didn't pull it in.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 12:19:50 UTC
Heh, we JUST debugged this on IRC. Thanks.
Comment 2 Larry the Git Cow gentoo-dev 2024-11-09 12:25:44 UTC
The bug has been closed via the following commit(s):

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

commit c7be6e54f62e55282fe9d3be2f4c60ae0716ca87
Author:     Matt Jolly <kangie@gentoo.org>
AuthorDate: 2024-11-09 12:19:12 +0000
Commit:     Matt Jolly <kangie@gentoo.org>
CommitDate: 2024-11-09 12:25:00 +0000

    dev-lang/rust: update DEPEND
    
    `LLVM_DEPEND` is actually an array so we need to expand it else
    we only get the first element.
    
    Closes: https://bugs.gentoo.org/943131
    Signed-off-by: Matt Jolly <kangie@gentoo.org>

 dev-lang/rust/rust-1.71.1-r100.ebuild | 2 +-
 dev-lang/rust/rust-1.74.1-r100.ebuild | 2 +-
 dev-lang/rust/rust-1.75.0-r100.ebuild | 2 +-
 dev-lang/rust/rust-1.77.1-r100.ebuild | 2 +-
 dev-lang/rust/rust-1.79.0-r100.ebuild | 2 +-
 dev-lang/rust/rust-1.80.1-r100.ebuild | 2 +-
 dev-lang/rust/rust-1.81.0-r100.ebuild | 2 +-
 dev-lang/rust/rust-1.82.0-r100.ebuild | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)
Comment 3 Matt Jolly gentoo-dev 2024-11-09 12:35:53 UTC
Thanks for the report Matt!