Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955370 - media-libs/nvidia-vaapi-driver: 0.0.13 gstream with mulitib required but it is optional
Summary: media-libs/nvidia-vaapi-driver: 0.0.13 gstream with mulitib required but it i...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-03 21:35 UTC by Vit
Modified: 2025-05-05 15:51 UTC (History)
3 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 Vit 2025-05-03 21:35:26 UTC
You will failed to build if you don't have multilib profile and kernel support, because of optional "media-libs/gst-plugins-bad". You may see that meson.build of package have:
```
gst_codecs_deps = dependency('gstreamer-codecparsers-1.0', required: false)
```

So, "gstreamer" is optional and required for "VP9" support only!

I successfully have built without it.
Comment 2 Joonas Niilola gentoo-dev 2025-05-05 15:51:51 UTC
And as stated in the linked PR:
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies

"When a package has automagic dependencies, there are only two things that can be done:

 1: the first is to state the dependency as mandatory, no matter what the users put in their USE variable, but that might mean that some support that people don't want is always enable and its dependencies pulled in;
 2: the other is to fix the build system to be able to disable the dependency at build time even if it's present on the system"

Please fix upstream meson configuration by making it properly optional:
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies#Meson
https://github.com/elFarto/nvidia-vaapi-driver/pulls