Package: pam-dbus
Version: 0.1-1
Severity: important
Justification: fails to build from source

Presumably due to an upstream build-system bug, pam-dbus neglects to
use -fPIC despite checking for it, resulting in a build failure on
amd64 (though surprisingly not on other architectures which I thought
were also strict):

http://buildd.debian.org/fetch.cgi?pkg=pam-dbus;ver=0.1-1;arch=amd64;stamp=1224940876

checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
[...]
make[3]: Entering directory `/build/buildd/pam-dbus-0.1/src'
gcc -DHAVE_CONFIG_H -I. -I. -I..    -DSBINDIR=\"/usr/sbin\" 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include -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   -g -O2 -pipe -Wall -L/lib 
-c -o pam_dbus_so-pam_dbus.o `test -f 'pam_dbus.c' || echo './'`pam_dbus.c
/bin/sh ../libtool --mode=link gcc -DSBINDIR=\"/usr/sbin\" 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include -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   -g -O2 -pipe -Wall -L/lib 
  -o pam_dbus.so -shared --strip-all pam_dbus_so-pam_dbus.o -ldbus-glib-1 
-ldbus-1 -lgobject-2.0 -lglib-2.0 -ldbus-1   -lglib-2.0   -ldl -lpam -lpam_misc
mkdir .libs
gcc -DSBINDIR=\"/usr/sbin\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -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 
-g -O2 -pipe -Wall -o pam_dbus.so -shared --strip-all pam_dbus_so-pam_dbus.o  
-L/lib -ldbus-glib-1 /usr/lib/libgobject-2.0.so -ldbus-1 
/usr/lib/libglib-2.0.so -ldl -lpam -lpam_misc  
/usr/bin/ld: pam_dbus_so-pam_dbus.o: relocation R_X86_64_32 against `a local 
symbol' can not be used when making a shared object; recompile with -fPIC
pam_dbus_so-pam_dbus.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [pam_dbus.so] Error 1
make[3]: Leaving directory `/build/buildd/pam-dbus-0.1/src'

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to