Mailinglist Archive: opensuse-buildservice (260 mails)

< Previous Next >
[opensuse-buildservice] Error building python-keyring for Ubuntu:9.10
I've been trying to build python-keyring for Ubuntu:9.10 for our local
deployment of osc 0.123, but I'm getting this error:

creating build/temp.linux-x86_64-2.6/keyring/backends
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -Wall -g -O2 -fPIC -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gnome-keyring-1
-I/usr/include/python2.6 -c keyring/backends/gnome_keyring.c -o
build/temp.linux-x86_64-2.6/keyring/backends/gnome_keyring.o
In file included from /usr/include/python2.6/Python.h:8,
from keyring/backends/gnome_keyring.c:8:
/usr/include/python2.6/pyconfig.h:1028:1: warning: "_POSIX_C_SOURCE"
redefined
In file included from /usr/include/limits.h:27,

from /usr/lib/gcc/x86_64-linux-gnu/4.4.1/include-fixed/limits.h:122,

from /usr/lib/gcc/x86_64-linux-gnu/4.4.1/include-fixed/syslimits.h:7,

from /usr/lib/gcc/x86_64-linux-gnu/4.4.1/include-fixed/limits.h:11,
from /usr/lib/glib-2.0/include/glibconfig.h:11,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from keyring/backends/gnome_keyring.c:4:
/usr/include/features.h:210:1: warning: this is the location of the
previous definition
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-Bsymbolic-functions -Wall -g -O2
build/temp.linux-x86_64-2.6/keyring/backends/gnome_keyring.o -ldbus-1
-lpthread -lrt -lgnome-keyring -lglib-2.0 -o
build/lib.linux-x86_64-2.6/gnome_keyring.so
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libgnome-keyring.a(gnome-keyring.o):
relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libgnome-keyring.a:
could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
make: *** [build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

The error seems to be complaining about building the gnome_keyring
backend against the static libgnome-keyring. I believe the makefile is
auto-generated by setup.py, so I'm not sure how I force the build to use
the .so instead of the .a. Has anyone else tried building
python-keyring for a Debian or Ubuntu-based platform?

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups