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

Bug 461630

Summary: x11-libs/xpyb-1.3.1-r1 with python-3 - checking for python include dir... File "<string>", line 1 from distutils import sysconfig; print [...]
Product: Gentoo Linux Reporter: Jason Lamb <jason>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: x11-libs/xpyb-1.3.1-r1 complete build log
x11-libs/xpyb-1.3.1-r1 emerge info

Description Jason Lamb 2013-03-13 13:23:57 UTC
Trying to emerge x11-libs/xpyb-1.3.1-r1 with python-3 and setting python_targets_python3_2 and python_single_target_python3_2, or python_targets_python3_3 and python_single_target_python3_3, hangs during the configure phase when "checking for python include dir".

Reproducible: Always
Comment 1 Jason Lamb 2013-03-13 13:25:56 UTC
Created attachment 341886 [details]
x11-libs/xpyb-1.3.1-r1 complete build log
Comment 2 Jason Lamb 2013-03-13 13:26:19 UTC
Created attachment 341888 [details]
x11-libs/xpyb-1.3.1-r1 emerge info
Comment 3 Jason Lamb 2013-03-13 15:56:38 UTC
Correction.

This error occurs when setting python_single_target to a 3.x value, (tested setting it to both 3.2 and 3.3). Adding a 3.x value to python_targets doesn't produce this error. For example, it will emerge fine in my current environment with;

emerge -pqv xpyb
[ebuild   R   ] x11-libs/xpyb-1.3.1-r1  USE="(-selinux) -static-libs" PYTHON_SINGLE_TARGET="python2_7 -python2_5 -python2_6 -python3_1 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 python3_3 -python2_5 -python2_6 -python3_1"

If I try to change the PYTHON_SINGLE_TARGET value to either python3_2 or python3_3, this error will occur.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-05-01 09:40:20 UTC

*** This bug has been marked as a duplicate of bug 457528 ***