Skip to content

Commit

Permalink
update set for "rust-rebuild" to adapt to changes in gentoo
Browse files Browse the repository at this point in the history
The virtual package is deprecated and we use an eclass to depend on an
any-of group for the relevant rust compilers. This set no longer does
anything without an update.

Start checking BDEPEND for the specific rust compilers. Also keep
checking for the virtual, so that "rust-rebuild" reports on packages
that have not, in fact, been rebuilt yet.

Bug: https://bugs.gentoo.org/906044
Signed-off-by: Eli Schwartz <[email protected]>
  • Loading branch information
eli-schwartz committed Nov 13, 2024
1 parent 6648a0d commit 2f11ed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cnf/sets/portage.conf
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ class = portage.sets.dbapi.UnavailableBinaries
[changed-deps]
class = portage.sets.dbapi.ChangedDepsSet

# Installed packages for which vdb *DEPEND includes virtual/rust
# Installed packages for which vdb *DEPEND includes rust
[rust-rebuild]
class = portage.sets.dbapi.VariableSet
variable = BDEPEND
includes = virtual/rust
includes = dev-lang/rust dev-lang/rust-bin virtual/rust

0 comments on commit 2f11ed5

Please sign in to comment.