Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473362 - =x11-proto/xcb-proto-1.8-r3 fails to cross-compile with multilib-portage for none-default ABI
Summary: =x11-proto/xcb-proto-1.8-r3 fails to cross-compile with multilib-portage for ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 471644 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-15 13:11 UTC by Thomas Sachau
Modified: 2013-09-23 17:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,7.51 KB, text/plain)
2013-06-15 13:12 UTC, Thomas Sachau
Details
Use ABI if set, otherwise default to DEFAULT_ABI (xcb-proto.patch,596 bytes, patch)
2013-07-02 21:57 UTC, Paul Varner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.