Your message dated Tue, 11 Oct 2016 22:58:38 +0000
with message-id <[email protected]>
and subject line Bug#839883: fixed in libtar 1.2.20-7
has caused the Debian Bug report #839883,
regarding libtar FTCBFS: does not pass --host to configure, calls build
architecture strip
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.)
--
839883: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839883
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libtar
Version: 1.2.20-6
Tags: patch
User: [email protected]
Usertags: rebootstrap
libtar fails to cross build from source, because it doesn't pass --host
to configure. Ultimately, dh_strip fails operating on build architecture
ELF objects. In the attached patch, I move libtar to using
dh_auto_configure, which knows the right flags. After that, the build
still fails due to stripping via install -s with the build architecture
strip. Removing the -s flag also means that a -dbgsym package will be
created. Please consider applying the patch as it makes the cross build
succeed.
Helmut
diff --minimal -Nru libtar-1.2.20/debian/changelog
libtar-1.2.20/debian/changelog
--- libtar-1.2.20/debian/changelog 2016-08-01 22:52:52.000000000 +0200
+++ libtar-1.2.20/debian/changelog 2016-10-06 06:27:18.000000000 +0200
@@ -1,3 +1,12 @@
+libtar (1.2.20-6.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1).
+ + Let dh_auto_configure pass cross flags
+ + no_strip.patch: Do not let the build system strip
+
+ -- Helmut Grohne <[email protected]> Thu, 06 Oct 2016 06:16:50 +0200
+
libtar (1.2.20-6) unstable; urgency=low
* Drop libtar/Makefile from examples, since it makes the build
diff --minimal -Nru libtar-1.2.20/debian/patches/no_strip.patch
libtar-1.2.20/debian/patches/no_strip.patch
--- libtar-1.2.20/debian/patches/no_strip.patch 1970-01-01 01:00:00.000000000
+0100
+++ libtar-1.2.20/debian/patches/no_strip.patch 2016-10-06 06:27:31.000000000
+0200
@@ -0,0 +1,19 @@
+From: Helmut Grohne <[email protected]>
+Subject: Do not let make install strip
+
+ * Stripping prevents -dbgsym packages from being created.
+ * Stripping with install breaks during cross compilation.
+
+Index: libtar-1.2.20/libtar/Makefile.in
+===================================================================
+--- libtar-1.2.20.orig/libtar/Makefile.in
++++ libtar-1.2.20/libtar/Makefile.in
+@@ -20,7 +20,7 @@
+
+ ### Installation programs and flags
+ INSTALL = @INSTALL@
+-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ LN_S = @LN_S@
+ MKDIR = @MKDIR@
diff --minimal -Nru libtar-1.2.20/debian/patches/series
libtar-1.2.20/debian/patches/series
--- libtar-1.2.20/debian/patches/series 2016-03-25 19:11:06.000000000 +0100
+++ libtar-1.2.20/debian/patches/series 2016-10-06 06:25:23.000000000 +0200
@@ -4,3 +4,4 @@
th_get_size-unsigned-int.patch
oldgnu_prefix.patch
testsuite.patch
+no_strip.patch
diff --minimal -Nru libtar-1.2.20/debian/rules libtar-1.2.20/debian/rules
--- libtar-1.2.20/debian/rules 2016-03-25 19:12:00.000000000 +0100
+++ libtar-1.2.20/debian/rules 2016-10-06 06:16:48.000000000 +0200
@@ -6,10 +6,8 @@
configure-stamp:
dh_testdir
[ -f debian/autoreconf.before ] || dh_autoreconf
- ./configure \
- --prefix=/usr \
+ dh_auto_configure --
--without-zlib \
- --mandir=\$${prefix}/share/man \
$(shell dpkg-buildflags --export=configure)
touch configure-stamp
--- End Message ---
--- Begin Message ---
Source: libtar
Source-Version: 1.2.20-7
We believe that the bug you reported is fixed in the latest version of
libtar, which is due to be installed in the Debian FTP archive.
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.
Magnus Holmgren <[email protected]> (supplier of updated libtar 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: Tue, 11 Oct 2016 23:12:49 +0200
Source: libtar
Binary: libtar-dev libtar0
Architecture: source amd64
Version: 1.2.20-7
Distribution: unstable
Urgency: low
Maintainer: Magnus Holmgren <[email protected]>
Changed-By: Magnus Holmgren <[email protected]>
Description:
libtar-dev - C library for manipulating tar archives (development files)
libtar0 - C library for manipulating tar archives
Closes: 839883
Changes:
libtar (1.2.20-7) unstable; urgency=low
.
* no_strip.patch: make install must not strip binaries; it breaks cross
compilation and is against policy with regard to build options.
* Pass --build and --host to configure as appropriate to enable cross
compilation (Closes: #839883).
* Change Homepage to http://repo.or.cz/w/libtar.git since www.feep.net
is gone.
Checksums-Sha1:
ebd48bede67cc0b45664db9937be78cc20ced7d5 1863 libtar_1.2.20-7.dsc
167a9abadfba600664a800f0ffc7cdc896369244 11536 libtar_1.2.20-7.debian.tar.xz
235cfe41b0852aedb1a5427fe2f7189084ca6079 42284 libtar-dev_1.2.20-7_amd64.deb
a7e70ae29d560159110efaa5dfdd8674953f2610 40998
libtar0-dbgsym_1.2.20-7_amd64.deb
4e88ae2459b9a1bf4350f8b06f08feef438507bf 23438 libtar0_1.2.20-7_amd64.deb
Checksums-Sha256:
76d4664920b0c4830dbcdaf09f114426165fe5b7daa1e825ff3dface5968db4d 1863
libtar_1.2.20-7.dsc
78fa275f8239f6ae703560423ff70a498d26f945e49a0f8e6d18baebcde08e6d 11536
libtar_1.2.20-7.debian.tar.xz
5b1346e959cf0ea7eaa094d32a4466b7a0b2661aeeb602727efa903c0c6635ae 42284
libtar-dev_1.2.20-7_amd64.deb
af8d8a616fbbe4840da933affc06ad35745f94e2500b9fe3cca34b17b9e91569 40998
libtar0-dbgsym_1.2.20-7_amd64.deb
43583b271d340c4bfb1b1a9eb04ecdfaa242ca7022e82ee31ebd72019456e5ca 23438
libtar0_1.2.20-7_amd64.deb
Files:
25fba0571dba89705fbe7d6d8b136fdb 1863 libs optional libtar_1.2.20-7.dsc
5bb62049cdebab7ce8f62ee783f2e2e1 11536 libs optional
libtar_1.2.20-7.debian.tar.xz
860126511889871053ee9971a0b99fce 42284 libdevel optional
libtar-dev_1.2.20-7_amd64.deb
6885431b111f41862efad83ab8eec14d 40998 debug extra
libtar0-dbgsym_1.2.20-7_amd64.deb
6409246674b9822a254261b91d2157d9 23438 libs optional libtar0_1.2.20-7_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJX/VYdAAoJENTyGb/smYSJDb4QAIuIHnj6pHkxFMtoN8zFbZFg
RUoIJSoEU5Grwo9BMgdDoefOnCsVShyp5arCDzLv/OauX5FyJnnDPrSbjspz3sDX
G4JxB9i+q7P7GqawJxKryt99MPmoOqAKOF066CyOs7IG7672UccxCHYGT7L9AVKq
hndmn6b6HiFUbIyXqI9n2l4pO8KF20ili1AjJGg5vUQ2CZ/t+6XLwVC+l/RsUsPb
5e1hJ1v3zDsAgAjzmzd/NfgZfrfUatkcPrAV1EgvrkvEA4ZIvxYZT38NUyrBSea+
mn6WGazUgI2O2HfVej32gp1hv44MK/Q0Dxz/EHpMi9qTlGqJEEDHQy0ifeR4OsZd
wgo/up3glIROA/IiU7tdvJnu2xmE4OTNz4hRPWMBJazwmpQEcg0AEBSr6W7lQbh7
lLC9FASNAdQtRh73YajjLEtb59HRbhxTU70hJMSYWKnPf3whdGUA1cLR30xeOdIp
xvAzgGBYRieMTpO3zl9QMPyiUQTfa2ltsuaelJMO2eo3I2XSKsBIu2OBoIoONRQq
k20nxi7X4sEp26Ge5xoDNiEy93wBAILypm9pg0x4L6LdGe/rsbUdcP/29Av6/Gof
6VrvrAEfzCZFw3iMoTZBp9mqHfSGCbNOswqcZfM8LiTH/KUD/3q5rJ4e2AZlW/pn
2DCv0ifM94V+PH5Wm/zf
=c+on
-----END PGP SIGNATURE-----
--- End Message ---