Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compare 64bit packages vs 64bit+32bit packages
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
shoober420
Apprentice
Apprentice


Joined: 22 May 2017
Posts: 223

PostPosted: Sun Jun 20, 2021 7:39 pm    Post subject: compare 64bit packages vs 64bit+32bit packages Reply with quote

i’m trying to debug an issue i’m having. i want to make sure i have all the proper 32bit packages installed that are required. how can i compare a list of all my packages built with 64bit only vs packages built with 64+32bit so i can see if there’s a important 64bit packages that needs 32bit enabled?
_________________
https://www.github.com/shoober420
https://bandcamp.com/shoober420
https://steamcommunity.com/id/shoober420
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 473

PostPosted: Sun Jun 20, 2021 7:48 pm    Post subject: Reply with quote

ABI_X86 is a use expand variable, so you can just look for packages with 'abi_x86_32' set as a use flag.
TBQH portage should be doing this for you, but you can just grep -l abi_x86_32 /var/db/pkg/*/*/USE
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3875

PostPosted: Sun Jun 20, 2021 7:57 pm    Post subject: Reply with quote

Also
Code:

eix  --installed-with-use abi_x86_32

Also to make it clearer you can append an awk statement to
@Ralphred grep solution
Code:

grep  abi_x86_32 /var/db/pkg/*/*/USE | awk -F"/USE" '{ print $1 }'
#####SIMILARLY for the eix
eix  --installed-with-use abi_x86_32 | grep "\[I\]" | awk '{ print $2 }'

_________________
:)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21518

PostPosted: Sun Jun 20, 2021 10:01 pm    Post subject: Reply with quote

eix --only-names is easier than filtering the output afterward. If you insist on filtering the output, awk can apply its own filter, so there is no need for a grep.

Ralphred: shoober420 is engaged in an ongoing project to create and use live ebuilds of as many packages as possible, and so is frequently using custom ebuilds that may not be configured properly yet, so Portage cannot be relied on to get the right result here.
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 473

PostPosted: Mon Jun 21, 2021 12:51 am    Post subject: Reply with quote

Yeah Hu, his vulkan issue I assume. A gui front-end to eix is still on my to-do list; would love to see a full deptree with little clickable 'close' and 'open' buttons.
shoober420, a USE="vulkan abi_x86_32" emerge -pv wine-staging is always good for spotting missing 32bit libs in the gfx dep graph.
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