| Summary: | sys-libs/libieee1284-0.2.11-r4 : /.../ieee1284module.c:20:20: fatal error: Python.h: No such file or directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | martin, StormByte, vityokster |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=634218 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge-info.txt
config.log.tbz2 emerge-history.txt environment etc.portage.tbz2 sys-libs:libieee1284-0.2.11-r4:20170527-043300.log temp.tbz2 |
||
|
Description
Toralf Förster
2017-05-27 07:37:20 UTC
Created attachment 474490 [details]
emerge-info.txt
Created attachment 474492 [details]
config.log.tbz2
Created attachment 474494 [details]
emerge-history.txt
Created attachment 474496 [details]
environment
Created attachment 474498 [details]
etc.portage.tbz2
Created attachment 474500 [details]
sys-libs:libieee1284-0.2.11-r4:20170527-043300.log
Created attachment 474502 [details]
temp.tbz2
A patch is simple: append-cflags `python2-config --includes` fixes the problem. Probably the problem should better be fixed upstream, though. I think the relevant thing here is that it is failing to detect python version, that can be seen in configure stage:
checking for python version... File "<string>", line 1
import sys; print sys.version[:3]
^
SyntaxError: invalid syntax
checking for python platform... File "<string>", line 1
import sys; print sys.platform
^
SyntaxError: invalid syntax
Because later, in CFLAGS, the includes are being appended correctly, like:
-I/usr/include/python
That is missing the 2.7, because the variable of the python version is empty,
*** Bug 624580 has been marked as a duplicate of this bug. *** [master 8c950f9ec68] sys-libs/libieee1284: python needs to be handled for both arches in multilib (#619810) 1 file changed, 48 insertions(+) create mode 100644 sys-libs/libieee1284/libieee1284-0.2.11-r5.ebuild The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=728e570925f881201953985c72fbda4351d871c0 commit 728e570925f881201953985c72fbda4351d871c0 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2017-10-29 17:08:07 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2017-10-29 17:08:40 +0000 sys-libs/libieee1284: Rev bump to fix multilib usage The fix from bug 619810 (commit 8c950f9ec6) was wrong and caused the breakage seen in bug 634218. Thanks to Mike Gilbert for finding the root cause for bug 619810. Fixes: https://bugs.gentoo.org/634218 Bug: https://bugs.gentoo.org/619810 Package-Manager: Portage-2.3.13, Repoman-2.3.4 RepoMan-Options: --force sys-libs/libieee1284/libieee1284-0.2.11-r6.ebuild | 48 +++++++++++++++++++++++ 1 file changed, 48 insertions(+)} |