Your message dated Mon, 22 Aug 2011 22:33:28 +0000
with message-id <e1qvd3g-00059g...@franck.debian.org>
and subject line Bug#638851: fixed in readline5 5.2-10
has caused the Debian Bug report #638851,
regarding please add multi-arch support for readline5
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.)


-- 
638851: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638851
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: readline5
Version: 5.2-9
Severity: wishlist
User: debian-d...@lists.debian.org
Usertags: multiarch
Tags: patch

Hi,

The attached patch converts libreadline5 to multiarch paths 
and adds the relevant Multi-Arch: fields to debian/control.


Riku
diff -urN old/readline5-5.2//debian/control readline5-5.2//debian/control
--- old/readline5-5.2//debian/control	2011-08-22 13:02:37.000000000 +0300
+++ readline5-5.2//debian/control	2011-08-22 14:31:52.482285001 +0300
@@ -3,11 +3,13 @@
 Priority: extra
 Maintainer: Matthias Klose <d...@debian.org>
 Standards-Version: 3.9.2
-Build-Depends: debhelper (>= 5), dpatch, lsb-release, libncurses5-dev (>= 5.6), lib32ncurses5-dev [amd64 ppc64], lib64ncurses5-dev [i386 powerpc sparc s390], mawk | awk, texinfo, autotools-dev, gcc-multilib [amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc]
+Build-Depends: debhelper (>= 8.1.3), dpatch, lsb-release, libncurses5-dev (>= 5.6), lib32ncurses5-dev [amd64 ppc64], lib64ncurses5-dev [i386 powerpc sparc s390], mawk | awk, texinfo, autotools-dev, gcc-multilib [amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc]
 
 Package: libreadline5
 Architecture: any
 Depends: readline-common, ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
 Section: libs
 Description: GNU readline and history libraries, run-time libraries
  The GNU readline library aids in the consistency of user interface
@@ -34,6 +36,7 @@
 Depends: libreadline5 (= ${binary:Version}), libncurses5-dev, ${shlibs:Depends}, ${misc:Depends}, dpkg (>= 1.15.4) | install-info
 Conflicts: libreadline-dev, libreadline5-dev
 Replaces: libreadline5-dev
+Multi-Arch: same
 Section: libdevel
 Description: GNU readline and history libraries, development files
  The GNU readline library aids in the consistency of user interface
diff -urN old/readline5-5.2//debian/rules readline5-5.2//debian/rules
--- old/readline5-5.2//debian/rules	2011-08-22 13:02:37.000000000 +0300
+++ readline5-5.2//debian/rules	2011-08-22 15:28:23.532285002 +0300
@@ -11,6 +11,7 @@
 DEB_HOST_ARCH_OS	?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_MULTIARCH	?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 distribution := $(shell lsb_release -is)
 
@@ -108,7 +109,8 @@
 	cd $(builddir) && \
 	  CC=$(CC) $(srcdir)/configure \
 		--with-curses --prefix=/usr\
-		--host=$(DEB_HOST_GNU_TYPE)
+		--host=$(DEB_HOST_GNU_TYPE) \
+		--libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
 
 ifneq ($(build32),)
 	rm -rf $(builddir32)
@@ -217,9 +219,9 @@
 	: # move $(p_rl)
 	dh_installdirs -p$(p_rl) \
 		etc \
-		lib \
+		lib/$(DEB_HOST_MULTIARCH) \
 		usr/share/doc
-	cp -a $(d)/usr/lib/lib{history,readline}.so.* $(d_rl)/lib/
+	cp -a $(d)/usr/lib/$(DEB_HOST_MULTIARCH)/lib{history,readline}.so.* $(d_rl)/lib/$(DEB_HOST_MULTIARCH)
 #	cp -a $(d)/usr/lib/lib{history,readline}.so.$(libversion) $(d_rl)/lib/
 #	ln -s libhistory.so.$(libversion) \
 #		$(d_rl)/lib/libhistory.so.$(soversion)
@@ -246,7 +248,7 @@
 	dh_installdirs -p$(p_rlg) \
 		usr/lib/debug \
 		usr/share/doc
-	mv $(d)/usr/lib/lib{history,readline}.so.$(libversion) \
+	mv $(d)/usr/lib/$(DEB_HOST_MULTIARCH)/lib{history,readline}.so.$(libversion) \
 		$(d_rlg)/usr/lib/debug/.
 	ln -s libhistory.so.$(libversion) \
 		$(d_rlg)/usr/lib/debug/libhistory.so.$(soversion)
@@ -258,9 +260,9 @@
 		usr/lib \
 		usr/share/doc \
 		usr/share/info
-	ln -s /lib/libhistory.so.$(soversion) $(d_rld)/usr/lib/libhistory.so
-	ln -s /lib/libreadline.so.$(soversion) $(d_rld)/usr/lib/libreadline.so
-	mv $(d)/usr/lib/lib{history,readline}.a	$(d_rld)/usr/lib/.
+	ln -s /lib/$(DEB_HOST_MULTIARCH)/libhistory.so.$(soversion) $(d_rld)/usr/lib/$(DEB_HOST_MULTIARCH)/libhistory.so
+	ln -s /lib/$(DEB_HOST_MULTIARCH)/libreadline.so.$(soversion) $(d_rld)/usr/lib/$(DEB_HOST_MULTIARCH)/libreadline.so
+	mv $(d)/usr/lib/$(DEB_HOST_MULTIARCH)/lib{history,readline}.a	$(d_rld)/usr/lib/$(DEB_HOST_MULTIARCH)/.
 	mv $(d)/usr/include $(d_rld)/usr/.
 	mv $(d)/usr/share/info/{readline.info,history.info} \
 		$(d_rld)/usr/share/info/.

