Your message dated Sun, 04 Oct 2015 16:04:41 +0000
with message-id <[email protected]>
and subject line Bug#795193: fixed in debhelper 9.20151004
has caused the Debian Bug report #795193,
regarding debhelper: Document that --onlyscripts should generally be used with 
-p
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.)


-- 
795193: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795193
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 9.20150628
Severity: normal

With source packages that generate <name>-dbg package for debug
symbols, they generally use dh_installinit without problems.  The
debhelper scripts are generated for the first package only.

But when is added the option "--onlyscripts" it generates debhelper
scripts for both packages.  This means that when installing <package>
and <package>-dbg, it is not possible to remove <pakage>-dbg.  The
postrm script of <package>-dbg tries to remove the init script that
belongs to <package>.

Using debhelper compatibility mode 5.

This bug was reproduced using nginx package v0.7.67.  From debian/rules:

binary-arch: install
        dh_testdir
        dh_testroot
        dh_installchangelogs CHANGES
        dh_installdocs
        dh_installinit -r --no-start --onlyscripts
        dh_installman debian/nginx.1
        dh_installlogrotate
        dh_link
        dh_strip --dbg-package=nginx-dbg
        dh_compress
        dh_fixperms
        dh_installdeb
        dh_shlibdeps
        dh_gencontrol
        dh_md5sums
        dh_builddeb


Adding the option --onlyscripts breaks the package.


