Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-alt
Hello,
to save me hours of debuggins, I hope to find some hints for the bunch
of Python related issus. I add the full build log as attachment and at
the bottom of the mail some extracts of it.
To get this far I needed to comment out a line the ebuild:
src_prepare() {
# Ensure that internal copies of expat, libffi and zlib are not used.
rm -fr Modules/expat
# rm -fr Modules/_ctypes/libffi*
rm -fr Modules/zlib
Else it ends with this ( and there are no more libffi messages):
error: /home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.4-r1/work/Python-2.6.4/Modules/_ctypes/libffi:
No such file or directory
So it seems it can only work with the internal copy of libffi. Why?
In Cygwin there is a runtime:
/usr/bin/cygffi-4.dll
In Prefix there is:
/home/prefix/gentoo/usr/bin/cygffi-5.dll
/home/prefix/gentoo/usr/lib/libffi-3.0.9
/home/prefix/gentoo/usr/lib/libffi-3.0.9/include/ffi.h
/home/prefix/gentoo/usr/lib/libffi-3.0.9/include/ffitarget.h
/home/prefix/gentoo/usr/lib/libffi.dll.a
/home/prefix/gentoo/usr/lib/libffi.la
/home/prefix/gentoo/usr/lib/pkgconfig/libffi.pc
The other issus is a missing _PyFPE_counter. Is this likely
[ ] a bug in python
[ ] a bug in a patch
[ ] a library not found
Finally a also tested the old python-2.4.6. It is compiled but ends with:
* emake altinstall maninstall failed
Thank you for help
Al
./configure --prefix=/home/prefix/gentoo/usr --build=i686-pc-cygwin1.7
--host=i686-pc-cygwin1.7 --mandir=/home/prefix/gentoo/usr/share/man
--infodir=/home/prefix/gentoo/usr/share/info
--datadir=/home/prefix/gentoo/usr/share
--sysconfdir=/home/prefix/gentoo/etc
--localstatedir=/home/prefix/gentoo/var/lib --with-fpectl
--disable-ipv6 --with-threads --enable-unicode=ucs4
--infodir=${prefix}/share/info --mandir=${prefix}/share/man
--with-libc= --with-system-ffi --enable-shared
[...]
Creating library file: libpython2.6.dll.a
[...]
gcc -L/home/prefix/gentoo/usr/lib -L/home/prefix/gentoo/lib -L. -o
python.exe \
Modules/python.o \
libpython2.6.dll.a -ldl -lm
[...]
INFO: Can't locate Tcl/Tk libs and/or headers
[...]
building 'math' extension
gcc -fno-strict-aliasing -DNDEBUG -I.
-I/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/./Include
-I. -IInclude -I./Include -I/home/prefix/gentoo/usr/include
-I/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Include
-I/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5
-c /home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/mathmodule.c
-o build/temp.cygwin-1.7.7-i686-2.6/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/mathmodule.o
/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/mathmodule.c:
In function `math_fsum':
/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/mathmodule.c:574:
warning: passing arg 1 of `PyFPE_dummy' discards qualifiers from
pointer target type
gcc -shared -Wl,--enable-auto-image-base -L/home/prefix/gentoo/usr/lib
-L/home/prefix/gentoo/lib -L. -fno-strict-aliasing -DNDEBUG -I.
-IInclude -I./Include -I/home/prefix/gentoo/usr/include
build/temp.cygwin-1.7.7-i686-2.6/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/mathmodule.o
-L/home/prefix/gentoo/usr/lib -L/home/prefix/gentoo/lib -L. -lm
-lpython2.6 -o build/lib.cygwin-1.7.7-i686-2.6/math.dll
build/temp.cygwin-1.7.7-i686-2.6/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/mathmodule.o:mathmodule.c:(.text+0x3d1):
undefined reference to `_PyFPE_counter'
[...]
build/temp.cygwin-1.7.7-i686-2.6/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/mathmodule.o:mathmodule.c:(.text+0x2195):
undefined reference to `_PyFPE_counter'
collect2: ld returned 1 exit status
building 'strop' extension
gcc -fno-strict-aliasing -DNDEBUG -I.
-I/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/./Include
-I. -IInclude -I./Include -I/home/prefix/gentoo/usr/include
-I/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Include
-I/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5
-c /home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/stropmodule.c
-o build/temp.cygwin-1.7.7-i686-2.6/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/stropmodule.o
gcc -shared -Wl,--enable-auto-image-base -L/home/prefix/gentoo/usr/lib
-L/home/prefix/gentoo/lib -L. -fno-strict-aliasing -DNDEBUG -I.
-IInclude -I./Include -I/home/prefix/gentoo/usr/include
build/temp.cygwin-1.7.7-i686-2.6/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/stropmodule.o
-L/home/prefix/gentoo/usr/lib -L/home/prefix/gentoo/lib -L.
-lpython2.6 -o build/lib.cygwin-1.7.7-i686-2.6/strop.dll
build/temp.cygwin-1.7.7-i686-2.6/home/prefix/gentoo/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/stropmodule.o:stropmodule.c:(.text+0x1d2d):
undefined reference to `_PyFPE_counter'
[...]
collect2: ld returned 1 exit status
[...]
Failed to find the necessary bits to build these modules:
_bsddb _hashlib _sqlite3
_ssl _tkinter bsddb185
gdbm linuxaudiodev nis
ossaudiodev spwd sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for
the module's name.
Failed to build these modules:
cmath math strop
[...]
make: *** [sharedmods] Error 1
* ERROR: dev-lang/python-2.6.5-r2 failed:
* emake failed
|
|