Your message dated Mon, 19 Dec 2011 13:48:54 +0000
with message-id <[email protected]>
and subject line Bug#638447: fixed in popt 1.16-2
has caused the Debian Bug report #638447,
regarding please add multi-arch support for popt
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 [email protected]
immediately.)


-- 
638447: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638447
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: popt
Version: 1.16-1
Severity: wishlist
User: [email protected]
Usertags: multiarch
Tags: patch

Hi,

libpopt0 is one of the bottom dependencies in debian, and thus is 
need early multiarch conversion. Any reverse dependencies of libpopt0
cant be (usefully) multiarch until libpopt0 is converted.

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

For more information, see:

http://wiki.debian.org/Multiarch/Implementation

Riku
diff -urN tmp/popt-1.16//debian/control popt-1.16//debian/control
--- tmp/popt-1.16//debian/control	2010-05-13 07:12:36.000000000 +0300
+++ popt-1.16//debian/control	2011-08-19 14:10:57.772543530 +0300
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: Paul Martin <[email protected]>
-Build-Depends: debhelper (>> 7), gettext, quilt
+Build-Depends: debhelper (>> 8.1.3), gettext, quilt
 Homepage: http://rpm5.org/
 Standards-Version: 3.8.4
 
@@ -11,6 +11,8 @@
 Section: libs
 Priority: important
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
 Conflicts: popt, libpopt-dev (<= 1.4-1), rpm (<= 4.0.2-3)
 Replaces: popt
 Description: lib for parsing cmdline parameters
@@ -28,6 +30,7 @@
 Section: libdevel
 Priority: optional
 Depends: libc6-dev | libc-dev, libpopt0 (= ${binary:Version}), ${misc:Depends}
+Multi-Arch: same
 Conflicts: popt
 Replaces: popt
 Description: lib for parsing cmdline parameters - development files
