Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877769 - media-video/pipewire: ABI_X86-"32" does not pull in alsa-libs and libudev with ABI_X86="32", making the build fail
Summary: media-video/pipewire: ABI_X86-"32" does not pull in alsa-libs and libudev wit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-20 17:41 UTC by marius
Modified: 2023-01-26 00:28 UTC (History)
3 users (show)

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


Attachments
build.log.gz (pipewire-0.3.61:20221228-013804.log.gz,3.93 KB, application/gzip)
2022-12-28 01:59 UTC, William Throwe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marius 2022-10-20 17:41:39 UTC
When pulling pipewire with abi_x86_32 it doesn't request to change alsa-libs and libudev to abi_x86_32 as well, making the build fail.
Comment 1 Mike Gilbert gentoo-dev 2022-10-20 17:56:52 UTC
Please attach a build log showing the failure.
Comment 2 William Throwe 2022-12-28 01:59:39 UTC
Created attachment 845277 [details]
build.log.gz

Not the original reporter, but here's a log.

Note that this is with USE=-udev, and the ebuild looks like it expects libudev to not be needed in that case.  So I think this is probably not actually related to being a 32-bit build, it's just that no one will notice a missing dependency on the native libudev.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-26 00:20:06 UTC
Right, you actually need udev for alsa or v4l2 as well. It's easier to just make it unconditional.
Comment 4 Larry the Git Cow gentoo-dev 2023-01-26 00:28:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eafa284430635de9084ff2e4486e0f2b9d7bf899

commit eafa284430635de9084ff2e4486e0f2b9d7bf899
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-26 00:23:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-26 00:27:23 +0000

    media-video/pipewire: make udev unconditional
    
    It was missing REQUIRED_USE logic (which is messy and not particularly user
    friendly) and it's needed for alsa or v4l. It's easier to just hard-require
    it, especially given the things needing it increased.
    
    Bug: https://bugs.gentoo.org/841647
    Closes: https://bugs.gentoo.org/877769
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{pipewire-0.3.64-r1.ebuild => pipewire-0.3.64-r2.ebuild} | 12 +++++++-----
 media-video/pipewire/pipewire-9999.ebuild                    | 12 +++++++-----
 2 files changed, 14 insertions(+), 10 deletions(-)