Summary: | media-video/pipewire-0.3.39 does not have an option to disable building pipewire-v4l2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jason Chan <graysonchsi> |
Component: | Current packages | Assignee: | Sam James <sam> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | 89q1r14hd, asturm, kajanos, leio |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gitlab.freedesktop.org/pipewire/pipewire/-/compare/0.3.38...0.3.39?from_project_id=4753&page=3&view=inline#ca9bb7eff80503c97c83505e8acea4002fd87ac6 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log of pipewire-0.3.39 showing pipewire-v4l2 being built
Build log with pipewire-v4l2 disabled -O3 -flto -fno-semantic-interposition |
Description
Jason Chan
2021-10-25 05:42:38 UTC
Created attachment 746553 [details]
Build log of pipewire-0.3.39 showing pipewire-v4l2 being built
Created attachment 746556 [details]
Build log with pipewire-v4l2 disabled
Created attachment 746559 [details]
-O3 -flto -fno-semantic-interposition
The first two logs show the package configuring, so no action to take. ;) The third log is failure that's almost certainly due to weird flags and may not even count as a bug but I don't know since you're using some _weird_ flags. It is not imppossible that I have missed one of the pw-v4l2 source files including a V4L2 specific header but a quick glance only finds /usr/include/linux/videodev2.h which belongs to sys-kernel/linux-headers package. If you could provide a log that showed a missing include or library, that would help to pinpoint and fix the issue (if there is such). ;) Furthermore I checked the Portage recorded dependencies and I'm not seeing any dynamic linking with anything V4L2: /usr/lib64/pipewire-0.3/v4l2/libpw-v4l2.so libpipewire-0.3.so.0,libdl.so.2,libpthread.so.0,libc.so.6 pw-v4l2 is a very small program that has no perceivable impact on compile time and is currently not known to have anything but the most common and trivial dependencies that are always satisfied - therefore per Gentoo guidelines it should not be controlled by a USE flag. You can use `MYMESONARGS="-Dpipewire-v4l2=disabled" emerge -v1 media-video/pipewire` to work around that (untested but seems like I got the syntax right) but it looks like you already knew that. Because v4l IUSE is already present, it would be okay to add it under that but the two features are actually orthogonal to one another (PipeWire can in theory use libcamera while exposing emulated v4l2 interface to clients). As far as I'm concerned, you'll need to find an actual reason why we should not follow upstream choice and always build pw-v4l2. Therefore I recommend closing this as NEEDINFO (or straight to NOTABUG). Sorry the early typo, I meant the logs show the package building and passing all the tests not configuring. ;) |