Bug#663442: Malformed sonames when compiling libnss-ldap

2012-03-11 Thread Moritz Muehlenhoff
Package: cdbs
Version: 0.4.109
Severity: important

Hi Jonas,
as part of the hardening release goal I tried to recompile libnss-ldap
with current cdbs:

Here's how the sonames are with the version currently in the archive:

jmm@pisco:~/scratch/libnss-ldap-264$ dpkg -L libnss-ldap | grep ^/lib
/lib
/lib/libnss_ldap-2.11.2.so
/lib/libnss_ldap.so.2

Here's how they look like after a rebuild with current cdbs:

jmm@pisco:~/scratch$ dpkg -L libnss-ldap | grep ^/lib
/lib
/lib/libnss_ldap-.so
/lib/libnss_ldap.so.

I don't know anything about the internals of cdbs, but this looks like
a bug in cdbs, rather than in libnss-ldap's use of cdbs? 

Cheers,
Moritz

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

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

cdbs depends on no packages.

Versions of packages cdbs recommends:
ii  autotools-dev  20110511.1

Versions of packages cdbs suggests:
ii  devscripts  2.11.3

-- no debconf information



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



Bug#663442: [Build-common-hackers] Bug#663442: Malformed sonames when compiling libnss-ldap

2012-03-11 Thread Jonas Smedegaard
On 12-03-11 at 11:12am, Moritz Muehlenhoff wrote:
 as part of the hardening release goal I tried to recompile libnss-ldap 
 with current cdbs:
 
 Here's how the sonames are with the version currently in the archive:
 
 jmm@pisco:~/scratch/libnss-ldap-264$ dpkg -L libnss-ldap | grep ^/lib
 /lib
 /lib/libnss_ldap-2.11.2.so
 /lib/libnss_ldap.so.2
 
 Here's how they look like after a rebuild with current cdbs:
 
 jmm@pisco:~/scratch$ dpkg -L libnss-ldap | grep ^/lib
 /lib
 /lib/libnss_ldap-.so
 /lib/libnss_ldap.so.
 
 I don't know anything about the internals of cdbs, but this looks like
 a bug in cdbs, rather than in libnss-ldap's use of cdbs? 

Generally I would appreciate if you verified by building against an 
older release of CDBS.  This package depends unversioned on CDBS so 
should (in my interpretation - it is not officially defined TTBOMK) 
support _any_ officially released CDBS i.e. even the one in oldstable 
(until that one is no longer officially supported by Debian).

Specifically, I did a brief(!) look at the source package, saw no 
obvious risk that CDBS caused this problem, but noticed that a) last 
maintainer upload was in 2009, b) I believe the package is generally 
discouraged and practically replaced by libnss-ldapd, and c) topmost 
Makefile.am in upstream code seemingly resolve version using gcc 
-print-multi-os-directory against _other_ libraries, a mechanism that 
looks suspocious to me and that I guess is affected by recent multiarch 
changes.

Perhaps package is unmaintained and should die?


 - Jonas

-- 
 * Jonas Smedegaard - idealist  Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: Digital signature