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

Bug 473362

Summary: =x11-proto/xcb-proto-1.8-r3 fails to cross-compile with multilib-portage for none-default ABI
Product: Gentoo Linux Reporter: Thomas Sachau <tommy>
Component: [OLD] UnspecifiedAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: crabbedhaloablution, fuzzyray, maksbotan
Priority: Normal    
Version: autobuilds   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
Use ABI if set, otherwise default to DEFAULT_ABI

Description Thomas Sachau gentoo-dev 2013-06-15 13:11:24 UTC
The ebuild does create a builddir ending in *-${ABI}, but src_compile and src_install then reference a builddir ending in *-${DEFAULT_ABI}. Since $ABI != $DEFAULT_ABI when building for a none-default ABI (for example x86 on amd64), this fails because of a none-existant directory.
Comment 1 Thomas Sachau gentoo-dev 2013-06-15 13:12:39 UTC
Created attachment 350996 [details]
build.log
Comment 2 Paul Varner (RETIRED) gentoo-dev 2013-07-02 21:57:48 UTC
Created attachment 352472 [details, diff]
Use ABI if set, otherwise default to DEFAULT_ABI

Does this patch to the ebuild fix the issue?
Comment 3 Thomas Sachau gentoo-dev 2013-09-20 15:12:29 UTC
(In reply to Paul Varner from comment #2)
> Created attachment 352472 [details, diff] [details, diff]
> Use ABI if set, otherwise default to DEFAULT_ABI
> 
> Does this patch to the ebuild fix the issue?

seems like i missed your comment, yes, this patch to the ebuild fixes the issue. Since bug 471644 is a duplicate of this, it will also fix that bug.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-09-20 16:14:47 UTC
If you verified it to work, feel free to apply this patch.
Comment 5 Thomas Sachau gentoo-dev 2013-09-20 18:01:43 UTC
applied
Comment 6 Thomas Sachau gentoo-dev 2013-09-20 18:03:04 UTC
*** Bug 471644 has been marked as a duplicate of this bug. ***
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-09-23 16:01:10 UTC
This lead to bug 485752.
Comment 8 Thomas Sachau gentoo-dev 2013-09-23 17:05:40 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #7)
> This lead to bug 485752.

It did not, bug 485752 is completly seperate. While there is a missing $, which results in ...-DEFAULT_ABI instead of e.g. ...-amd64 for S, this is unrelated to python eclasses using something different for S and existed before my change.