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

Bug 388519

Summary: sys-devel/autoconf-archive-2011.09.17 fails checks when used with Python 3.x
Product: Gentoo Linux Reporter: Nikolay Orlyuk <virkony>
Component: [OLD] DevelopmentAssignee: Tomáš Chvátal (RETIRED) <scarabeus>
Status: RESOLVED UPSTREAM    
Severity: normal CC: andreis.vinogradovs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Compatibility with python3

Description Nikolay Orlyuk 2011-10-26 09:10:13 UTC
Many builds (including sys-apps/paludis-0.70.0) produces errors when python3.2 is selected as default Python interpreter.


Reproducible: Always

Actual Results:  
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 3.2
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python3.2/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python3.2/site-packages
checking whether your gcc is new enough to enable Python... yes
  File "<string>", line 1
    import sys; print sys.prefix
                        ^
SyntaxError: invalid syntax
checking for headers required to compile python extensions... /include/python3.2
checking for Python.h... no
  File "<string>", line 1
    import sys; print sys.exec_prefix
                        ^
SyntaxError: invalid syntax
configure: error: Python.h not found in /include/python3.2
Comment 1 Nikolay Orlyuk 2011-10-26 09:11:06 UTC
Created attachment 290853 [details, diff]
Compatibility with python3
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-11 13:30:57 UTC
Not for us to fix.

Please report this upstream.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-29 17:37:50 UTC
*** Bug 463648 has been marked as a duplicate of this bug. ***