Your message dated Sun, 29 Jan 2023 16:50:49 +0000
with message-id <[email protected]>
and subject line Bug#1029084: fixed in cpmtools 2.23-2
has caused the Debian Bug report #1029084,
regarding cpmtools FTCBFS: multiple reasons
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.)
--
1029084: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029084
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cpmtools
Version: 2.20-2
Tags: patch
User: [email protected]
Usertags: ftcbfs
cpmtools fails to build from source. The immediate cause is failure to
pass --host to configure. The easiest way of doing so is letting
dh_auto_configure do it. Unfortunately, it also passes dpkg-buildflags,
which adds -Werror=format-security and makes the build fail, but we can
set hardening=-format to avoid that. Consider fixing the underlying
issue though. Later it strips with the build architecture strip during
make install. This also happens to break generation of -dbgsym packages
as well as DEB_BUILD_OPTIONS=nostrip. I'm attaching a patch for all of
these (except the actual causes of -Werror=format-security) for your
convenience.
Helmut
diff --minimal -Nru cpmtools-2.20/debian/changelog
cpmtools-2.20/debian/changelog
--- cpmtools-2.20/debian/changelog 2017-12-30 07:35:59.000000000 +0100
+++ cpmtools-2.20/debian/changelog 2023-01-15 22:02:41.000000000 +0100
@@ -1,3 +1,11 @@
+cpmtools (2.20-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Let dh_auto_configure pass --host and pass a non-stripping
+ install to make install. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Sun, 15 Jan 2023 22:02:41 +0100
+
cpmtools (2.20-2) unstable; urgency=low
* updated to policy 4.1.3
diff --minimal -Nru cpmtools-2.20/debian/rules cpmtools-2.20/debian/rules
--- cpmtools-2.20/debian/rules 2017-12-30 07:35:59.000000000 +0100
+++ cpmtools-2.20/debian/rules 2023-01-15 22:02:41.000000000 +0100
@@ -1,5 +1,8 @@
#!/usr/bin/make -f
+# FTBFS with -Werror=format-security
+export DEB_BUILD_MAINT_OPTIONS=hardening=-format
+
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -8,8 +11,7 @@
dh_testdir
cp /usr/share/misc/config.sub config.sub
cp /usr/share/misc/config.guess config.guess
- ./configure --prefix=/usr --mandir=\$${prefix}/share/man \
- --datarootdir=/etc/cpmtools
+ dh_auto_configure -- --datarootdir=/etc/cpmtools
touch configure-stamp
build: build-arch build-indep
@@ -33,7 +35,8 @@
dh_prep
dh_installdirs
$(MAKE) install prefix=$(CURDIR)/debian/cpmtools/usr \
- datarootdir=$(CURDIR)/debian/cpmtools/etc/cpmtools
+ datarootdir=$(CURDIR)/debian/cpmtools/etc/cpmtools \
+ 'INSTALL=install --strip-program=true'
# Build architecture-independent files here.
binary-indep: build install
--- End Message ---
--- Begin Message ---
Source: cpmtools
Source-Version: 2.23-2
Done: Bdale Garbee <[email protected]>
We believe that the bug you reported is fixed in the latest version of
cpmtools, 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.
Bdale Garbee <[email protected]> (supplier of updated cpmtools 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: SHA512
Format: 1.8
Date: Sun, 29 Jan 2023 09:27:06 -0700
Source: cpmtools
Architecture: source
Version: 2.23-2
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <[email protected]>
Changed-By: Bdale Garbee <[email protected]>
Closes: 1029084
Changes:
cpmtools (2.23-2) unstable; urgency=low
.
* strip during dh_auto_install ended with compat 11, so move from 10 to 13
in hope of actually fixing cross-building, closes: #1029084
Checksums-Sha1:
4be75cfe765741b8a8207f3ce203ad5bbda99f38 1779 cpmtools_2.23-2.dsc
a046e70011c431b3e80a3135eb5734e417263fdd 3144 cpmtools_2.23-2.debian.tar.xz
8e06b6c7a555e28f0150ac6575da0320a84a82ad 6094 cpmtools_2.23-2_amd64.buildinfo
Checksums-Sha256:
451a73416d3fdadbde783b90a170536f51d39bcb52251d582eef41aa7cfdfe82 1779
cpmtools_2.23-2.dsc
eb44c9feeba34a84267a5f9318205646f03d100121cea7227f2d92ec128ab2f8 3144
cpmtools_2.23-2.debian.tar.xz
7cef8e718203e7fa17ff6f9c233615630b7366c0259f5516493af9a1034cfe69 6094
cpmtools_2.23-2_amd64.buildinfo
Files:
030fbc54438670593be39b58fc779884 1779 otherosfs optional cpmtools_2.23-2.dsc
a28efc3b91ef6d937bb1f9c58c887949 3144 otherosfs optional
cpmtools_2.23-2.debian.tar.xz
b754d2a555d235482d4477250ff369e0 6094 otherosfs optional
cpmtools_2.23-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEHguq2FwiMqGzzpLrtwRxBYMLn6EFAmPWn1sACgkQtwRxBYML
n6FJJw//a8ITSILCxmevh+EcHnx/h+i3AVPRWFbIVLd/gQKAaDc7cYHomOIgDStX
NQqNbFgaYoc6Vl+K6GPx3k602DAJVQhkmqR5TKzGH+CuJueYxpMhZ2ZFs4TAL+bA
X/lg1hKBGUl1DJHppReshPfwa/IVsgHfzSho2B2OAf7BfRG9hm5Blua39v45f14Z
5AUtpFtJArbI94s6k4Lu5XSdqgzBRbd9tGoH7Hq+gmx5dReJ683KN68/FbARdE6X
7dErhMJc9qm2fF+eOti0zqGike4HDdP5iZGocq8KdqXDwo9MD5TXYnKywkp2RYgP
IHPp2C1efeMy7cfHb6o/W8iNrWQ4PJRFlyU1FaIIpmbhH4PCWOTVuTkkAumiE0QA
/KrNdJ0kM0H8sS0twWB8dIoB1kZngRxXxiBWG3qR24MFuWfKVXZ4rQTNbbHSimSN
X3Dl4EFtA538pIqWeRPVasJ+cOYIZxS/z8lkwPRg2oz3R98WCH7oA1Q0ctUAtpPV
s67QKWBJTLjq6cgdt/qP7SUZ24734P2jX+EjYQry6rFqM84ghnfCyEpNvG4skcwM
6dc6yCTWWF6QQiREvWS2eajoUIOUkeHEyWxKob4RkIEarlCPCO7f9yxYOE1U8nUl
fjmomDxd3Uj5q+txmcM7BSX1S0kz2wQGXixt/2OJCwO6qyTa/YY=
=Inm1
-----END PGP SIGNATURE-----
--- End Message ---