Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474360 - dev-python/pywebkitgtk-1.1.8-r1 emerge fails on Python 3.x system with configure: error: could not find Python headers
Summary: dev-python/pywebkitgtk-1.1.8-r1 emerge fails on Python 3.x system with config...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-22 21:21 UTC by Jason Lamb
Modified: 2013-06-23 15:27 UTC (History)
4 users (show)

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


Attachments
build log (pywebkitgtk-1.1.8-r1-build.log,6.53 KB, text/plain)
2013-06-22 21:21 UTC, Jason Lamb
Details
emerge --info (emerge-info.log,6.21 KB, text/plain)
2013-06-22 21:22 UTC, Jason Lamb
Details
fixed ebuild (pywebkitgtk-1.1.8-r2.ebuild,844 bytes, text/plain)
2013-06-22 21:23 UTC, Jason Lamb
Details
ebuild (pywebkitgtk-1.1.8-r1.ebuild,1.57 KB, text/plain)
2013-06-23 15:06 UTC, Ian Delaney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Lamb 2013-06-22 21:21:19 UTC
dev-python/pywebkitgtk-1.1.8-r1 emerge fails on Python 3.x system with configure: error: could not find Python headers if python 3.x is selected as the system interpreter. If python 2.x is selected then it emerges cleanly.

Reproducible: Always
Comment 1 Jason Lamb 2013-06-22 21:21:39 UTC
Created attachment 351682 [details]
build log
Comment 2 Jason Lamb 2013-06-22 21:22:00 UTC
Created attachment 351684 [details]
emerge --info
Comment 3 Jason Lamb 2013-06-22 21:23:48 UTC
Created attachment 351686 [details]
fixed ebuild

Fixed by changing the inherit line from;

inherit python-r1

to;

inherit python-single-r1
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-06-23 11:40:14 UTC
@proxy-maint, your proxied maintainer e-mail from metadata.xml doesn't match anyone on bugzie. Please fix the metadata.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-06-23 11:42:20 UTC
This ebuild does inherit python-r1 but doesn't use it at all... python_configure_all() is only used by distutils-r1 and looks totally irrelevant here.

I suggest trying autotools-utils + python_foreach_impl autotools-utils_src_XXX for each phase in question.
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2013-06-23 15:06:29 UTC
Created attachment 351748 [details]
ebuild

almost there
Comment 7 Mike Gilbert gentoo-dev 2013-06-23 15:27:21 UTC
+  23 Jun 2013; Mike Gilbert <floppym@gentoo.org> pywebkitgtk-1.1.8-r1.ebuild:
+  Use autotools-utils for out-of-source building, bug 474360.