diff -urN tmp/popt-1.16//debian/libpopt0.install popt-1.16//debian/libpopt0.install
--- tmp/popt-1.16//debian/libpopt0.install	2010-05-13 06:52:04.000000000 +0300
+++ popt-1.16//debian/libpopt0.install	1970-01-01 02:00:00.000000000 +0200
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib*/libpopt.so.*				lib
-debian/tmp/usr/share/locale/*/LC_MESSAGES/popt.mo
diff -urN tmp/popt-1.16//debian/libpopt0.install.in popt-1.16//debian/libpopt0.install.in
--- tmp/popt-1.16//debian/libpopt0.install.in	1970-01-01 02:00:00.000000000 +0200
+++ popt-1.16//debian/libpopt0.install.in	2011-08-19 14:14:00.582543530 +0300
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/DEB_HOST_MULTIARCH/libpopt.so.*				lib/DEB_HOST_MULTIARCH
+debian/tmp/usr/share/locale/*/LC_MESSAGES/popt.mo
diff -urN tmp/popt-1.16//debian/libpopt0.links popt-1.16//debian/libpopt0.links
--- tmp/popt-1.16//debian/libpopt0.links	2010-05-13 06:52:04.000000000 +0300
+++ popt-1.16//debian/libpopt0.links	1970-01-01 02:00:00.000000000 +0200
@@ -1 +0,0 @@
-lib/libpopt.so.0.0.0	lib/libpopt.so.0
diff -urN tmp/popt-1.16//debian/libpopt0.links.in popt-1.16//debian/libpopt0.links.in
--- tmp/popt-1.16//debian/libpopt0.links.in	1970-01-01 02:00:00.000000000 +0200
+++ popt-1.16//debian/libpopt0.links.in	2011-08-19 14:14:14.502543532 +0300
@@ -0,0 +1 @@
+lib/DEB_HOST_MULTIARCH/libpopt.so.0.0.0	lib/DEB_HOST_MULTIARCH/libpopt.so.0
diff -urN tmp/popt-1.16//debian/libpopt-dev.install popt-1.16//debian/libpopt-dev.install
--- tmp/popt-1.16//debian/libpopt-dev.install	2010-05-13 06:52:04.000000000 +0300
+++ popt-1.16//debian/libpopt-dev.install	2011-08-19 14:15:31.302543532 +0300
@@ -1,5 +1,5 @@
-debian/tmp/usr/lib*/libpopt.so		usr/lib
-debian/tmp/usr/lib*/libpopt.la		usr/lib
-debian/tmp/usr/lib*/libpopt.a		usr/lib
+debian/tmp/usr/lib/*/libpopt.so		
+debian/tmp/usr/lib/*/libpopt.la		
+debian/tmp/usr/lib/*/libpopt.a		
 debian/tmp/usr/share/man/man3/popt.3	usr/share/man/man3
 debian/tmp/usr/include/popt.h		usr/include
diff -urN tmp/popt-1.16//debian/libpopt-dev.links popt-1.16//debian/libpopt-dev.links
--- tmp/popt-1.16//debian/libpopt-dev.links	2010-05-13 06:52:04.000000000 +0300
+++ popt-1.16//debian/libpopt-dev.links	1970-01-01 02:00:00.000000000 +0200
@@ -1 +0,0 @@
-lib/libpopt.so.0	usr/lib/libpopt.so
diff -urN tmp/popt-1.16//debian/libpopt-dev.links.in popt-1.16//debian/libpopt-dev.links.in
--- tmp/popt-1.16//debian/libpopt-dev.links.in	1970-01-01 02:00:00.000000000 +0200
+++ popt-1.16//debian/libpopt-dev.links.in	2011-08-19 14:15:50.622543530 +0300
@@ -0,0 +1 @@
+lib/DEB_HOST_MULTIARCH/libpopt.so.0	usr/lib/DEB_HOST_MULTIARCH/libpopt.so
diff -urN tmp/popt-1.16//debian/preprocess popt-1.16//debian/preprocess
--- tmp/popt-1.16//debian/preprocess	1970-01-01 02:00:00.000000000 +0200
+++ popt-1.16//debian/preprocess	2011-08-19 14:13:17.742543532 +0300
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+DEB_HOST_MULTIARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH`
+
+for file in debian/*.in; 
+do
+	target=`echo $file|sed -e 's/...$//'`
+	sed -e s/DEB_HOST_MULTIARCH/$DEB_HOST_MULTIARCH/g $file > $target
+done
diff -urN tmp/popt-1.16//debian/rules popt-1.16//debian/rules
--- tmp/popt-1.16//debian/rules	2010-05-13 07:02:52.000000000 +0300
+++ popt-1.16//debian/rules	2011-08-19 14:16:39.102543532 +0300
@@ -7,6 +7,8 @@
 
 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)
+
 ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
 CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 else
@@ -50,7 +52,7 @@
 	mkdir $(objdir)
 	# Add here commands to configure the package.
 	cd $(objdir) && \
-	../configure --prefix=/usr --mandir=/usr/share/man --enable-shared $(CROSS)
+	../configure --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) --prefix=/usr --mandir=/usr/share/man --enable-shared $(CROSS)
 	touch $@
 
 configure-udeb-stamp:
@@ -124,6 +126,7 @@
 	dh_testdir
 	dh_testroot
 
+	sh debian/preprocess
 	dh_install --list-missing
 #	dh_installdebconf	
 	dh_installdocs

--- End Message ---
--- Begin Message ---
Source: popt
Source-Version: 1.16-2

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

libpopt-dev_1.16-2_amd64.deb
  to main/p/popt/libpopt-dev_1.16-2_amd64.deb
libpopt0-udeb_1.16-2_amd64.udeb
  to main/p/popt/libpopt0-udeb_1.16-2_amd64.udeb
libpopt0_1.16-2_amd64.deb
  to main/p/popt/libpopt0_1.16-2_amd64.deb
popt_1.16-2.debian.tar.gz
  to main/p/popt/popt_1.16-2.debian.tar.gz
popt_1.16-2.dsc
  to main/p/popt/popt_1.16-2.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Martin <[email protected]> (supplier of updated popt 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 19 Dec 2011 13:21:06 +0000
Source: popt
Binary: libpopt0 libpopt-dev libpopt0-udeb
Architecture: source amd64
Version: 1.16-2
Distribution: unstable
Urgency: low
Maintainer: Paul Martin <[email protected]>
Changed-By: Paul Martin <[email protected]>
Description: 
 libpopt-dev - lib for parsing cmdline parameters - development files
 libpopt0   - lib for parsing cmdline parameters
 libpopt0-udeb - lib for parsing cmdline parameters (udeb)
Closes: 421575 551437 638447
Changes: 
 popt (1.16-2) unstable; urgency=low
 .
   * Update to standards version 3.9.2
     + Comply with new build-arch/build-indep requirements.
     + Note that libtool .la files are deprecated under Debian policy 3.9.1,
       but continute to include libpopt.la under the "historical" exception.
   * Package upstream's libpopt.pc (Closes: #421575)
   * Add multiarch support. Thanks to Steve Langasek for patch.
     (Closes: #638447)
   * Update debian/compat to 8.
   * Add a debian/symbols file. (Closes: #551437)
Checksums-Sha1: 
 dc6c3b1901abe670288c419dd838c5a85c8c7f5c 1771 popt_1.16-2.dsc
 b9504230ed4f9dd007f9a477de08cc62700f553a 12922 popt_1.16-2.debian.tar.gz
 4690309a4d7522b5e70efbf04a627261654725fb 55214 libpopt0_1.16-2_amd64.deb
 92fc387b373b7f2fd95ac73df1af4d0efe9982dd 54958 libpopt-dev_1.16-2_amd64.deb
 7e42b2986ca7dd45188c0ad5fd67b55606afa809 22252 libpopt0-udeb_1.16-2_amd64.udeb
Checksums-Sha256: 
 7888c0946ee206b99ba7f451e9455874316b93f984b271a63f199c98142e9182 1771 
popt_1.16-2.dsc
 de180e58beca567bb578c85a4e8112111743340571c7da6e69e1d4ac40045802 12922 
popt_1.16-2.debian.tar.gz
 e96a1e4e169ffb005a8e005150754c5819f1ba12f81d439c5a70f2cd091652da 55214 
libpopt0_1.16-2_amd64.deb
 a0ddea3e00fa01c5e5507034deb298d94ccebb0d021a3f5083a3efdc5018f3e7 54958 
libpopt-dev_1.16-2_amd64.deb
 0bd2aa77ccd5dd5a30d0f881e7e77e77ec043b9d83db7c9a21ebf3f48712bfaa 22252 
libpopt0-udeb_1.16-2_amd64.udeb
Files: 
 2c6328787256a2aea7aa000b5fed8b62 1771 devel optional popt_1.16-2.dsc
 5415eda56d579e9373810dc62eacfb51 12922 devel optional popt_1.16-2.debian.tar.gz
 f3d1c9b7fb659e69a9db00b8f6cf1023 55214 libs important libpopt0_1.16-2_amd64.deb
 78bca56fc18ed73bd7685e390e6b4869 54958 libdevel optional 
libpopt-dev_1.16-2_amd64.deb
 c3ca48855e15cae95c65944a274686e8 22252 debian-installer optional 
libpopt0-udeb_1.16-2_amd64.udeb
Package-Type: udeb

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

iQIVAwUBTu8+vmA7gyZh+cpTAQhHBQ//enPsTQdt23aum0AoK2FF2WrwdWG10nzi
uvK/jr7/2Iozgny5DyVavyIOUg8MkJwWzxcw60SCWgkRmWuvva2BA+sD+e88AK4H
n0QpZPobx1Gn+Ob0fvUh7yQ6lhoM8iMKGgM0x88TLIME55EtUJLa9Ri93/KvxF1v
G4gBdG3TqYgCy8qf2kUi1NiNRXXWpJ2po346cVOP6PUbEQ3zfk1tbP+2Jciqt/zI
c983hwjRT/NSeA1xYwggKPtkiPp4AkN1JnCsRq99iKp4QludeNfkwTf2lqje2M7a
bIbkph1ac8M0CDXf1QqEgBjYEIcuCFGI8u80wlhIy6h9BxmY0wkdKPYvEutxb/Y+
SeauQn1mc+w+HrlWQhRC+YwCRsG7bPH8NVha5qGww2R7fdaCNYbFSPH9aRBC7D+X
MxW8EtICwA9tg2LNcMTTCP5tCXGwiohFyODUOGW/O99smMkNdmXq8Ov0uDWWdPMY
6qjsK3HF3DOStdeqE3pCeWBXYlTwHNp/5/BhvNhX9980CWop+Y1uYyc/SaqCuZzi
ar8G9WiQUBntqqQM9Bxao4wsX74YXXhdke8N9MZOl8QHuzggx+ywXXhxfUhDWql4
ZL0chA2ZqS1WstQsHtNoKPSlyzaNLdNYH1BRGP40Pwn3sdmiw+qpahYODR+wWyZ/
eJPc4W95Tdo=
=rZ7q
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to