Your message dated Mon, 14 May 2012 10:49:58 +0000
with message-id <e1stsqk-0000rm...@franck.debian.org>
and subject line Bug#653664: fixed in libnss-ldap 264-2.3
has caused the Debian Bug report #653664,
regarding libnss-ldap: Please fix libnss-ldap for multiarch
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
653664: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653664
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libnss-ldap
Version: 264-2.3
Severity: serious
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Hi Rick,

Please find attached a patch to libnss-ldap to transition it to use of the
multiarch library paths as described at
<http://wiki.debian.org/Multiarch/Implementation>.  This patch has been
tested and included in Ubuntu Precise.

In the process of preparing this patch, I discovered that libnss-ldap will
misbuild against a multiarch libc because it fails to locate libc and
nss_files and construct an appropriate soname for nss_ldap.  I'm therefore
marking this bug severity: serious, since regardless of whether nss_ldap is
updated to install to the multiarch paths for wheezy, it needs to cope with
a libc that has been.

Thanks for considering the patch.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control	2010-03-04 08:46:28 +0000
+++ debian/control	2011-12-30 03:05:06 +0000
@@ -3,10 +3,12 @@
 Priority: extra
 Maintainer: Richard A Nelson (Rick) <cow...@debian.org>
 Standards-Version: 3.7.2
-Build-Depends: cdbs, quilt, patchutils, dh-buildinfo, debhelper (>= 5), autotools-dev, libkrb5-dev, libldap2-dev, libsasl2-dev, po-debconf (>= 0.5.0)
+Build-Depends: cdbs (>= 0.4.93~), quilt, patchutils, debhelper (>= 8.1.3~), autotools-dev, libkrb5-dev, libldap2-dev, libsasl2-dev, po-debconf (>= 0.5.0)
 
 Package: libnss-ldap
 Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: nscd, libpam-ldap
 Description: NSS module for using LDAP as a naming service

=== modified file 'debian/libnss-ldap.install'
--- debian/libnss-ldap.install	2007-05-14 19:40:00 +0000
+++ debian/libnss-ldap.install	2011-12-30 03:04:17 +0000
@@ -3,5 +3,5 @@
 build-tree/*/ldap.conf usr/share/doc/libnss-ldap/examples
 build-tree/*/nsswitch.ldap usr/share/doc/libnss-ldap/examples
 debian/LDAP-Permissions.txt usr/share/doc/libnss-ldap
-debian/tmp/usr/lib/* lib
+debian/tmp/lib/*/*
 debian/examples usr/share/doc/libnss-ldap

=== modified file 'debian/rules'
--- debian/rules	2009-03-01 04:12:00 +0000
+++ debian/rules	2011-12-30 03:05:45 +0000
@@ -13,6 +13,7 @@
 DEB_DESTDIR = $(CURDIR)/debian/tmp
 MY_INST_DIR = $(CURDIR)/debian/libnss-ldap/usr/share
 DEB_CONFIGURE_EXTRA_FLAGS += \
+	--libdir=/lib/$(DEB_HOST_MULTIARCH) \
 	--enable-rfc2307bis \
 	--with-ldap-lib=openldap \
 	--with-ldap-conf-file=/etc/libnss-ldap.conf \
@@ -24,14 +25,13 @@
 DEB_OPT_FLAG += -fPIC
 export LIBS=-lpthread
 
+# Hack to pick up the soname of libc on the filesystem...
+DEB_MAKE_EXTRA_ARGS += MULTI_OS_DIRECTORY=$(DEB_HOST_MULTIARCH)
+
 # Keep file autoconf list out of the diff
 clean::
 	rm *.cdbs-config_list
 
-# after the directories are created but before dh_compress is run.
-common-binary-post-install-arch::
-	dh_buildinfo
-
 binary-post-install/libnss-ldap::
 	# rename man page
 	mv $(MY_INST_DIR)/man/man5/nss_ldap.5 \


--- End Message ---
--- Begin Message ---
Source: libnss-ldap
Source-Version: 264-2.3

We believe that the bug you reported is fixed in the latest version of
libnss-ldap, which is due to be installed in the Debian FTP archive:

libnss-ldap_264-2.3.diff.gz
  to main/libn/libnss-ldap/libnss-ldap_264-2.3.diff.gz
libnss-ldap_264-2.3.dsc
  to main/libn/libnss-ldap/libnss-ldap_264-2.3.dsc
libnss-ldap_264-2.3_amd64.deb
  to main/libn/libnss-ldap/libnss-ldap_264-2.3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 653...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Blank <wa...@debian.org> (supplier of updated libnss-ldap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 14 May 2012 10:41:48 +0000
Source: libnss-ldap
Binary: libnss-ldap
Architecture: source amd64
Version: 264-2.3
Distribution: unstable
Urgency: low
Maintainer: Richard A Nelson (Rick) <cow...@debian.org>
Changed-By: Bastian Blank <wa...@debian.org>
Description: 
 libnss-ldap - NSS module for using LDAP as a naming service
Closes: 653664
Changes: 
 libnss-ldap (264-2.3) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Support multi-arch: (closes: #653664)
     - Mark libnss-ldap as same.
     - Adjust build-dependencies.
   * Add hack to find correct libc in a multi-arch environment.
   * Fix symlink generation.
Checksums-Sha1: 
 534ccbeb38738f13f9a3e13ee922487ba64701ab 1174 libnss-ldap_264-2.3.dsc
 caeb349636b2b33a5d94649beb91d1bb19ccc821 56410 libnss-ldap_264-2.3.diff.gz
 0aeed2c3e046cb2b80151e89a25d7c3ad817a79c 120586 libnss-ldap_264-2.3_amd64.deb
Checksums-Sha256: 
 d54efea8a34d2da4773a33f0be7469b9c2b2e10d78db499cb4318a57f67357d1 1174 
libnss-ldap_264-2.3.dsc
 d0aa30a5a3a8f5d5d15ba05854f01223b9036f81c7d30a30380f87108208f6c1 56410 
libnss-ldap_264-2.3.diff.gz
 9172695177a1bd0bc26566c0d1ad3128480b16a6930fcf36a65377ed43d7d82f 120586 
libnss-ldap_264-2.3_amd64.deb
Files: 
 f3be0a2d7f83b6ca7654078957d61ca8 1174 net extra libnss-ldap_264-2.3.dsc
 9c3fafd7b1d69d5a57a9933fc10ce892 56410 net extra libnss-ldap_264-2.3.diff.gz
 cba9f1438c3d351238d57eadde5f24cc 120586 net extra libnss-ldap_264-2.3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk+w4hgACgkQLkAIIn9ODhFwwwCgxlXyfjhs0yM1tD8zQL194RQd
ChIAoLjAm24Ht0GQ4QAiFob/mZXlQwcU
=Pmqz
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to