| Summary: | dev-python/egenix-mx-base-3.2.3 ImportError: cannot import name customize_compiler | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Anton Kochkov <anton.kochkov> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | anton.kochkov, patrick |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
full build log
emerge --info output |
||
|
Description
Anton Kochkov
2012-04-20 05:11:13 UTC
Created attachment 309581 [details]
emerge --info output
*** Bug 412611 has been marked as a duplicate of this bug. *** How did you manage this? Two of you in 2 days.
archtester egenix-mx-base # ebuild egenix-mx-base-3.2.3.ebuild clean install
Writing /mnt/gen2/TmpDir/portage/dev-python/egenix-mx-base-3.2.3/temp/images/2.7/usr/lib64/python2.7/site-packages/egenix_mx_base-3.2.3-py2.7.egg-info
>>> Completed installing egenix-mx-base-3.2.3 into /mnt/gen2/TmpDir/portage/dev-python/egenix-mx-base-3.2.3/image/
archtester egenix-mx-base # ls -ld /usr/lib64/python2.5/distutils/ccompiler.py
-rw-r--r-- 1 root root 52191 Feb 5 19:07 /usr/lib64/python2.5/distutils/ccompiler.py
archtester egenix-mx-base # ls -ld /usr/lib64/python2.6/distutils/ccompiler.py
-rw-r--r-- 1 root root 48863 Feb 8 20:17 /usr/lib64/python2.6/distutils/ccompiler.py
archtester egenix-mx-base # ls -ld /usr/lib64/python2.7/distutils/ccompiler.py
-rw-r--r-- 1 root root 49098 Apr 20 09:22 /usr/lib64/python2.7/distutils/ccompiler.py
archtester egenix-mx-base # ls -ld /usr/lib64/python3.1/distutils/ccompiler.py
-rw-r--r-- 1 root root 47577 Apr 4 15:52 /usr/lib64/python3.1/distutils/ccompiler.py
archtester egenix-mx-base # ls -ld /usr/lib64/python3.2/distutils/ccompiler.py
-rw-r--r-- 1 root root 47554 Apr 4 15:49 /usr/lib64/python3.2/distutils/ccompiler.py
# grep customize_compiler /usr/lib64/python2.5/distutils/ccompiler.py
# grep customize_compiler /usr/lib64/python2.6/distutils/ccompiler.py
# grep customize_compiler /usr/lib64/python2.7/distutils/ccompiler.py
def customize_compiler(compiler):
# grep customize_compiler /usr/lib64/python3.1/distutils/ccompiler.py
# grep customize_compiler /usr/lib64/python3.2/distutils/ccompiler.py
So customize_compiler is defined in /usr/lib64/python2.7/distutils/ccompiler.py
egenix-mx-base # USE_PYTHON=2.5 ebuild egenix-mx-base-3.2.3.ebuild install
egenix-mx-base # USE_PYTHON=2.6 ebuild egenix-mx-base-3.2.3.ebuild install
egenix-mx-base # USE_PYTHON=2.7 ebuild egenix-mx-base-3.2.3.ebuild install
ALL work.
egenix-mx-base # USE_PYTHON=3.1 ebuild egenix-mx-base-3.2.3.ebuild clean install
can't work because python3 is restricted.
I can only figure you've somehow lost your customize_compiler def in distutils, which is at face value absurd. Check with
# grep customize_compiler /usr/lib64/python2.7/distutils/ccompiler.py
*** This bug has been marked as a duplicate of bug 412611 *** |