Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388519 - sys-devel/autoconf-archive-2011.09.17 fails checks when used with Python 3.x
Summary: sys-devel/autoconf-archive-2011.09.17 fails checks when used with Python 3.x
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords:
: 463648 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-26 09:10 UTC by Nikolay Orlyuk
Modified: 2013-03-29 17:37 UTC (History)
1 user (show)

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


Attachments
Compatibility with python3 (2011.09.17-python3.patch,3.56 KB, patch)
2011-10-26 09:11 UTC, Nikolay Orlyuk
Details | Diff

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