gcc -shared -L. -L. -fno-strict-aliasing -DNDEBUG -march=athlon64 -O2 -pipe -I. -IInclude -I./Include build/temp.freebsd-8.0-RELEASE-amd64-2.6/usr/home/matt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r2/work/Python-2.6.2/Modules/_ctypes/_ctypes.o build/temp.freebsd-8.0-RELEASE-amd64-2.6/usr/home/matt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r2/work/Python-2.6.2/Modules/_ctypes/callbacks.o build/temp.freebsd-8.0-RELEASE-amd64-2.6/usr/home/matt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r2/work/Python-2.6.2/Modules/_ctypes/callproc.o build/temp.freebsd-8.0-RELEASE-amd64-2.6/usr/home/matt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r2/work/Python-2.6.2/Modules/_ctypes/stgdict.o build/temp.freebsd-8.0-RELEASE-amd64-2.6/usr/home/matt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r2/work/Python-2.6.2/Modules/_ctypes/cfield.o build/temp.freebsd-8.0-RELEASE-amd64-2.6/usr/home/matt/gentoo/var/tmp/portage/dev-lang/python-2.6.2-r2/work/Python-2.6.2/Modules/_ctypes/malloc_closure.o -L/usr/home/matt/gentoo/usr/lib -L. -lffi -lpython2.6 -o build/lib.freebsd-8.0-RELEASE-amd64-2.6/_ctypes.so *** WARNING: renaming "_ctypes" since importing it failed: Shared object "libffi.so.5" not found, required by "_ctypes.so" Failed to find the necessary bits to build these modules: _bsddb _sqlite3 _tkinter bsddb185 dl gdbm imageop linuxaudiodev spwd sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Portage 2.2.00.15123-prefix (prefix/bsd/freebsd/8.0/x64, gcc-4.2.1, unavailable, 8.0-RELEASE amd64) ================================================================= System uname: FreeBSD-8.0-RELEASE-amd64-64bit-ELF Timestamp of tree: Sun, 20 Dec 2009 22:53:41 +0000 app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.10.2-r00.1 sys-devel/binutils: 2.20.51.0.3 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6b ACCEPT_KEYWORDS="~x64-freebsd" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-freebsd8.0" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-freebsd8.0" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/home/matt/gentoo/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="" [ebuild R ] dev-lang/python-2.6.4 USE="ncurses readline ssl threads xml (-aqua) (-berkdb) -build -doc -examples -gdbm -ipv6 -sqlite -tk -ucs2 -wininst" 0 kB
is libffi installed, if yes, what libs can you find? (echo $EPREFIX/usr/lib/libffi.*)
I get that too on opensuse-11.2 during bootstrapping process x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -L. -fno-strict-aliasing -DNDEBUG -O2 -pipe -I. -IInclude -I./Include -I/opt/scisoft64/usr/include build/temp.linux-x86_6 4-2.6/opt/scisoft64/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Modules/_ctypes/_ctypes.o build/temp.linux-x86_64-2.6/opt/scisoft64/var/tmp/portage/dev-lang/p ython-2.6.4/work/Python-2.6.4/Modules/_ctypes/callbacks.o build/temp.linux-x86_64-2.6/opt/scisoft64/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Modules/_ctype s/callproc.o build/temp.linux-x86_64-2.6/opt/scisoft64/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Modules/_ctypes/stgdict.o build/temp.linux-x86_64-2.6/opt/s cisoft64/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Modules/_ctypes/cfield.o build/temp.linux-x86_64-2.6/opt/scisoft64/var/tmp/portage/dev-lang/python-2.6.4/ work/Python-2.6.4/Modules/_ctypes/malloc_closure.o -L/opt/scisoft64/usr/lib -L. -lffi -lpython2.6 -o build/lib.linux-x86_64-2.6/_ctypes.so *** WARNING: renaming "_ctypes" since importing it failed: libffi.so.5: cannot open shared object file: No such file or directory Failed to find the necessary bits to build these modules: _bsddb _hashlib _sqlite3 _ssl _tkinter bsddb185 bz2 dbm dl gdbm imageop sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: _ctypes # ll scisoft64/usr/lib/libffi* -rw-r--r-- 1 root root 787 27. Dez 19:12 scisoft64/usr/lib/libffi.la lrwxrwxrwx 1 root root 16 27. Dez 19:12 scisoft64/usr/lib/libffi.so -> libffi.so.5.0.10 lrwxrwxrwx 1 root root 16 27. Dez 19:12 scisoft64/usr/lib/libffi.so.5 -> libffi.so.5.0.10 -rwxr-xr-x 1 root root 30904 27. Dez 19:12 scisoft64/usr/lib/libffi.so.5.0.10
Created attachment 214355 [details] bes-emerge.info emerge.info from opensuse 11.2 box
please post the output of: binutils-config -l
# binutils-config -l [1] x86_64-pc-linux-gnu-2.20.51.0.3
please post the output of binutils-config 1
# binutils-config 1 * Switching to x86_64-pc-linux-gnu-2.20.51.0.4 ... [ ok ] * Please remember to run: * (bash) # source /opt/scisoft64/etc/profile * or * (tcsh) # source /opt/scisoft64/etc/csh.login
please try emerging again now
i checked binutils-config and re emerged, seems to work fine (on freebsd 8.0 64 bit). think i had a broken toolchain before with newer packages( gcc and bash), ill have to dig more.
ok, assuming earlier error caused this