Your message dated Sat, 27 Aug 2011 19:02:10 +0000
with message-id <e1qxo8w-00042v...@franck.debian.org>
and subject line Bug#629666: fixed in google-authenticator
20110413.68230188bdc7-1.1
has caused the Debian Bug report #629666,
regarding google-authenticator FTBFS on multiarch-enabled distros
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.)
--
629666: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629666
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: google-authenticator
Version: 20110413.68230188bdc7-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch
On OSes using eglibc, dlopen and friends are only accessible if the
binaries are linked against libdl. google-authenticator's Makefile
looks in /usr/lib for libdl, and only links libdl if /usr/lib/libdl.so
exists. However, on multiarch-enabled[1] distros, such as Ubuntu,
libdl was moved to /usr/lib/x86_64-linux-gnu/libdl.so (or similar,
based on architecture). This causes the build to fail [2].
I have opened [3] with the upstream project to try and address this,
and have additionally uploaded the attached change to Ubuntu to fix
the build there. Since multiarch will soon be landing in Debian as
well, I thought you might be interested in picking up the patch as
well.
Thanks,
- Evan
[1] https://wiki.debian.org/Multiarch
[2]
https://launchpad.net/ubuntu/+source/google-authenticator/20110413.68230188bdc7-1/+build/2479571
[3] http://code.google.com/p/google-authenticator/issues/detail?id=74
-- System Information:
Debian Release: squeeze/sid
APT prefers natty-updates
APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-8-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- debian/patches/make-multiarch-friendly 1970-01-01 00:00:00 +0000
+++ debian/patches/make-multiarch-friendly 2011-05-31 18:53:46 +0000
@@ -0,0 +1,39 @@
+Description: Switch the Makefile to be multiarch-friendly
+ google-authenticator looks for /usr/lib/libdl.so to determine whether
+ or not to link -ldl, but since the multiarch transition process moved
+ libdl to a different location, that test no longer finds it, leading
+ to a FTBFS on multiarch-enabled systems.
+ .
+ Work around that by just always linking libdl, which we definitely
+ always want to do with glibc.
+Author: Evan Broder <e...@ebroder.net>
+Origin: vendor
+Bug: http://code.google.com/p/google-authenticator/issues/detail?id=74
+
+Index: ubuntu/libpam/Makefile
+===================================================================
+--- ubuntu.orig/libpam/Makefile 2011-05-31 11:40:31.878079519 -0700
++++ ubuntu/libpam/Makefile 2011-05-31 11:52:43.952386500 -0700
+@@ -47,18 +47,17 @@
+ pam_google_authenticator_unittest
+
+ google-authenticator: google-authenticator.o base32.o hmac.o sha1.o
+- $(CC) -g $(LDFLAGS) $(shell [ -f /usr/lib/libdl.so ] && echo " -ldl") \
+- -o $@ $+
++ $(CC) -g $(LDFLAGS) \
++ -o $@ $+ -ldl
+
+ demo: demo.o pam_google_authenticator_demo.o base32.o hmac.o sha1.o
+ $(CC) -g $(LDFLAGS) -rdynamic \
+- $(shell [ -f /usr/lib/libdl.so ] && echo " -ldl") -o $@ $+
++ -o $@ $+ -ldl
+
+ pam_google_authenticator_unittest: pam_google_authenticator_unittest.o
\
+ base32.o hmac.o sha1.o
+ $(CC) -g $(LDFLAGS) -rdynamic -lc \
+- $(shell [ -f /usr/lib/libdl.so ] && echo " -ldl")
\
+- -o $@ $+
++ -o $@ $+ -ldl
+
+ pam_google_authenticator.so: base32.o hmac.o sha1.o
+ pam_google_authenticator_testing.so: base32.o hmac.o sha1.o
--- debian/patches/series 2011-04-13 08:14:21 +0000
+++ debian/patches/series 2011-05-31 18:32:37 +0000
@@ -1 +1,2 @@
debian-create-central-makefile
+make-multiarch-friendly
--- End Message ---
--- Begin Message ---
Source: google-authenticator
Source-Version: 20110413.68230188bdc7-1.1
We believe that the bug you reported is fixed in the latest version of
google-authenticator, which is due to be installed in the Debian FTP archive:
google-authenticator_20110413.68230188bdc7-1.1.debian.tar.gz
to
main/g/google-authenticator/google-authenticator_20110413.68230188bdc7-1.1.debian.tar.gz
google-authenticator_20110413.68230188bdc7-1.1.dsc
to
main/g/google-authenticator/google-authenticator_20110413.68230188bdc7-1.1.dsc
libpam-google-authenticator_20110413.68230188bdc7-1.1_amd64.deb
to
main/g/google-authenticator/libpam-google-authenticator_20110413.68230188bdc7-1.1_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 629...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sam Hartman <hartm...@debian.org> (supplier of updated google-authenticator
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: Sun, 21 Aug 2011 21:45:15 -0400
Source: google-authenticator
Binary: libpam-google-authenticator
Architecture: source amd64
Version: 20110413.68230188bdc7-1.1
Distribution: unstable
Urgency: low
Maintainer: LENART Janos <o...@debian.org>
Changed-By: Sam Hartman <hartm...@debian.org>
Description:
libpam-google-authenticator - Two-step verification
Closes: 628729 629666 638802
Changes:
google-authenticator (20110413.68230188bdc7-1.1) unstable; urgency=low
.
* Non-maintainer upload.
* Change build dependencies to list a concrete package (Closes: #638802).
* Unconditionally link -ldl (since Debian always uses glibc), to fix a
FTBFS caused by libdl.so moving to multiarch paths (Closes: #628729,
#629666). Patch from Evan Broder <e...@ebroder.net>.
Checksums-Sha1:
bb2d3951543cb7daad4528ed3947cddd1aa46cef 1401
google-authenticator_20110413.68230188bdc7-1.1.dsc
b8dd0e8aef7049f0a4da6794ee92290febbf6765 4514
google-authenticator_20110413.68230188bdc7-1.1.debian.tar.gz
5ffa710b826cbbe0f131fa3ddb27eda37a3d1fc2 27288
libpam-google-authenticator_20110413.68230188bdc7-1.1_amd64.deb
Checksums-Sha256:
7fe0e143059b4d0271693bd60c6c706c7086ba408456a4c8f0d8fd0f582e8eb6 1401
google-authenticator_20110413.68230188bdc7-1.1.dsc
2128fbd31cfe3c448cb8d3d4c3aeef41e88fadddaadc225839a375b017bb66af 4514
google-authenticator_20110413.68230188bdc7-1.1.debian.tar.gz
8ebf7ccefb525fa1ab7efb21fdc7a64146ed69564bf2c9a4ae722b198c57851a 27288
libpam-google-authenticator_20110413.68230188bdc7-1.1_amd64.deb
Files:
aadb2a119206e2a0e51952bc0e1fb671 1401 admin optional
google-authenticator_20110413.68230188bdc7-1.1.dsc
9c04115133947f06eb3e8e44c6d5e6c0 4514 admin optional
google-authenticator_20110413.68230188bdc7-1.1.debian.tar.gz
5f502a1d33a5b22252df433876b53028 27288 admin optional
libpam-google-authenticator_20110413.68230188bdc7-1.1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk5T8QgACgkQ/I12czyGJg/jrQCgzEZJwzcMMKnbIQqFcwi1r1WS
6lkAoPDYpLFpFjd6GLdpvsmony3oBbNA
=iLOA
-----END PGP SIGNATURE-----
--- End Message ---