Package: libpam-encfs
Version: 0.1.4.4-5
Severity: normal
Tags: patch

Hello,

libpam-encfs failed to build in Ubuntu, because Ubuntu default LDFLAGS contain
multiple -Wl options. The build script only cleans up the first one.

ld --shared -x  -Bsymbolic-functions -Wl -z relro -o pam_encfs.so pam_encfs.o 
-lpam -lc
ld: unrecognized option '-Wl'
ld: use the --help option for usage information
make[1]: *** [pam_encfs.so] Error 1

Full build logs can be found at
https://launchpad.net/ubuntu/+source/libpam-encfs/0.1.4.4-5

The following patch was applied. Please consider it for its inclusion in
Debian.

bpam-encfs-0.1.4.4/debian/rules libpam-encfs-0.1.4.4/debian/rules
--- libpam-encfs-0.1.4.4/debian/rules   2012-05-23 08:05:05.000000000 +0000
+++ libpam-encfs-0.1.4.4/debian/rules   2012-06-01 17:51:11.000000000 +0000
@@ -35,7 +35,7 @@
 
 CFLAGS   += $(shell dpkg-buildflags --get CFLAGS)
 CPPFLAGS += $(shell dpkg-buildflags --get CPPFLAGS)
-LDFLAGS  += $(shell dpkg-buildflags --get LDFLAGS | sed -e 's/,/ /g' -e 
's/-Wl//' )
+LDFLAGS  += $(shell dpkg-buildflags --get LDFLAGS | sed -e 's/,/ /g' -e 
's/-Wl//g' )
 
 configure: configure-stamp
 configure-stamp:


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-25-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to