| Summary: | dev-lang/python-2.7.8 and dev-lang/python-3.3.5 cross-compile failure with ncurses[-unicode] | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Mike Gilbert <floppym> |
| Component: | [OLD] Unspecified | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
python-3.3.5-r1 build log
python-2.7.8 build log |
||
Created attachment 382186 [details]
python-2.7.8 build log
I guess this happens only when the build system has sys-libs/ncurses[unicode], but the cross-compile target has sys-libs/ncurses[-unicode]. And also possibly limited on amd64 systems to those with LIBDIR_x86=lib. There is probably some broken code that detects /usr/include/ncursesw and /usr/lib/libncursesw.so from the build system and tries to use it for the cross-compile. cross building ncurses-5.9-r3 you get alot of:
"/usr/include/ncursesw" is unsafe for cross-compilation
This comes from:
use unicode && do_configure widec --enable-widec --includedir="${EPREFIX}"/usr/include/ncursesw
in the ebuild.
I haven't figured out what to replace it with, any ideas?
For ncurses, see https://bugs.gentoo.org/show_bug.cgi?id=522586 maybe your python problem is similar Mass closing of bugs reported against old versions of dev-lang/python. If the problem still occurs with the current versions (i.e. newest in each visible slot), feel free to reopen. |
Created attachment 382184 [details] python-3.3.5-r1 build log In file included from /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-lang/python-3.3.5-r1/work/ Python-3.3.5/Include/py_curses.h:50:0, from /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-lang/python-3.3.5-r1/work/ Python-3.3.5/Modules/_cursesmodule.c:113: /usr/include/ncursesw/curses.h:60:34: fatal error: ncursesw/ncurses_dll.h: No such file or directory #include <ncursesw/ncurses_dll.h> ^ compilation terminated.