Your message dated Mon, 05 Feb 2018 18:34:55 +0000
with message-id <e1eilbt-000f0i...@fasolo.debian.org>
and subject line Bug#888598: fixed in cpputest 3.8-6
has caused the Debian Bug report #888598,
regarding cpputest: FTBFS with debhelper/11.1 due to empty build target
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.)


-- 
888598: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888598
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: cpputest
Version: 3.8-5
Severity: serious
Tags: patch

Hi,

The cpputest package FTBFS with debhelper/11.1 as it has an
empty build target.  This is caused by debhelper had a bug in its
handling of "explicitly defined rules targets" that has now been
fixed.

Previously, this happened to work because dpkg-buildpackage would
invoke "debian/rules build" (which would be a no-op) followed by
"fakeroot debian/rules binary".  During the binary target, dh's
suboptimal handling would run the build commands.


The solution is trivial but less pretty; explicitly define "build"
with the same content as the "%:" target (or rename the "build" folder
and drop the ".PHONY" target).  I have attached a patch for this.

(There is also a bonus patch for a missing "set -e")


More details can be found in:
 * #886901 comment #35
 * #887688 comment #37
 * #880840

Apologies for the inconvenience.

Thanks,
~Niels
>From 7a82e9dd46d8ca621f2b76636497b82cc19cc8df Mon Sep 17 00:00:00 2001
From: Niels Thykier <ni...@thykier.net>
Date: Sat, 27 Jan 2018 15:31:16 +0000
Subject: [PATCH] Avoid empty build target

The dh sequencer as of debhelper/11.1 is stricter with this in order
to solve #880840 (where debhelper would fail to handle such targets
correctly).

Signed-off-by: Niels Thykier <ni...@thykier.net>
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index e62f756..ee8ed94 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,12 @@
 %:
        dh $@ --with autoreconf
 
+# The build target must not be empty.  Sadly because of how make
+# works, we have do duplicate the target in this case.
+build:
+       dh $@ --with autoreconf
+
+
 override_dh_auto_configure:
        dh_auto_configure -- --disable-silent-rules
 
-- 
2.15.1


--- End Message ---
--- Begin Message ---
Source: cpputest
Source-Version: 3.8-6

We believe that the bug you reported is fixed in the latest version of
cpputest, 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 888...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Raphaël Hertzog <hert...@debian.org> (supplier of updated cpputest 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...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 05 Feb 2018 18:56:17 +0100
Source: cpputest
Binary: cpputest libcpputest-dev
Architecture: source
Version: 3.8-6
Distribution: unstable
Urgency: medium
Maintainer: Raphaël Hertzog <hert...@debian.org>
Changed-By: Raphaël Hertzog <hert...@debian.org>
Description:
 cpputest   - C/C++ based unit test framework — main package
 libcpputest-dev - C/C++ based unit test framework — headers and static 
libraries
Closes: 888598
Changes:
 cpputest (3.8-6) unstable; urgency=medium
 .
   * Add explicit "build" target in debian/rules due to the existence of a
     "build" directory in the upstream files. Closes: #888598
   * Switch to debhelper 11.
   * Bump Standards-Version to 4.1.3.
   * Do not run test suite if DEB_BUILD_OPTIONS contains nocheck.
Checksums-Sha1:
 3a8a91762bb8e29d25cd2c368c7c4c0bd87d3a73 1648 cpputest_3.8-6.dsc
 9c9ef8e6b012dde350731fd0719c98898ef58d55 5144 cpputest_3.8-6.debian.tar.xz
 aeeeb521b8cd4a2a302cc947f342f4814edb5361 5471 cpputest_3.8-6_source.buildinfo
Checksums-Sha256:
 0e646d6cc0cdd97ccf4475f1070e10d3401e207c1486cbb5890eb73cd88ddbef 1648 
cpputest_3.8-6.dsc
 3027a84c80735817d426c7aacc29a8a1c2ddf167cbbae06bc5ba2213e796b8bd 5144 
cpputest_3.8-6.debian.tar.xz
 4daa7d1c912fbf3ca964e8dcbdf36c8cdcb52dc9672a074c094736c1905eba77 5471 
cpputest_3.8-6_source.buildinfo
Files:
 5f95385fc236ba7debf40b3604f623a4 1648 devel optional cpputest_3.8-6.dsc
 5455e042fe3014033aa97b75bee69dad 5144 devel optional 
cpputest_3.8-6.debian.tar.xz
 b610f33588baad43fbfd3166e7301c58 5471 devel optional 
cpputest_3.8-6_source.buildinfo

-----BEGIN PGP SIGNATURE-----
Comment: Signed by Raphael Hertzog

iQEzBAEBCgAdFiEE1823g1EQnhJ1LsbSA4gdq+vCmrkFAlp4nTgACgkQA4gdq+vC
mrkQtQgAsK9C4nvW4FUiH54lTRwN0yCe3SdM7ItndP5mpAehEHsjk9oq9bEq9DeO
hBbvxAS6uhDN3iYk3xNxmdCRtleiEgfPbYcD80GhTqXeJVQZ4xCT5rJ5Dh0FlZQb
E7VyeTXnqSisa9mRtSFQAid2XPQhMBkbdC4v+Ymfnr2cyVfQiJ85AsaLe+Ihrpx2
uepUGZAkGeMWIlfgQGl47RP2MtfVspYRkA1P48Kk+mtr0d4NHestHJa55yWuIulh
/inwiGnHHBi7/cTayna1F2ilGqTFYJABMTKEn98unwm9hfd+2/l1qOF3dGBOL+Dw
/cZQCuROlnFMf5/tkQ13KqifW2f6Ng==
=YNwx
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to