Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568686 - gnome-extra/gnome-builder-3.18.1[-python]: /usr/include/pygobject-3.0/pygobject.h:5:20: fatal error: Python.h: No such file or directory
Summary: gnome-extra/gnome-builder-3.18.1[-python]: /usr/include/pygobject-3.0/pygobje...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-18 22:22 UTC by Kobboi
Modified: 2017-01-12 01:12 UTC (History)
0 users

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


Attachments
build.log (build.log,671.33 KB, text/plain)
2015-12-18 22:22 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2015-12-18 22:22:19 UTC
Compiles fine with USE=python

In file included from pygobject/ide-pygobject-script.c:28:0:
/usr/include/pygobject-3.0/pygobject.h:5:20: fatal error: Python.h: No such file or directory


Reproducible: Always
Comment 1 Kobboi 2015-12-18 22:22:59 UTC
Created attachment 419648 [details]
build.log
Comment 2 Kobboi 2015-12-18 22:32:11 UTC
$ eix pygobject
[I] dev-python/pygobject
     Available versions:  
     (2)    2.28.6-r55{tbz2}
     (3)    3.14.0 3.16.2 (~)3.18.2{tbz2}
       {+cairo examples libffi test +threads PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5"}
     Installed versions:  2.28.6-r55(2){tbz2}(23:06:23 18-12-15)(examples -libffi -test PYTHON_TARGETS="python2_7") 3.18.2(3){tbz2}(23:07:10 18-12-15)(cairo examples threads -test PYTHON_TARGETS="python2_7 python3_4 -python3_3 -python3_5")
     Homepage:            https://wiki.gnome.org/Projects/PyGObject
     Description:         GLib's GObject library bindings for Python
Comment 3 Pacho Ramos gentoo-dev 2016-07-03 16:38:54 UTC
please retry with 3.20
Comment 4 Mart Raudsepp gentoo-dev 2016-09-22 15:47:53 UTC
Python shouldn't be optional in gnome-builder, or at least not like this. The python-pack-plugin stuff is actually pure C code and doesn't depend on anything python, so the configure arguments are wrong, and python itself remains automagic, but then error due to no pygobject getting pulled in while on gentoo of course the python stuff is seen at buildtime.
I've tweaked by version of 3.20 already in these regards, but we are stuck on a sandbox issue over at bug 587894 (which is why the 3.20 was reverted from main tree after comment #3)
Comment 5 Mart Raudsepp gentoo-dev 2017-01-12 01:12:54 UTC
Shouldn't happen with 3.22.4 (python is not optional)