--- End Message ---
--- Begin Message ---
Source: readline5
Source-Version: 5.2-10

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

lib32readline-gplv2-dev_5.2-10_amd64.deb
  to main/r/readline5/lib32readline-gplv2-dev_5.2-10_amd64.deb
lib32readline5_5.2-10_amd64.deb
  to main/r/readline5/lib32readline5_5.2-10_amd64.deb
libreadline-gplv2-dev_5.2-10_amd64.deb
  to main/r/readline5/libreadline-gplv2-dev_5.2-10_amd64.deb
libreadline5-dbg_5.2-10_amd64.deb
  to main/r/readline5/libreadline5-dbg_5.2-10_amd64.deb
libreadline5_5.2-10_amd64.deb
  to main/r/readline5/libreadline5_5.2-10_amd64.deb
readline5_5.2-10.diff.gz
  to main/r/readline5/readline5_5.2-10.diff.gz
readline5_5.2-10.dsc
  to main/r/readline5/readline5_5.2-10.dsc



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 638...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated readline5 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, 22 Aug 2011 23:55:58 +0200
Source: readline5
Binary: libreadline5 lib64readline5 libreadline-gplv2-dev 
lib64readline-gplv2-dev libreadline5-dbg lib32readline5 lib32readline-gplv2-dev
Architecture: source amd64
Version: 5.2-10
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <d...@debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Description: 
 lib32readline-gplv2-dev - GNU readline and history libraries, development 
files (32-bit)
 lib32readline5 - GNU readline and history libraries, run-time libraries 
(32-bit)
 lib64readline-gplv2-dev - GNU readline and history libraries, development 
files (64-bit)
 lib64readline5 - GNU readline and history libraries, run-time libraries 
(64-bit)
 libreadline-gplv2-dev - GNU readline and history libraries, development files
 libreadline5 - GNU readline and history libraries, run-time libraries
 libreadline5-dbg - GNU readline and history libraries, debugging libraries
Closes: 638851
Changes: 
 readline5 (5.2-10) unstable; urgency=low
 .
   * Add multi-arch support (Riku Voipio). Closes: #638851.
Checksums-Sha1: 
 d9ef263db293f5496c1ff790a68abcdeb335fc2d 1311 readline5_5.2-10.dsc
 157f10bce3b3a0e87382b5d17059fbac579ac1ad 25910 readline5_5.2-10.diff.gz
 abcde2aff374545d69dc7773b89da62821e562f9 149832 libreadline5_5.2-10_amd64.deb
 f80245abb988dff646a359efdf41fb1155b0983f 245164 
libreadline-gplv2-dev_5.2-10_amd64.deb
 a0af2e83ea0038f495a3d540a3d8c34ffb13c515 295882 
libreadline5-dbg_5.2-10_amd64.deb
 1bd49776bbc2957725fec943e41261aff635a31c 143494 lib32readline5_5.2-10_amd64.deb
 ab5654601e6f5eeefff7df161b26f54ef67dd735 132436 
lib32readline-gplv2-dev_5.2-10_amd64.deb
Checksums-Sha256: 
 979487d50a4a2fb20b4cc44a4d97d274a90d62cde1f0fd88b080df6416db9f01 1311 
readline5_5.2-10.dsc
 427d77084d2cb625cc00d7565aac9473ee55d305ca541a3531a594e165d84e56 25910 
readline5_5.2-10.diff.gz
 d70d2157b7448eb828c14fc975807a9fd3d6a00cee7963f8d54152c728666ba9 149832 
libreadline5_5.2-10_amd64.deb
 a012c0ae940171715e1dd0dbe31e3acf438231dd7a94341557a078651d48ab0b 245164 
libreadline-gplv2-dev_5.2-10_amd64.deb
 d1a47c24ee14b8244359071f1839cf8a6ba87ccbd904827d21ca6388a44b41c2 295882 
libreadline5-dbg_5.2-10_amd64.deb
 7bf060be9022072b8f9611fdb5340b78ef6a58b5bcb32403959ef3f4a3df5a50 143494 
lib32readline5_5.2-10_amd64.deb
 34acb39fffd31ceea773996a116e1cf94a6777106dc633598bf384f96fb48058 132436 
lib32readline-gplv2-dev_5.2-10_amd64.deb
Files: 
 592ea5e3bf1455d354e9d10a1c67206e 1311 libs extra readline5_5.2-10.dsc
 fd378b22bc1cc12bba68e57b700c1a9f 25910 libs extra readline5_5.2-10.diff.gz
 ce2fa045ed0b71c9c4be54d3f55e20ee 149832 libs extra 
libreadline5_5.2-10_amd64.deb
 7f5f27bb54663363ef526e2109831cad 245164 libdevel extra 
libreadline-gplv2-dev_5.2-10_amd64.deb
 722ebff73ce901907e5891710b3952b1 295882 debug extra 
libreadline5-dbg_5.2-10_amd64.deb
 0f9550e97a128ee30982ea4fd0df4dd7 143494 libs extra 
lib32readline5_5.2-10_amd64.deb
 1c0c44a0e274d870a0296f34ebe3f648 132436 libdevel extra 
lib32readline-gplv2-dev_5.2-10_amd64.deb

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

iEYEARECAAYFAk5S1JYACgkQStlRaw+TLJzlAACdGUx1uDvvDLpgyh1hCKd1z03E
U2UAoJg7G2gpJCxuKkgOxpO8UmzVBfBI
=WefP
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to