can't compile subvertpy 0.8.5 on CentOS 5.6

Bug #841679 reported by Shining
This bug report is a duplicate of:  Bug #894659: Fails to build on NetBSD 5.1/amd64. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

OS: CentOS 5.6 x86_64
neon-devel-0.25.5-10.el5_4.1
neon-0.25.5-10.el5_4.1
subversion-devel-1.6.11-7.el5
subversion-1.6.11-7.el5
python-devel-2.4.3-43.el5
python-2.4.3-43.el5
subvertpy-0.8.5.tar.gz

./setup.py install
running install
running build
running build_py
running build_ext
building 'subvertpy.client' extension
gcc -pthread -shared build/temp.linux-x86_64-2.4/subvertpy/client.o build/temp.linux-x86_64-2.4/subvertpy/editor.o build/temp.linux-x86_64-2.4/subvertpy/util.o build/temp.linux-x86_64-2.4/subvertpy/_ra.o build/temp.linux-x86_64-2.4/subvertpy/wc.o -L/usr/lib -lsvn_client-1 -lsvn_subr-1 -lsvn_ra-1 -lsvn_wc-1 -o build/lib.linux-x86_64-2.4/subvertpy/client.so -lapr-1 -lpthread -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: build/temp.linux-x86_64-2.4/subvertpy/client.o: relocation R_X86_64_PC32 against `py_wc_notify_func' 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
error: command 'gcc' failed with exit status 1
[root@dbbox subvertpy-0.8.5]# ./setup.py clean
running clean
removing 'build/temp.linux-x86_64-2.4' (and everything under it)
[root@dbbox subvertpy-0.8.5]# ./setup.py install
running install
running build
running build_py
running build_ext
building 'subvertpy.client' extension
creating build/temp.linux-x86_64-2.4
creating build/temp.linux-x86_64-2.4/subvertpy
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/subversion-1 -Isubvertpy -I/usr/include/python2.4 -c subvertpy/client.c -o build/temp.linux-x86_64-2.4/subvertpy/client.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/subversion-1 -Isubvertpy -I/usr/include/python2.4 -c subvertpy/editor.c -o build/temp.linux-x86_64-2.4/subvertpy/editor.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/subversion-1 -Isubvertpy -I/usr/include/python2.4 -c subvertpy/util.c -o build/temp.linux-x86_64-2.4/subvertpy/util.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/subversion-1 -Isubvertpy -I/usr/include/python2.4 -c subvertpy/_ra.c -o build/temp.linux-x86_64-2.4/subvertpy/_ra.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/subversion-1 -Isubvertpy -I/usr/include/python2.4 -c subvertpy/wc.c -o build/temp.linux-x86_64-2.4/subvertpy/wc.o
subvertpy/wc.c: In function ‘adm_process_committed’:
subvertpy/wc.c:1205: warning: ‘svn_wc_process_committed4’ is deprecated (declared at /usr/include/subversion-1/svn_wc.h:3765)
subvertpy/wc.c: In function ‘get_pristine_copy_path’:
subvertpy/wc.c:2451: warning: ‘svn_wc_get_pristine_copy_path’ is deprecated (declared at /usr/include/subversion-1/svn_wc.h:4994)
gcc -pthread -shared build/temp.linux-x86_64-2.4/subvertpy/client.o build/temp.linux-x86_64-2.4/subvertpy/editor.o build/temp.linux-x86_64-2.4/subvertpy/util.o build/temp.linux-x86_64-2.4/subvertpy/_ra.o build/temp.linux-x86_64-2.4/subvertpy/wc.o -L/usr/lib -lsvn_client-1 -lsvn_subr-1 -lsvn_ra-1 -lsvn_wc-1 -o build/lib.linux-x86_64-2.4/subvertpy/client.so -lapr-1 -lpthread -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: build/temp.linux-x86_64-2.4/subvertpy/client.o: relocation R_X86_64_PC32 against `py_wc_notify_func' 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
error: command 'gcc' failed with exit status 1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.