Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950215 - x11-wm/xpra-6.0.1-r1: require dev-util/nvidia-cuda-toolkit if USE="video_cards_nvidia"
Summary: x11-wm/xpra-6.0.1-r1: require dev-util/nvidia-cuda-toolkit if USE="video_card...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Benda Xu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-24 04:46 UTC by Zhixu Liu
Modified: 2025-03-01 18:30 UTC (History)
4 users (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 Zhixu Liu 2025-02-24 04:46:56 UTC
if USE="video_cards_nvidia" is enabled, nvidia-cuda-toolkit is required at build time at least, otherwise build will failed with:

unable to find nvcc


Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2025-02-24 10:04:11 UTC
Haven't looked at the package myself, but note that this should use USE=cuda rather than video_cards_nvidia if it actually needs nvidia-cuda-toolkit.
Comment 2 Zhixu Liu 2025-02-24 14:46:31 UTC
yes, i haven't run this package yet, so don't know whether nvidia-drivers is required.
Comment 3 Jonathan Lovelace 2025-03-01 18:30:31 UTC
When I tried to build on my new machine with video_cards_nvidia and with nvidia-cuda-toolkit installed but without USE=cuda, I got compilation failures (I guess because the xpra ebuild only sets NVCC_PREPEND_FLAGS when USE=cuda but the build process tries to build CUDA code anyway), but with USE=cuda it builds without error (though its test phase fails some tests).