Content:
As of late 2024, the way Gentoo packages Rust has changed. The first I learned of this change was through a warning message when emerging updates through Portage.
!!! The following installed packages are masked:
- virtual/rust-1.81.0-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Matt Jolly <kangie@gentoo.org> (2024-11-09)
# The legacy Rust ebuilds are no longer maintained and have been
# replaced by the new slotted Rust. Removal in 30 days.
A quick look through the Gentoo news list shows no information about this change, though the Gentoo package directory shows the virtual package was masked on 9th November 2024.
To switch to the new packages and stop this warning from showing, you’ll need to remove the now deprecated virtual/rust package.
emerge -cav =virtual/rust-1.81.0-r1
Packages requiring rust should no longer depend on this package, but if you have something installed which still uses it, you won’t be able to remove the virtual package.
Packages in the Gentoo repo should be fine, but if you’re using any unofficial ebuilds which still require the virtual package, be sure to file a bug so the package can be updated.
