Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806052 - media-sound/pulseaudio-15.0[abi_x86_32] missing 32 bit versions of required libraries and fails during configure
Summary: media-sound/pulseaudio-15.0[abi_x86_32] missing 32 bit versions of required l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://gitlab.freedesktop.org/pulsea...
Whiteboard:
Keywords: PATCH, PullRequest
: 808537 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-08-01 18:28 UTC by Luke
Modified: 2021-08-18 20:10 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge --info '=media-soundpulseaudio-15.0 gentoo'.txt,6.73 KB, text/plain)
2021-08-02 20:49 UTC, Robert
Details
build log (build log.txt,10.14 KB, text/plain)
2021-08-02 20:50 UTC, Robert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke 2021-08-01 18:28:00 UTC
this is my first bug, please be nice :)
I have media-libs/libsdl2[pulseaudio] as a dependency and it depends on media-sound/pulseaudio[abi_x86_32].
media-sound/pulseaudio-15.0[abi_x86_32] fails at configuring because it is missing the 32 bit versions of some libraries. I found that the following use flags were required to get it building:

x11-libs/libICE abi_x86_32
x11-libs/libSM abi_x86_32
x11-libs/libXtst abi_x86_32

With this, pulseaudio builds and satisfies the build for libsdl2.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-01 18:28:56 UTC
Could you include the build.log with it failing (and emerge --info) But yeah, this was mentioned in #gentoo before, so I don't think it's strictly necessary.

Cheers for the report!
Comment 2 Luke 2021-08-01 18:39:25 UTC
(In reply to Sam James from comment #1)
> Could you include the build.log with it failing (and emerge --info) But
> yeah, this was mentioned in #gentoo before, so I don't think it's strictly
> necessary.
> 
> Cheers for the report!

The build log is different for each missing dependency, should I include all of them?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-01 18:40:07 UTC
(In reply to Luke from comment #2)
> (In reply to Sam James from comment #1)
> > Could you include the build.log with it failing (and emerge --info) But
> > yeah, this was mentioned in #gentoo before, so I don't think it's strictly
> > necessary.
> > 
> > Cheers for the report!
> 
> The build log is different for each missing dependency, should I include all
> of them?

I don't want to make you do all that work, just one is enough I think to get the idea because they're all in the same block in the ebuild (so the idea is we should reassess the IIRC non-daemon multilib deps).
Comment 4 Luke 2021-08-01 18:47:59 UTC
(In reply to Sam James from comment #3)
> (In reply to Luke from comment #2)
> > (In reply to Sam James from comment #1)
> > > Could you include the build.log with it failing (and emerge --info) But
> > > yeah, this was mentioned in #gentoo before, so I don't think it's strictly
> > > necessary.
> > > 
> > > Cheers for the report!
> > 
> > The build log is different for each missing dependency, should I include all
> > of them?
> 
> I don't want to make you do all that work, just one is enough I think to get
> the idea because they're all in the same block in the ebuild (so the idea is
> we should reassess the IIRC non-daemon multilib deps).

http://sprunge.us/VRudY4
it fails in this order: ice, sm, xtst
Comment 5 Robert 2021-08-02 13:11:31 UTC
Good morning all. I also seem to have the same issue and thought I would share my logs also. It appears to match up with Luke's problem as well. Thanks for looking into this.

emerge --info = https://pastebin.com/f5Wwj2dT

build log = https://pastebin.com/5NGRkLLh
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-02 15:14:10 UTC
(Please attach logs for posterity rather than external sites)
Comment 7 Robert 2021-08-02 20:49:30 UTC
Created attachment 729774 [details]
emerge --info
Comment 8 Robert 2021-08-02 20:50:11 UTC
Created attachment 729777 [details]
build log
Comment 9 Niklāvs Koļesņikovs 2021-08-03 06:18:32 UTC
Since I do not believe they end up being used with USE=-daemon, it's likely the build system just hasn't been updated to skip those dependency checks for daemonless builds.
Comment 10 Igor V. Kovalenko 2021-08-03 07:29:38 UTC
These 3 deps are only required for pulseaudio daemon, so can be safely disabled in meson build.

I added a fix for this upstream https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/613
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-16 04:29:42 UTC
*** Bug 808537 has been marked as a duplicate of this bug. ***
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-16 04:39:07 UTC
(In reply to Igor V. Kovalenko from comment #10)
> These 3 deps are only required for pulseaudio daemon, so can be safely
> disabled in meson build.
> 
> I added a fix for this upstream
> https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/613

Thank you!
Comment 13 Larry the Git Cow gentoo-dev 2021-08-18 20:10:53 UTC
The bug has been closed via the following commit(s):

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

commit 148c7751fcab10497a6a780ab15c48bd782f2b56
Author:     Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
AuthorDate: 2021-08-18 19:31:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-18 20:10:45 +0000

    media-sound/pulseaudio: Require xice, xsm and xtst for daemon only
    
    Backport change 42af3ee08381faa5807fde68d4c8ec0d7ad5e9a5 from upstream master.
    
    Closes: https://bugs.gentoo.org/806052
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/22020
    Signed-off-by: Sam James <sam@gentoo.org>

 ...pulseaudio-15.0-xice-xsm-xtst-daemon-only.patch | 25 ++++++++++++++++++++++
 media-sound/pulseaudio/pulseaudio-15.0.ebuild      |  4 ++++
 2 files changed, 29 insertions(+)