pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lang/python33 fails building _decimal extension



Hello.

Building lang/python33 fails for me.  It fails while building the
_decimal extension.  If I download the source tarball from python.org
and build outside of pkgsrc, it fails in the same way, so it's likely
not a pkgsrc-specific problem.  Also, lang/python32 builds OK for me.

This is on RHEL 5.9 (x86_64) with GCC 4.1.2.

I did the following:

$ cd ~/pkgsrc/lang/python33
$ bmake install clean clean-depends

Here's the narrowest error output:

===
gcc -pthread -shared -L. -L/usr/lib64 -Wl,-R/usr/lib64 -L/home/jlmuir/pkg/lib 
-Wl,-R/home/jlmuir/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -L/home/jlmuir/pkg/lib 
-Wl,-R/home/jlmuir/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -L/home/jlmuir/pkg/lib 
-Wl,-R/home/jlmuir/pkg/lib -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/_decimal.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/basearith.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/constants.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/context.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/convolute.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/crt.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/difradix2.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/fnt.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/fourstep.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/io.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/memory.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/mpdecimal.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/numbertheory.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/sixstep.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/transpose.o
 -L. -L/usr/lib64 -L/home/jlmuir/pkg/lib -lpython3.3 -o 
build/lib.linux-x86_64-3.3/_decimal.so
/usr/bin/ld: 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/basearith.o:
 relocation R_X86_64_PC32 against `mprime_rdx' can not be used when making a 
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status

Python build finished, but the necessary bits to build these modules were not 
found:
_gdbm              _sqlite3           _tkinter
To find the necessary bits, look in setup.py in detect_modules() for the 
module's name.


Failed to build these modules:
_decimal
===

So it's complaining about PIC, but basearith.o was compiled with -fPIC
(?).

Here's the whole output for building the _decimal extension:

===
building '_decimal' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/_decimal.c 
-o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/_decimal.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/basearith.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/basearith.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/constants.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/constants.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/context.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/context.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/convolute.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/convolute.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/crt.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/crt.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/difradix2.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/difradix2.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/fnt.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/fnt.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/fourstep.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/fourstep.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/io.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/io.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/memory.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/memory.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/mpdecimal.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/mpdecimal.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/numbertheory.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/numbertheory.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/sixstep.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/sixstep.o
 -Wextra -Wno-missing-field-initializers
gcc -fPIC -fno-strict-aliasing -DNDEBUG -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 -Wno-error 
-I/usr/include -I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -O2 
-Wno-error -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include -DCONFIG_64=1 -DASM=1 -IModules/_decimal/libmpdec 
-I./Include -I. -IInclude -I/usr/include -I/home/jlmuir/pkg/include/db4 
-I/home/jlmuir/pkg/include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Include 
-I/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2 -c 
/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/transpose.c
 -o 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/transpose.o
 -Wextra -Wno-missing-field-initializers
gcc -pthread -shared -L. -L/usr/lib64 -Wl,-R/usr/lib64 -L/home/jlmuir/pkg/lib 
-Wl,-R/home/jlmuir/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -L/home/jlmuir/pkg/lib 
-Wl,-R/home/jlmuir/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -L/home/jlmuir/pkg/lib 
-Wl,-R/home/jlmuir/pkg/lib -O2 -Wno-error -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include -I/usr/include 
-I/home/jlmuir/pkg/include/db4 -I/home/jlmuir/pkg/include 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/_decimal.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/basearith.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/constants.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/context.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/convolute.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/crt.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/difradix2.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/fnt.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/fourstep.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/io.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/memory.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/mpdecimal.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/numbertheory.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/sixstep.o
 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/transpose.o
 -L. -L/usr/lib64 -L/home/jlmuir/pkg/lib -lpython3.3 -o 
build/lib.linux-x86_64-3.3/_decimal.so
/usr/bin/ld: 
build/temp.linux-x86_64-3.3/home/jlmuir/pkgsrc/lang/python33/work/Python-3.3.2/Modules/_decimal/libmpdec/basearith.o:
 relocation R_X86_64_PC32 against `mprime_rdx' can not be used when making a 
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status

Python build finished, but the necessary bits to build these modules were not 
found:
_gdbm              _sqlite3           _tkinter
To find the necessary bits, look in setup.py in detect_modules() for the 
module's name.


Failed to build these modules:
_decimal
===

The build fails later with:

===
=> Automatic manual page handling
pkg_create: can't stat 
`/home/jlmuir/pkgsrc/lang/python33/work/.destdir/home/jlmuir/pkg/lib/python3.3/lib-dynload/_decimal.so'
=> Creating binary package 
/home/jlmuir/pkgsrc/lang/python33/work/.packages/python33-3.3.2nb1.tgz
pkg_create: can't stat 
`/home/jlmuir/pkgsrc/lang/python33/work/.destdir/home/jlmuir/pkg/lib/python3.3/lib-dynload/_decimal.so'
pkg_create: lstat failed for file lib/python3.3/lib-dynload/_decimal.so: No 
such file or directory
*** Error code 2

Stop.
bmake: stopped in /home/jlmuir/pkgsrc/lang/python33
*** Error code 1

Stop.
bmake: stopped in /home/jlmuir/pkgsrc/lang/python33
===

Thanks,

Lewis


Home | Main Index | Thread Index | Old Index