Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 525230

Summary: =dev-libs/glib-2.40.2 with USE=abi_x86_32 fail on =sys-libs/zlib-1.2.8-r1 dependency on x86_64: emerge: there are no ebuilds to satisfy ">=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,...]
Product: Gentoo Linux Reporter: tharvik
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
emerge -pqv glib

Description tharvik 2014-10-13 09:00:18 UTC
glib with ABI_X86="32" fail to find an ebuild to satisfy ">=sys-libs/zlib-1.2.8-r1[abi_x86_32(-),...]". If you want to emerge skype with apulse on x86_64, you need glib with abi_x86_32.

Reproducible: Always

Steps to Reproduce:
1. echo '>=dev-libs/glib-2.40.2 abi_x86_32' >> /etc/portage/package.use
2. emerge glib
Actual Results:  
emerge: there are no ebuilds to satisfy ">=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]".
(dependency required by "dev-libs/glib-2.40.2" [ebuild])
(dependency required by "glib" [argument])

Expected Results:  
Depending on a existing zlib
Comment 1 tharvik 2014-10-13 09:00:45 UTC
Created attachment 386588 [details]
emerge --info
Comment 2 tharvik 2014-10-13 09:01:53 UTC
Created attachment 386590 [details]
emerge -pqv glib
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-13 09:09:15 UTC
(In reply to tharvik from comment #0)

> 1. echo '>=dev-libs/glib-2.40.2 abi_x86_32' >> /etc/portage/package.use

You forgot to do the same for sys-libs/zlib. Generally that USE flag should be enabled globally.
Comment 4 tharvik 2014-10-13 11:48:14 UTC
> You forgot to do the same for sys-libs/zlib. Generally that USE flag should
> be enabled globally.

* echo '=sys-libs/zlib-1.2.8-r1 abi_x86_32' >> /etc/portage/package.use
* emerge glib

It gives me the same error.

And if I do:
* emerge -pqv zlib
It gaves me:
[ebuild   R   ] sys-libs/zlib-1.2.8-r1  USE="minizip -static-libs" ABI_X86="(64) (-32) (-x32)"
Because the ABI_X86 is autoselected. So glib depend on a flag which could not be set.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-13 13:07:02 UTC
(In reply to Jeroen Roovers from comment #3)

> Generally that USE flag should be enabled globally.

(In reply to tharvik from comment #4)
> > You forgot to do the same for sys-libs/zlib. Generally that USE flag should
> > be enabled globally.
> 
> * echo '=sys-libs/zlib-1.2.8-r1 abi_x86_32' >> /etc/portage/package.use
> * emerge glib
> 
> It gives me the same error.
> 
> And if I do:
> * emerge -pqv zlib
> It gaves me:
> [ebuild   R   ] sys-libs/zlib-1.2.8-r1  USE="minizip -static-libs"
> ABI_X86="(64) (-32) (-x32)"
> Because the ABI_X86 is autoselected. So glib depend on a flag which could
> not be set.

Please use our forums, IRC channels and mailing lists to get support.