View previous topic :: View next topic |
Author |
Message |
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2931 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Tue Apr 20, 2021 6:58 pm Post subject: Pulseaudio & qtmultimedia have circular dependencies |
|
|
Hi
I have an ALSA only setup. However I have the feeling that at some point I need to accept that pulseaudio is here to stay and that more software support it better than simple ALSA.
So I created a VM where I installed the same setup as my current system so I can test installing pulseaudio there, before I migrate my system.
When I look at the USE flags of pulseaudio there is equalizer which sounds like something that I need (do I? what does that really do?) And when I enable this USE flag via /etc/portage/package.use/pulseaudio
Code: |
media-sound/pulseaudio equalizer realtime
|
I get this error:
Code: |
(dev-python/PyQt5-5.15.2:0/0::gentoo, ebuild scheduled for merge) depends on
(dev-qt/qtmultimedia-5.15.2:5/5.15::gentoo, ebuild scheduled for merge) (buildtime)
(media-sound/pulseaudio-13.0-r1:0/0::gentoo, ebuild scheduled for merge) (buildtime)
(dev-python/PyQt5-5.15.2:0/0::gentoo, ebuild scheduled for merge) (runtime)
It might be possible to break this cycle
by applying any of the following changes:
- media-sound/pulseaudio-13.0-r1 (Change USE: -equalizer)
- media-sound/pulseaudio-13.0-r1 (Change USE: -qt5)
- dev-python/PyQt5-5.15.2 (Change USE: -multimedia)
- dev-qt/qtmultimedia-5.15.2 (Change USE: -pulseaudio)
|
Why is that? If I add -qt5 or -equalizer to the pulseaudio USE flags, then the error goes away. But I would like to know, why there is a circular dependency in the first place. And also (like I said already), what is the purpose of the equalizer USE Flag and why does pulseaudio depends on QT5? pavucontrol is a separate package, so I don't understand this.
Thanks _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Apr 20, 2021 7:10 pm Post subject: |
|
|
The most harmless might be this
Code: |
USE="-qt5 equalizer" emerge -1av pulseaudio
|
EDIT:NO apparently you need qt5.to run it.No ncurses or gtk option
Code: |
#qpaeq
There was an error importing needed libraries
Make sure you have qt5 and dbus-python installed
The error that occurred was:
No module named 'PyQt5'
|
_________________
|
|
Back to top |
|
|
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2931 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Tue Apr 20, 2021 8:11 pm Post subject: |
|
|
Thanks for the info. What is the point of this equalizer module? Is this something I really need if I want to lower/control the volume? Isn't that already covered by pavucontrol? _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9678 Location: almost Mile High in the USA
|
Posted: Wed Apr 21, 2021 12:02 am Post subject: |
|
|
Probably the circular dep is because one wants the pulseaudio headers and the other wants the other for GUI libraries/headers.
The correct way to build these is to muck with the USE flags to either not want the headers (build w/o sound) or build without GUI.
Then after it builds you can reinstall them with the USE flags set the way you want them (or reset) as now the "circular" dependency is satisfied as it's now installed, and things can go on as usual. The suggestions portage gives to break the cyclic dependencies tend to work fine to break the cycle.
So ultimately you may need to build some packages more than once - one to squeak past the dependency problem, second time to get all the features needed. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|