Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913712 - dev-python/pyside2-5.15.10 pulls in alsa for qtwebengine
Summary: dev-python/pyside2-5.15.10 pulls in alsa for qtwebengine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nowa Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-06 10:02 UTC by Daniel Hiepler
Modified: 2023-10-06 07:43 UTC (History)
1 user (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 Daniel Hiepler 2023-09-06 10:02:20 UTC
The pyside ebuild depends on qtwebengine compiled with alsa support, even if it already has pulseaudio support compiled in.


Reproducible: Always

Steps to Reproduce:
1.emerge qtwebengine with -alsa +pulseaudio
2.emerge pyside with +webengine

Actual Results:  
alsa USE flag is required

Expected Results:  
no alsa USE flag requested if pulseaudio already fulfills actual dependency
Comment 1 Nowa Ammerlaan gentoo-dev 2023-09-06 11:30:12 UTC
Have you checked if it actually compiles with USE=-alsa? If I remember correctly there was a bug before where it failed without alsa, hence that it depends on it.
Comment 2 Daniel Hiepler 2023-09-06 12:49:16 UTC
yes, for me 5.15.10_p20230623 compiles fine. I use those USE flags:

jumbo-build pulseaudio system-icu widgets -alsa -bindist -debug -designer -geolocation -kerberos -screencast -test
Comment 3 Nowa Ammerlaan gentoo-dev 2023-09-07 13:38:52 UTC
I'll fix this in the next version bump.
Comment 4 Larry the Git Cow gentoo-dev 2023-10-06 07:43:26 UTC
The bug has been closed via the following commit(s):

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

commit 4bbed5bd3459954b0957e209c4d8f0e5f3e3a5cd
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-10-06 07:24:39 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-10-06 07:43:15 +0000

    dev-python/pyside2: depend on qtwebengine with either alsa or pulseaudio
    
    Closes: https://bugs.gentoo.org/913712
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../{pyside2-5.15.10-r1.ebuild => pyside2-5.15.10-r2.ebuild}        | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit ae616fe5468c13a14d8078ffa01b707bafc1a63a
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-10-06 07:07:09 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-10-06 07:43:14 +0000

    dev-python/pyside6: depend on qtwebengine with either alsa or pulseaudio
    
    Bug: https://bugs.gentoo.org/913712
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../pyside6/{pyside6-6.5.2-r2.ebuild => pyside6-6.5.2-r3.ebuild}    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)