Your message dated Sat, 06 Jan 2018 21:34:07 +0000
with message-id <e1exw6r-0001ps...@fasolo.debian.org>
and subject line Bug#880840: fixed in debhelper 11.1
has caused the Debian Bug report #880840,
regarding debhelper: build makefile rule does not replace dh build sequence
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.)


-- 
880840: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880840
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: debhelper
Version: 10.10.5
Severity: normal

Hi,

If you create a rules file with a manual build target like this:
#!/usr/bin/make -f
%:
        dh $@

build:
        echo hi

Then, if you run the binary target directly, dh will run the build
target, but then also run the normal build sequence.

$ fakeroot debian/rules binary
dh binary
   debian/rules build
make[1]: Entering directory '/tmp/test'
echo hi
hi
make[1]: Leaving directory '/tmp/test'
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
   dh_testroot
   dh_prep
   dh_auto_install
...

I would expect the part from dh_update_autotools_config to dh_auto_test
to be omitted in this case.

I noticed this when I tried to enable Rules-Requires-Root in libopenmpt.
libopenmpt has a "build" target in debian/rules because upstream ships a
top-level "build" directory and make will cause "debian/rules build" to
be a no-op otherwise.

Thanks,
James

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 11.1

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

Debian distribution maintenance software
pp.
Niels Thykier <ni...@thykier.net> (supplier of updated debhelper 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: SHA256

Format: 1.8
Date: Sat, 06 Jan 2018 21:17:47 +0000
Source: debhelper
Binary: debhelper dh-systemd
Architecture: source
Version: 11.1
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <debhelper-de...@lists.alioth.debian.org>
Changed-By: Niels Thykier <ni...@thykier.net>
Description:
 debhelper  - helper programs for debian/rules
 dh-systemd - debhelper add-on to handle systemd unit files - transitional pack
Closes: 566861 570935 593382 650129 653640 709384 761272 814285 858834 873831 
880840 884556 884574 885998 886037 886038 886127 886279
Changes:
 debhelper (11.1) unstable; urgency=medium
 .
   [ Paul Tagliamonte ]
   * dh: Provide the DH_EXTRA_ADDONS environment as a method for
     e.g. derivatives to enable additional debhelper add-ons.
     It is *not* a replacement for the --with parameter (which
     package maintainers should still use).  (Closes: #570935)
 .
   [ Hideki Yamane ]
   * Fix typo of unnecessary.  (Closes: #884574)
 .
   [ Niels Thykier ]
   * dh_missing: Support wildcards in debian/not-installed.  Thanks
     to Maximiliano Curia for the suggestion.  (Closes: #884556)
   * dh_missing: Tweak handling of missing source directory and
     single binary packages.
   * dh_missing: Make --list-missing the default in compat 12.
     Thanks to Daniel Leidert and Christian Göttsche for the
     suggestions.  (Closes: #650129, #858834)
   * meson.pm: Set LC_ALL to C.UTF-8 when invoking meson and
     debcrossgen (helper tool for cross-building).  Thanks to
     Jeremy Bicha for the suggestion.  (Closes: #873831)
   * dh_makeshlibs: Avoid forking a shell per line in the
     generated shlibs file.
   * dh_makeshlibs: Find all libraries with an unversioned SONAME
     field (and not just the unversioned ones containing ".so").
   * dh_makeshlibs: In compat 12, stop passing ELF binaries without
     a SONAME to dpkg-gensymbols.  Thanks to Steve Langasek for the
     report.  (Closes: #653640)
   * dh_compress: In compat 12, stop compressing any thing in
     /usr/share/doc/$pkg/examples.  Thanks to Piotr Ożarowski for
     the suggestion.  (Closes: #593382)
   * dh_installinit: Support a new --no-enable parameter to setup the
     init script with the "defaults-disabled" and add the proper
     versioned dependency on "init-system-helpers (>= 1.51)", which is
     the first (functional) version with support for
     "defaults-disabled".  Thanks to Laurent Bigonville for the
     report and Evgeni Golov for filing #857452.  (Closes: #709384)
   * Dh_Lib.pm: Make "exit 1" the default error-handler instead of
     "exit $?" as this makes it easier to migrate from sed-based
     autoscript substitutions to the new hash-based ones.
   * autoscripts/*systemd*: Also use "|| true" in removal scripts for
     systemd related tools if we do it in other scripts for the same
     command.  Thanks to Laurent Bigonville for the report.
     (Closes: #761272)
   * dh_installinit: Perform the autoscript substitutions without
     needing a shell.
   * dh_clean: Skip cleaning in the '.pc' and '_darcs' directories.
     (Closes: #566861)
   * dh_strip: Do not strip debug symbols in ".../debug/.build-id/".
     Thanks to Mattia Rizzolo for reporting the bug.
     (Closes: #886037)
   * dh_gencontrol: Deduplicate debug-ids before inserting them into
     the control file.  Thanks to Mattia Rizzolo for reporting the
     bug.  (Closes: #886038)
   * dh: Rewrite sequence handling to ensure that dh does not "inline"
     a subtarget of a target it recurses into.  Thanks to James
     Cowgill for reporting the bug.  (Closes: #880840)
   * d/control: Add a Breaks against cmake (<< 3.8~) to ensure that
     cmake response to the /run change in compat 11.  Thanks to
     Adrian Bunk for the suggestion.  (Closes: #886127)
   * Dh_Lib.pm/dh_testroot: Support the DEB_GAIN_ROOT_CMD environment
     that replaces DPKG_GAIN_ROOT_CMD.
   * dh_installinit/dh_installsystemd: Re-order snippets so service
     handling is always the first to happen in removal scripts and last
     to happen on install scripts.  This means that configuration file
     management and systemd-tmpfiles handling will now always happen
     before the service is started on install/upgrade.  Thanks to
     Дилян Палаузов and Simon McVittie for reporting the bug.
     (Closes: #814285, #885998)
     - Note that the deprecated dh_systemd_enable and dh_systemd_start
       helpers have not been changed.  Services handled by these may
       still be started before configuration management happens.
   * debian/control: Drop some very old versioned constraints that are
     no longer important.
   * dh_installsystemd: Fix NOOP PROMISE to account for the tmpfiles.d
     files.
   * debian/control: Bump Standards-Versions to 4.1.3 - no additional
     changes required.
 .
   [ Translations ]
   * Update French translation (Baptiste Jammet)  (Closes: #886279)
Checksums-Sha1:
 dff994214896f3335e9ceac13f287204a0c83673 1773 debhelper_11.1.dsc
 35645827669046c18fdbd833a3d41fc3badc866f 448648 debhelper_11.1.tar.xz
 c89cd78ea798b26be0ae8e6e65d289457638fdc6 4500 debhelper_11.1_source.buildinfo
Checksums-Sha256:
 6b7e07a5634b74ec12d6fa0daac4bced2407feb35e0197ac7eb32acd91e9bdf8 1773 
debhelper_11.1.dsc
 25f22ace3b9c053047ca374012ffa6cb3eb913eaf9b167713cd876b27dec5ddf 448648 
debhelper_11.1.tar.xz
 1ebc16c4b4fe2529ad5038a0520ae01255db595cd7b442cf8c15c2dc7bf48b71 4500 
debhelper_11.1_source.buildinfo
Files:
 4285bb7641ba6ab68f4df9490fb61cf3 1773 devel optional debhelper_11.1.dsc
 ebd851f94e224a3d120c2f38ec370fed 448648 devel optional debhelper_11.1.tar.xz
 3a9cee0305d831eedad2b9bb0c2127c9 4500 devel optional 
debhelper_11.1_source.buildinfo

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

iQIzBAEBCAAdFiEEsxMaRR2/33ygW0GXBUu7n32AZEIFAlpRPSsACgkQBUu7n32A
ZEJydg/+MdmCwIrIOw4PuLZ/vAy6OEM2rnu4qiuM8Khq1dX1RJjNgv/MAVPVJLTP
R/D0mmOulIYJiobxlVbfjr7tNFFBmaf42U9kfANEkHwfJRUc4BqYwtkSRU/wv4m+
vfRDIuEj+uB8ArTgLIBxrfolI/lAJXCo7C1IB/l6GZ6276LanE6+0waVou9Pmf1L
MAgVPaQY43Rc+OYe2OyMI29/G5yhiebR1yjfVNxFuofUTIShoUDckGCensw61EvH
PwA44NsB7iO0hB7pDAluouzswS5bqa4qXg1CpxQEW+W+FQPpTjQx7Ew/VOgDT7z4
dk4dkEdyL1VjOQvgbTUVQ3L4q/a/33fHzvViuDHKiBLA5fanmh4gfVCyVYSleVW7
Su9iGBEfku68PmsEi3KAFQk4FXj40I13djlIiLzPwStxcVDhUqw99u5J+p6ixzEb
hUHG4VYIBZ4Tt1Ud+u7JoW2QCttA3l/J/sRDkyDNfLd7mOVv55liE9QGwVOfKwmd
5PnzDEEI3mWZE0dWsVZ89wyQM6AFWCJC0ZFznJ9Pa2kdnKVPakOfbaYhsdxhD5q6
GztcvxZefYqR5oWsEX9j8Cs2COmGqMmwYuqN4VFqf1pJNoJ/vVErXujh3oejP9/w
1oFEqYlxYhjQyGqPn2sRDrfq8EG0TTgBtyf4IFG1koX/gvTD9IM=
=QRfL
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to