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
Closes: #1399
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
  • Loading branch information
eli-schwartz authored and floppym committed Nov 18, 2024
1 parent 149971c commit c990345
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 c990345

Please sign in to comment.