Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485752 - x11-proto/xcb-proto-1.8-r3 - what is DEFAULT_ABI?
Summary: x11-proto/xcb-proto-1.8-r3 - what is DEFAULT_ABI?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-23 15:44 UTC by Jeroen Roovers (RETIRED)
Modified: 2013-09-24 13:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2013-09-23 15:44:19 UTC
The eclasses which xcb-proto-1.8-r3.ebuild inherits, write the following directories with PYTHON_TARGETS="python2_7 python3_3":

${WORKDIR}/${P}-default/
${WORKDIR}/${P}-python2_7/
${WORKDIR}/${P}-python3_3/

Yet the ebuild itself expects:

${WORKDIR}/${P}-${ABI:-DEFAULT_ABI}

This looks like a python.eclass leftover that was never "migrated".


Index: xcb-proto-1.8-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.8-r3.ebuild,v
retrieving revision 1.4
diff -u -B -r1.4 xcb-proto-1.8-r3.ebuild
--- xcb-proto-1.8-r3.ebuild     20 Sep 2013 18:00:56 -0000      1.4
+++ xcb-proto-1.8-r3.ebuild     23 Sep 2013 15:39:36 -0000
@@ -32,14 +32,14 @@
        xorg-2_src_compile

        python_foreach_impl autotools-utils_src_compile -C xcbgen \
-               top_builddir="${WORKDIR}/${P}-${ABI:-DEFAULT_ABI}"
+               top_builddir="${WORKDIR}/${P}-${ABI:-default}"
 }
 
 src_install() {
        xorg-2_src_install

        python_foreach_impl autotools-utils_src_install -C xcbgen \
-               top_builddir="${WORKDIR}/${P}-${ABI:-DEFAULT_ABI}"
+               top_builddir="${WORKDIR}/${P}-${ABI:-default}"
 }
 
 pkg_postinst() {
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2013-09-24 06:35:39 UTC
It fails on a ~x86 setup!!!
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2013-09-24 06:44:13 UTC
If I revert those changes, it works for me.
Comment 3 James Shaw (Simba7) 2013-09-24 06:45:25 UTC
Works for me, too. Thanks!
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-24 06:57:23 UTC
This looks like broken non-maintainer commit.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-24 07:00:49 UTC
I've fixed it for you. Next time, please test your commits with *regular* portage.