Your message dated Tue, 24 Jan 2023 23:19:22 +0000
with message-id <[email protected]>
and subject line Bug#1029084: fixed in cpmtools 2.23-1
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-1
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: Tue, 24 Jan 2023 15:48:52 -0700
Source: cpmtools
Architecture: source
Version: 2.23-1
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <[email protected]>
Changed-By: Bdale Garbee <[email protected]>
Closes: 1027768 1027769 1029084
Changes:
 cpmtools (2.23-1) unstable; urgency=low
 .
   * new upstream version, closes: #1027768
   * build with libdsk, closes: #1027769
   * cross-building should be fixed by repackaging, closes: #1029084
Checksums-Sha1:
 a9dd71ab995c8102615b80dbcc3c11856c160301 1779 cpmtools_2.23-1.dsc
 23310c424eb3d8fd70a978c1744544156aa8e286 177659 cpmtools_2.23.orig.tar.gz
 068ae569ed1f342bf617a0e48bcdf5fa556eb011 3080 cpmtools_2.23-1.debian.tar.xz
 576b2837ae538df94c796b70ea5426dc25829f0c 6094 cpmtools_2.23-1_amd64.buildinfo
Checksums-Sha256:
 91456c10eaf7b44c94e647bba227b53530d9d9ac3379a6129dfa30d4bdd4f222 1779 
cpmtools_2.23-1.dsc
 02088d41bbf4c45c32e4ce505d3030e8f6f0d0dc74e60e5f13d7e696d44f9997 177659 
cpmtools_2.23.orig.tar.gz
 07bfe6ad4c25b038f0eee600a14c4f01b84bd12bb61523f7619a72330d08d9de 3080 
cpmtools_2.23-1.debian.tar.xz
 c59bc9d7a37a3831dc795077300ebc176caf175a4f934ac8b68188e78545a2ca 6094 
cpmtools_2.23-1_amd64.buildinfo
Files:
 496557082a2c4c86e359e588f23083bb 1779 otherosfs optional cpmtools_2.23-1.dsc
 19560f6b90de0453f18871e96be66c96 177659 otherosfs optional 
cpmtools_2.23.orig.tar.gz
 30679d366e1652376fb2780a9ce24b19 3080 otherosfs optional 
cpmtools_2.23-1.debian.tar.xz
 2ca5cae802c9b054766d2c805b1a41d9 6094 otherosfs optional 
cpmtools_2.23-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEHguq2FwiMqGzzpLrtwRxBYMLn6EFAmPQYS0ACgkQtwRxBYML
n6H5QhAAuYAzDvLP8erhF7y9r58vshgsU1WWpBlf1SV37HfPBAR9H9OMLxPxY/Vk
l9o62I9I+RqvrAoNVWv2N+Be228o7IWdS14H2mobGPOGKEfyQ2efeHtO+EbNbwcC
9HlvprdJzDApGOcFb7sPvEPdj2UrFsJQOmberhzznd5AEp9RyDsc1za6cJXTB6dQ
wdJ5BEpVR1z/1t3vbH4Yqrws2eNht7zxoG6r1OGLOWIV915qM3PIZOBNkKT2FQdU
9EW8jpzk4kfjsHUSdcL0yw7KRnGdeBN6UVUIReq6NNs4aGTcoo05zyGbIZsbynT5
XUn6Aw3/3GTcTXvnCeh/CjtC5cp1LEzE9kyiaAxfzIDoH1UqMjjBodSxKMETlE4v
4jWSgQDHtEXMVmIfVdqzWhuKYFupYyo5+Mni6gSBu27ueG9rQYnSDnjktUCDLEOP
JKyyIEXMFXGrEnB1CwiKA9GnrhN/qSlSDLfEW3iWd+s1GIC9vgVQG3XJ4smDSQre
h+d4TEhs7wlFhu4Q1KsFVpWr1HtDK/wlEm1CwGWNYAG+grZRXwgQ7rSukeDdUCjr
dneUzFYMBVi2E2EfGaRCzKF2J7b7fCf5KiE5Y199Yw1S1B6H4VTbvgenVwpKskLt
/LQcWSNRvWchcqGe40nd74sbYc2+eo/JqSS1vRvd9+vfyDc3/CI=
=FYHZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to