Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568168 - dev-libs/libpeas compilation failure with newer pythons. ../../loaders/python/peas-python-internal.h:31:20: fatal error: Python.h: No such file or directory
Summary: dev-libs/libpeas compilation failure with newer pythons. ../../loaders/python...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-abi-letters
  Show dependency tree
 
Reported: 2015-12-13 15:17 UTC by Oleh
Modified: 2015-12-22 19:29 UTC (History)
1 user (show)

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


Attachments
build.log (libpeas.txt,42.11 KB, text/plain)
2015-12-13 15:19 UTC, Oleh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2015-12-13 15:17:56 UTC
with switching to usptream config, headers and abi in pythons, dev-libs/libpeas failing to build.

Reproducible: Always

Steps to Reproduce:
1. update python
2. run world updates or emerge =dev-libs/libpeas-1.14.0-r1
3.
Actual Results:  
l.c  -fPIC -DPIC -o .libs/peas-python-internal.o
In file included from ../../loaders/python/peas-python-internal.c:26:0:
../../loaders/python/peas-python-internal.h:31:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.
Makefile:581: recipe for target 'peas-python-internal.lo' failed
make[3]: *** [peas-python-internal.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ../../loaders/python/peas-plugin-loader-python.c:28:0:
../../loaders/python/peas-python-internal.h:31:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.
Makefile:574: recipe for target 'peas-plugin-loader-python.lo' failed
make[3]: *** [peas-plugin-loader-python.lo] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-libs/libpeas-1.14.0-r1/work/libpeas-1.14.0/loaders/python3'
Makefile:446: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libpeas-1.14.0-r1/work/libpeas-1.14.0/loaders'
Makefile:499: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libpeas-1.14.0-r1/work/libpeas-1.14.0'
Makefile:431: recipe for target 'all' failed
make: *** [all] Error 2
 [31;01m*[0m ERROR: dev-libs/libpeas-1.14.0-r1::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=dev-libs/libpeas-1.14.0-r1::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-libs/libpeas-1.14.0-r1::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-libs/libpeas-1.14.0-r1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/libpeas-1.14.0-r1/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/dev-libs/libpeas-1.14.0-r1/work/libpeas-1.14.0'
 [31;01m*[0m S: '/var/tmp/portage/dev-libs/libpeas-1.14.0-r1/work/libpeas-1.14.0'
Comment 1 Oleh 2015-12-13 15:19:10 UTC
Created attachment 419116 [details]
build.log
Comment 2 Mike Gilbert gentoo-dev 2015-12-13 15:26:30 UTC
This was actually resolved via a workaround added in python-3.3.5-r5. We added a symlink for python3.3-config.

Still want to keep the bug here for tracking purposes.
Comment 3 Pacho Ramos gentoo-dev 2015-12-14 12:34:12 UTC
@python, do we need to fix something on libpeas side for this? :/
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-12-14 14:26:04 UTC
Was this with up-to-date version of libpeas::gentoo? I've fixed this before ABIFLAGS were committed, the fix is still there and it still works for me.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-12-22 08:04:20 UTC
I had this for a moment too but it disappeared with update pythons.
Comment 6 Mike Gilbert gentoo-dev 2015-12-22 19:29:12 UTC
I think we are keeping the python-config symlink as a permanent fix.