-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 
'oldstable-updates'), (500, 'oldoldstable-updates'), (500, 'oldoldstable'), 
(500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
ii  binutils      2.25-5
ii  dpkg          1.17.25
ii  dpkg-dev      1.17.25
ii  file          1:5.22+15-2
ii  libdpkg-perl  1.17.25
ii  man-db        2.7.0.2-5
ii  perl          5.20.2-3+deb8u1
ii  po-debconf    1.0.16+nmu3

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make  <none>

-- no debconf information

Kind regards
Jose M Calhariz

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

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <[email protected]> (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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 04 Oct 2015 17:34:16 +0200
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 9.20151004
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Description:
 debhelper  - helper programs for debian/rules
Closes: 436240 516721 595097 672282 677353 698054 719148 748993 759895 776103 
790820 791823 794396 794898 795193 795519 797002 797904 798116 800332
Changes:
 debhelper (9.20151004) unstable; urgency=medium
 .
   [ Niels Thykier ]
   * dh/dh_auto_*: Apply patch from Eduard Sanou to define
     SOURCE_DATE_EPOCH.  (Closes: #791823)
   * cmake.pm: Add better cross-compile support for cmake.
     Heavily based on a patch from Helmut Grohne.
     (Closes: #794396)
   * cmake.pm: Pass -DCMAKE_INSTALL_SYSCONFDIR=/etc and
     -DCMAKE_INSTALL_LOCALSTATEDIR=/var to cmake.  Thanks to
     Felix Geyer, Lisandro Damián Nicanor Pérez Meyer and
     Michael Terry for the assistance plus suggestions.
     (Closes: #719148)
   * dh_installinit: Quote directory name before using it in
     a regex.
   * dh_installinit: Create script snippts for tmpfiles.d
     files even if the package has no sysvinit script or
     explicit debian/<package>.service file.
     (Closes: #795519)
   * dh_makeshlibs: Revert passing -X to ldconfig in compat 10
     after talking with the glibc maintainer.  This is not the
     right place to make this change.
   * d/control: Remove the homepage field.
   * dh: Make dh_strip_nondeterminism optional, so debhelper
     does not need to build-depend on it.
   * dh_gencontrol/dh_builddeb: Temporarily stop building ddebs
     for udebs as dpkg-gencontrol and dpkg-deb does not agree
     the default file extension for these.
   * dh_builddeb: Generate udebs with the correct filename even
     when "-V" is passed to dpkg-gencontrol.  This relies on
     dpkg-deb getting everything but the extension correct
     (see #575059, #452273 for why it does not produce the
      correct extesion).
     (Closes: #516721, #677353, #672282)
   * Dh_Lib.pm: Drop now unused "udeb_filename" subroutine.
   * dh_strip.1: Correct the documentation about ddebs to
     reflect the current implementation (rather than the
     desired "state").  Thanks to Jakub Wilk for the report.
     (Closes: #797002)
   * dh_fixperms: Reset permissions to 0644 for .js, .css,
     .jpeg, .jpg, .png, and .gif files.  Thanks to Ernesto
     Hernández-Novich for the suggestion.  (Closes: #595097)
   * dh_install: Read debian/not-installed if present as a
     list of files that are deliberately not installed.
     Files listed here will not cause dh_install to complain
     with --list-missing.  Thanks to Peter Eisentraut for the
     suggestion.  (Closes: #436240)
   * Dh_Lib: Cherry-pick patch from Chris Lamb to only read
     the latest changelog entry when determing the
     SOURCE_DATE_EPOCH.
   * debhelper.7: Provide a better example of how to insert
     the debhelper maintainer script snippets into a maintainer
     script written in Perl.  Thanks to Jakub Wilk for
     reporting the issues.  (Closes: #797904)
   * dh_shlibdeps: The "-L" option can now be passed multiple
     times with different package names.  Thanks to Tristan
     Schmelcher for the suggestion.  (Closes: #776103)
   * dh,Buildsytems: In compat 10, default to --parallel.
   * dh,Buildsytems: Accept "--no-parallel" to disable
     parallel builds.  It is effectively the same as using
     --max-parallel=1 but may be more intuitive to some people.
   * dh_makeshlibs: Use a noawait trigger to invoke ldconfig
     rather maintscripts.
   * dh_installdirs.1: Add a note that many packages will work
     fine without calling dh_installdirs.  (Closes: #748993)
   * dh_compress: Apply patch from Rafael Kitover to support
     passing files to dh_compress that would have been
     compressed anyway.  (Closes: #794898)
   * Dh_Lib: Apply patch from Gergely Nagy to make debhelper
     export "DH_CONFIG_ACT_ON_PACKAGES" when executing an
     executable debhelper config file.  This is intended to
     assist dh-exec (etc.) in figuring what packages are
     acted on.  (Closes: #698054)
   * dh_movefiles: Expand globs in arguments passed in all
     compat levels (and not just compat 1 and 2).
     (Closes: #800332)
   * dh_installinit: Clearly document that --onlyscripts
     should generally be used with -p (or similar) to limit
     the number of affected packages.  (Closes: #795193)
 .
   [ Paul Tagliamonte ]
   * dh_gencontrol: Put debug debs back in the "debug" section.
   * dh_strip/dh_gencontrol: Add a space separated list of
     build-ids in the control file of packages containing
     deattached debug symbols.
 .
   [ Andrew Ayer ]
   * d/control: Depend on dh-strip-nondeterminism
   * dh: Call dh_strip_nondeterminism during build.
     (Closes: #759895)
 .
   [ Colin Watson ]
   * Buildsystem.pm: Fix doit_in_sourcedir/doit_in_builddir to
     always chdir back to the original directory even if the
     subprocess exits non-zero.  (Closes: #798116)
 .
   [ Translations ]
   * Update Portuguese translation (Américo Monteiro)
     (Closes: #790820)
Checksums-Sha1:
 3c04d9dcef8512a6fab61d5c443a2074f20e4051 1703 debhelper_9.20151004.dsc
 998b38f5a0ff1a151cd3c9e6d7c1833634e978af 325348 debhelper_9.20151004.tar.xz
 ccced65fb35852d677abbbcbd3e8aa17fa42c7b9 817274 debhelper_9.20151004_all.deb
Checksums-Sha256:
 ddbc65fa1e7bd24c0268ff95e568f178419cdb2eabde4fd4f0b0d139d9d48a31 1703 
debhelper_9.20151004.dsc
 e8c32712db58ac0764e8c83a324a7a519a58a33a6c9ba86f1ca0ac171213f21f 325348 
debhelper_9.20151004.tar.xz
 ca395ec3d0c679072482b06cf76a5f40d4a3d0651247db81a8d5bb28e3d5ae2c 817274 
debhelper_9.20151004_all.deb
Files:
 b3bf096f885c4b974d2d026fa2338269 1703 devel optional debhelper_9.20151004.dsc
 e46521506d9bc4637aa60c9509b77d85 325348 devel optional 
debhelper_9.20151004.tar.xz
 dda5739247801593dab967c562446549 817274 devel optional 
debhelper_9.20151004_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWEUi+AAoJEAVLu599gGRCv+4QAJwvL3Em4cyBQhHtPtCc3eLd
q2MHOQ2q/sBi8MIfxoX+sYtv1VmMewKH+fgYKFUTzFaslx9p6hLhoddAGOsjonPS
jkW35fUo04jtdJ/mamuDFWWwMZpuzv0yVb4qT3ONWJ14oEFb8M/9f4VJc7KCXaKz
C3tmWP1duTbGulv2qb8nVP85diBJ8Zo5avVmUkRA4PLDYFKOFh8jd4texBvPM8/d
fbp9I2oO/iCGSJHrGgkphb4jTz3Y2yYxjbIMwsWSeWMkxIrQCncxEmA8wHgMrBoI
ra3mzyDR8xkW3xurH3C5EQ1TqL783rEwIR/m1The2P0bijW0mQA9Z2ZVc921neKo
Kepx1v0VIG0j3cBEMXV0ndlcbe6lcICWzwqFoAznOt5l+s+BVWgYDS7KnFUkQSZN
6lHWRchvh9z7GLrcx05VtzAOYHuuSjmPkqAVgNY7oGWIvjpU81VHG+gN7yDMIyRc
nvrKpLtorh0rEI4RqCbaUm318UMpGxfBrmOipXlgRPqYcYef+ELX1l1yb9IF3NjN
Peu+cJCPbtEd7MTVm1YxwPZRoprpa1bWHPDwa2rIMZlqAaAUEmrIedtlGMHpzEYg
D44vvOGlot33YbbgtdnsfYkBdsgfnPF8aMmWZnrU8NDuoa0xHgMYJhLQ1L9ZOFqZ
xiOeQ+fCcS43lvbrlWg5
=Nclf
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to