User talk:Sam/Portage help/Circular dependencies

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 08:26, 25 June 2024 (UTC)
:: Your reply ~~~~

harfbuzz and freetype

Talk status
This discussion is still ongoing.

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)

pulseaudio related circular dependency

Talk status
This discussion is still ongoing.

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)