User talk:Sam/Portage help/Circular dependencies
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (
~~~~
), and indent successive comments with colons (:
).
Add new sections at the bottom of the page, under a heading (== ==
). Please remember to mark sections as "open for discussion" using {{talk|open}}
, so they will show up in the list of open discussions.harfbuzz and freetype
USE=-* is wrong and unnecessary in every case.
Because freetype has very few dependencies, there is a much simpler solution in many, many cases on first install:
root #
USE="-harfbuzz" emerge --oneshot media-libs/freetype
Nothing in a bare environment requires it.
One of the few things to force pull it in is pango which none of the freetype deps should be referencing.
--Grknight (talk) 20:12, 13 August 2021 (UTC)
Well, it's not wrong here (the aim is to allow configure + compilation to complete with minimial dependencies), but I agree it's not ideal to use it. I've adjusted it slightly for now but I don't think it's perfect yet - I think I've overcomplicated it.
Could you give me your thoughts now? Feel free to simplify the set of commands although I think having the nodeps option is worthwhile as a secondary option (but we can express it differently).
(Thanks for noticing the page by the way!)
--Sam (talk) 02:03, 14 August 2021 (UTC)
Seldom reported problem enabling USE pulseaudio is due to circular dep:
media-libs/libpulse -> media-libs/libsndfile -> media-sound/mpg123 -> media-sound/pulseaudio -> media-libs/libpulse
A working solution is merging libsndfile first with USE=minimal:
root #
USE="minimal" emerge --oneshot media-libs/libsndfile
--Garrison (talk) 07:12, 18 March 2023 (UTC)
- Hi! Thanks for the heads up. I Don't think Sam would mind you changing the article yourself, and I'm sure you can do a better job than me... if not, shall I try to put this through in the article myself ? - contributor's guide -- Ris (talk) 09:23, 24 March 2023 (UTC)