Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to output of USE mismatches?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1483

PostPosted: Tue Aug 06, 2024 2:54 pm    Post subject: how to output of USE mismatches? Reply with quote

It is too much of possible USE configurations. I just want to get a hint from emerge. But I don't know how to show it.[/bug]
Code:
# emerge -DN --with-bdeps=y --with-bdeps-auto=y --complete-graph=y --binpkg-changed-deps=y  --getbinpkgonly  --autounmask=y --autounmask-use=y --usepkg=y  app-office/libreoffice

Local copy of remote index is up-to-date and will be used.

Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in order:

Calculating dependencies  ... done!
Dependency resolution took 4.40 s (backtrack: 0/20).

!!! All ebuilds that could satisfy "app-office/libreoffice" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-office/libreoffice-24.2.4.2-r1::gentoo (masked by: use flag configuration mismatch)
- app-office/libreoffice-7.6.7.2::gentoo (masked by: use flag configuration mismatch)
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1900

PostPosted: Tue Aug 06, 2024 3:08 pm    Post subject: Reply with quote

Add options --binpkg-respect-use=n --pretend --verbose.
CAUTION: Do not use --binpkg-respect-use=n without --pretend as the resulting binaries may be broken
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2380

PostPosted: Tue Aug 06, 2024 5:26 pm    Post subject: Reply with quote

You are missing --verbose. Had you added it, you would have seen a list of possible use changes at the end of emerge output.

Here's an example from my world update:

Code:
!!! The following binary packages have been ignored due to non matching USE:

    =x11-libs/libdrm-2.4.122 video_cards_intel video_cards_nouveau
    =app-text/texlive-core-2023-r10 -xetex
    =dev-python/PyQt5-5.15.11 bluetooth declarative


For example it says I need to add video_cards_intel and video_cards_nouveau to libdrm so that the binary package can be used.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum