Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953963 - media-libs/mesa[video_cards_nouveau] should check for rust[rustfmt] or rust-bin[rustfmt]
Summary: media-libs/mesa[video_cards_nouveau] should check for rust[rustfmt] or rust-b...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-17 18:02 UTC by tkzv
Modified: 2025-04-19 20:40 UTC (History)
1 user (show)

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


Attachments
Log of the unsuccessful build (mesa-25.0.4-build.log.xz,53.64 KB, application/octet-stream)
2025-04-17 19:19 UTC, tkzv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tkzv 2025-04-17 18:02:11 UTC
In some cases media-libs/mesa needs rustfmt to build, otherwise it fails. I believe, the troubles started because of VIDEO_CARDS='nouveau', but I may be wrong. In this case Mesa should require dev-lang/rust[rustfmt] or dev-lang/rust-bin[rustfmt].

Observed for media-libs/mesa-24.3.4-r1 and media-libs/mesa-25.0.4, probably affects other versions too. The flags for Mesa, which build fails with dev-lang/rust[-rustfmt], but succeeds with dev-lang/rust[rustfmt] are: USE='X llvm opencl opengl osmesa proprietary-codecs vaapi vdpau vulkan wayland zstd', VIDEO_CARDS='nouveau nvk r600 radeon radeonsi zink'.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-17 18:07:05 UTC
A build.log would be helpful. One may well argue that it shouldn't need a linting tool at all and we should instead stop it doing that.
Comment 2 tkzv 2025-04-17 19:19:15 UTC
Created attachment 925158 [details]
Log of the unsuccessful build

Compressed log of the unsuccessful build.