On Sunday 16 February 2025 07:10:17 Greenwich Mean Time Grant Edwards wrote:
> On 2025-02-15, Michael <confabul...@kintzios.com> wrote:

> > As I understand it from the contents of /var/db/repos/gentoo/app-office/
> > libreoffice-bin/libreoffice-bin-24.2.7.2.ebuild the binary 'flavor' being
> > fetched and installed from the servers is either kde or gnome specific,
> > with or without Java.  This depends on the kde/gnome/java USE flags set
> > in your system.
> 
> I don't have any of those flags enabled:
> 
>     $ sudo emerge -av libreoffice-bin
> 
>     These are the packages that would be merged, in order:
> 
>     Calculating dependencies... done!
>     Dependency resolution took 3.03 s (backtrack: 0/20).
> 
>     [ebuild   R    ] app-office/libreoffice-bin-24.2.7.2::gentoo 
> USE="-gnome -java -kde" PYTHON_SINGLE_TARGET="python3_12" 0 KiB

Oh! I see.  Then if qt5 is not set in your system libreoffice-bin should not 
try to pull in such a dependency, unless ... it is hardcoded in it.


> > Anyway, it shouldn't be too onerous to test unmerging dev-qt/qtx11extras,
> > then run 'emerge -t -p -D -v @world' and see what is trying to pull it
> > back in.
> 
> Once again: NOTHING IS PULLING IT IN.  That's why emerge --depclean wants
> to remove it.

Something has already pulled it in, if depclean is now trying to remove it and 
according to depclean the culprit looks like libreoffice-bin.  I assumed a USE 
flag was set for this to occur, but you clarified no such USE flag is set.


> > If it is libreoffice-bin which asks to rebuild qtx11extras and not
> > some other Qt or kde package, then this would explain your depclean
> > result and ... confuse me even more.  :-/
> 
> I don't understand why you think something on my system has a
> dependency on qtx11extras.

I accepted it as a corollary of qtx11extras having been installed in your 
system and now depclean wanting to remove it.  The cause of qtx11extras being 
present in your system escapes me.


> > [...]
> > 
> > The above confirms USE="qt5" plus USE="X" is pulling in in
> > dev-qt/qtx11extras as a dependency for the pinentry package.
> 
> I don't have the qt5 USE flag enabled, so pinentry is not trying to
> pull in qtx11extras.
> 
> Nothing on my system is has qtx11extras as a dependency.
> 
> However, something on my system (libreoffice-bin) requires
> qtx11extras.

Right, Eli's reply with his dive into the build shows libreoffice-bin has 
qtx11extras hardcoded as a dependency.  Which explains the conundrum.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to