Summary: | dev-lang/python-3.1.1 won't compille | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | radim <r.snajdr> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
radim
2009-09-02 07:44:03 UTC
Looks like you didn't paste enough, error is probably a few lines back. OK here is more i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -L. -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -I. -IInclude -I./Include build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/_ctypes.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/callbacks.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/callproc.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/stgdict.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/cfield.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/malloc_closure.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/prep_cif.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/x86/ffi.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/x86/sysv.o -L/usr/local/lib -L. -lpython3.1 -o build/lib.linux-i686-3.1/_ctypes.so Failed to build these modules: _tkinter running build_scripts creating build/scripts-3.1 copying and adjusting /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Tools/scripts/pydoc3 -> build/scripts-3.1 copying and adjusting /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Tools/scripts/idle3 -> build/scripts-3.1 copying and adjusting /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Tools/scripts/2to3 -> build/scripts-3.1 changing mode of build/scripts-3.1/pydoc3 from 644 to 755 changing mode of build/scripts-3.1/idle3 from 644 to 755 changing mode of build/scripts-3.1/2to3 from 644 to 755 make: *** [sharedmods] Error 1 *** Bug 283481 has been marked as a duplicate of this bug. *** or might be better like this: i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_tkinter.c -o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_tkinter.o In file included from /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_tkinter.c:67: /usr/include/tk.h:23:3: error: #error Tk 8.4 must be compiled with tcl.h from Tcl 8.4 creating build/temp.linux-i686-3.1/libffi checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... i686-pc-linux-gnu-gcc -pthread checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc -pthread accepts -g... yes checking for i686-pc-linux-gnu-gcc -pthread option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc -pthread... none checking dependency style of i686-pc-linux-gnu-gcc -pthread... none checking whether i686-pc-linux-gnu-gcc -pthread and cc understand -c and -o together... yes checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by i686-pc-linux-gnu-gcc -pthread... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -pthread -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ -pthread accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++ -pthread... none checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -pthread -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes checking the maximum length of command line arguments... 805306365 checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc -pthread object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if i686-pc-linux-gnu-gcc -pthread supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc -pthread option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc -pthread PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc -pthread static flag -static works... yes checking if i686-pc-linux-gnu-gcc -pthread supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc -pthread linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether to enable maintainer-specific portions of Makefiles... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for mmap... yes checking for sys/mman.h... (cached) yes checking for mmap... (cached) yes checking whether read-only mmap of a plain file works... yes checking whether mmap from /dev/zero works... yes checking for MAP_ANON(YMOUS)... yes checking whether mmap with MAP_ANON(YMOUS) works... yes checking for ANSI C header files... (cached) yes checking for memcpy... yes checking for working alloca.h... yes checking for alloca... yes checking for double... yes checking size of double... 8 checking for long double... yes checking size of long double... 12 checking whether byte ordering is bigendian... no checking assembler .cfi pseudo-op support... yes checking whether .eh_frame section should be read-only... yes checking for __attribute__((visibility("hidden")))... yes configure: creating ./config.status config.status: creating include/ffi.h config.status: creating fficonfig.py config.status: creating fficonfig.h config.status: linking /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/x86/ffitarget.h to include/ffitarget.h config.status: linking /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/include/ffi_common.h to include/ffi_common.h config.status: executing depfiles commands config.status: executing include commands config.status: executing src commands building '_ctypes' extension creating build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi creating build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src creating build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/x86 i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wa,--noexecstack -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/_ctypes.c -o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/_ctypes.o i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wa,--noexecstack -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/callbacks.c -o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/callbacks.o i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wa,--noexecstack -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/callproc.c -o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/callproc.o i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wa,--noexecstack -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/stgdict.c -o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/stgdict.o i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wa,--noexecstack -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/cfield.c -o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/cfield.o i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wa,--noexecstack -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/malloc_closure.c -o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/malloc_closure.o i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wa,--noexecstack -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/prep_cif.c -o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/prep_cif.o i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wa,--noexecstack -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/x86/ffi.c -o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/x86/ffi.o i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wa,--noexecstack -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c -Ibuild/temp.linux-i686-3.1/libffi/include -Ibuild/temp.linux-i686-3.1/libffi -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src -I. -I./Include -I/usr/local/include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1 -c /var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/x86/sysv.S -o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/x86/sysv.o i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -L. -fno-strict-aliasing -DNDEBUG -march=pentium-m -O2 -pipe -fomit-frame-pointer -I. -IInclude -I./Include build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/_ctypes.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/callbacks.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/callproc.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/stgdict.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/cfield.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/malloc_closure.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/prep_cif.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/x86/ffi.o build/temp.linux-i686-3.1/var/tmp/portage/dev-lang/python-3.1.1/work/Python-3.1.1/Modules/_ctypes/libffi/src/x86/sysv.o -L/usr/local/lib -L. -lpython3.1 -o build/lib.linux-i686-3.1/_ctypes.so Failed to build these modules: _tkinter Next time attach !!! And yes: /usr/include/tk.h:23:3: error: #error Tk 8.4 must be compiled with tcl.h from Tcl 8.4 so it's probably a mismatch between tcl and tk. my Tk is 8.5.7 nice -n 19 emerge -avD tk tcl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/tcl-8.5.7 USE="-debug -threads" 0 kB [ebuild R ] dev-lang/tk-8.5.7 USE="truetype -debug -threads" 0 kB Something must be wrong with your system. This is from tk.h of 8.5: #if (TCL_MAJOR_VERSION != 8) || (TCL_MINOR_VERSION != 5) # error Tk 8.5 must be compiled with tcl.h from Tcl 8.5 #endif Try reemerging both and see if there's something in /usr/local that's messing things up. Thanks, reemerging helped nice -n 19 emerge -avD tk tcl python |