Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619538 - dev-libs/satyr: new package needed by libreport/abrt (fails to build due to not finding Python.h for python3)
Summary: dev-libs/satyr: new package needed by libreport/abrt (fails to build due to n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 467726
  Show dependency tree
 
Reported: 2017-05-24 11:30 UTC by Pacho Ramos
Modified: 2018-05-22 16:09 UTC (History)
2 users (show)

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


Attachments
satyr-0.23.ebuild (satyr-0.23.ebuild,1.15 KB, text/plain)
2017-05-24 11:30 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2017-05-24 11:30:57 UTC
Created attachment 474014 [details]
satyr-0.23.ebuild

I am working on bumping abrt but I got blocked by this problems when trying to build for multiple python versions:
In file included from py_gdb_sharedlib.c:1:0:
py_common.h:32:20: fatal error: Python.h: No such file or directory
compilation terminated.
In file included from py_core_stacktrace.c:20:0:
py_base_stacktrace.h:32:20: fatal error: Python.h: No such file or directory
compilation terminated.
make[2]: *** [Makefile:824: _satyr_la-py_gdb_sharedlib.lo] Error 1
make[2]: *** [Makefile:810: _satyr_la-py_core_stacktrace.lo] Error 1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../lib -I../include -I../lib -D_GNU_SOURCE -Wall -Wwrite-strings -fno-strict-aliasing -I/usr/include/python2.6 -O2 -pipe -march=native -fno-stack-protector -c py_base_frame.c  -fPIC -DPIC -o .libs/_satyr_la-py_base_frame.o
In file included from py_cluster.c:1:0:
py_common.h:32:20: fatal error: Python.h: No such file or directory
compilation terminated.
make[2]: *** [Makefile:768: _satyr_la-py_cluster.lo] Error 1
In file included from py_base_frame.c:20:0:
py_common.h:32:20: fatal error: Python.h: No such file or directory
compilation terminated.
make[2]: *** [Makefile:775: _satyr_la-py_base_frame.lo] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/satyr-0.23/work/satyr-0.23-python3_4/python'
make[1]: *** [Makefile:1237: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/satyr-0.23/work/satyr-0.23-python3_4/python'
make: *** [Makefile:657: all-recursive] Error 1

In summary, Python.h is not found, but I am unsure if it's caused by something special in our python installation system :/

Do you have any idea about how to make it find Python.h for python3* ? (it works for python2)
Comment 1 Larry the Git Cow gentoo-dev 2018-05-22 16:09:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e9e8ff169019c6c772cfeae7a17bc3b66361c5e

commit 8e9e8ff169019c6c772cfeae7a17bc3b66361c5e
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2018-05-22 16:09:08 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2018-05-22 16:09:08 +0000

    dev-libs/satyr: new package
    
    Package is to support the revbump of dev-libs/libreport.
    
    Closes: https://bugs.gentoo.org/619538
    Package-Manager: Portage-2.3.38, Repoman-2.3.9

 dev-libs/satyr/Manifest          |  1 +
 dev-libs/satyr/metadata.xml      |  8 +++++++
 dev-libs/satyr/satyr-0.26.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 54 insertions(+)