Your message dated Sun, 17 Apr 2022 09:48:50 +0000
with message-id <[email protected]>
and subject line Bug#1002800: fixed in debhelper 13.7
has caused the Debian Bug report #1002800,
regarding debhelper: run dh_installalternatives after dh_link?
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.)


-- 
1002800: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002800
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 13.6
Severity: wishlist

Thanks for dh_installalternatives!  I've wanted this for literally
decades, and discovered it this evening; it's allowed me to convert a
few more maintainer scripts to being managed entirely by debhelper.

In a couple of cases, I've found that I have existing alternatives
pointing to symlinks created by dh_link.  Arguably I suppose it might be
possible to chase the symlink through to its ultimate target, but the
intermediate target shows up in "update-alternatives --display" and so
has some documentation value; I also suspect that changing the
alternative target would require some care to preserve sysadmin choices.
I'd therefore prefer to leave these alternatives as they are when
translating them to dh_installalternatives.

However, dh_installalternatives checks that the alternative target
exists, and inconveniently it runs before dh_link.  I've had to work
around this in two different packages so far by creating symlinks
manually:

  
https://salsa.debian.org/ssh-team/openssh/-/commit/6575c90a6ba442634f55947bc84c998c3fb2b4fe
  
https://salsa.debian.org/debian/trn4/-/commit/8fd3325a740ac1655956d283aa5d64d77440d0cc

This seems like enough to be worth filing a bug.  Might it make sense to
move dh_installalternatives to just after dh_link in the root sequence
so that this sort of hack isn't needed?

-- 
Colin Watson (he/him)                              [[email protected]]

--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 13.7
Done: Niels Thykier <[email protected]>

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: SHA512

Format: 1.8
Date: Sun, 17 Apr 2022 09:42:46 +0000
Source: debhelper
Architecture: source
Version: 13.7
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Closes: 994204 1002800 1004939
Changes:
 debhelper (13.7) unstable; urgency=medium
 .
   [ Niels Thykier ]
   * dh_installalternatives: Improve validation of alternative files to
     catch some "obvious" copy-waste mistakes.
   * dh: Invoke dh_installalternatives after dh_link in compat 14 or
     later. Thanks to Colin Watson for the suggestion.
     (Closes: #1002800)
   * cmake.pm: Drop -DCMAKE_SKIP_RPATH=on in compat v14.  Thanks to
     Vagrant Cascadian for the suggestion and the investigative work on
     this topic.  (Closes: #1004939)
   * debhelper-compat-upgrade-checklist.pod: New file.
   * debhelper.pod: Move list of supported compat levels and the related
     upgrade checklist into debhelper-compat-upgrade-checklist.pod.
     This means you now need `man 7 debhelper-compat-upgrade-checklist`
     to see the upgrade checklist.
   * dh_installdebconf: Support -D/--define command line parameters
     (mirroring those from dh_installdeb).
   * Dh_Lib.pm: Cope with "?=" as assignment operator in substvars files
     to be future proof with (possible) planned addition of "optional
     substvars.  At the moment, debhelper will still always use "=" when
     adding a substvar but it will now preserve "?=" operator if an
     existing substvar is modified.
 .
   [ Guillem Jover ]
   * autoconf.pm: Add support for autotest test suites by passing the
     TESTSUITEFLAGS environment variable to `make test`.
 .
   [ Dave Jones ]
   * Rewrite handling of stop services to use the `preinst` when using
     --no-restart-after-upgrade.  This fixes a regression caused by
     the fix for #989155.  (Closes: #994204)
 .
   [ Johannes Schauer Marin Rodrigues ]
   * dh_installmenu: Respect DPKG_ROOT when checking for update-menus.
     Note this implementation assumes update-menus is present both
     inside and outside the chroot to activate.  If it is absent on
     either side, the update-menus call is skipped.
 .
   [ Gioele Barabucci ]
   * dh_installsysusers: Invoke systemd-sysusers even when DPKG_ROOT
     is set (relying on `--root`).
   * dh_installpam: In compat 14, install pam snippets into
     `/usr/lib/pam.d` instead of `/etc/pam.d`.  Remember to remove
     (now) obsolete conffiles when you bump to compat 14.
 .
   [ Andreas Hübner ]
   * debhelper.pod: Correct spelling of DEB_BUILD_MAINT_OPTIONS.
Checksums-Sha1:
 4b056295e349b904ab53e20bccb0942a4da8114f 1781 debhelper_13.7.dsc
 5ada71660423bd027535a8f1fa5491fe8c432e54 570648 debhelper_13.7.tar.xz
 c99dd52162c862013c803eb51de8279920645205 5109 debhelper_13.7_source.buildinfo
Checksums-Sha256:
 addaef09b019eff48fda58ae0068236a7bf23658954eca0c9aa47e1847f386fa 1781 
debhelper_13.7.dsc
 552e91ff96e1bd844d549496cb1712b32ae9c5f39e17da8b1c779bd718e4dc49 570648 
debhelper_13.7.tar.xz
 4058efc2b7ee56fd7038e1f9be1de708c480c328fa9125df4601cfd85330666c 5109 
debhelper_13.7_source.buildinfo
Files:
 a1b9c2d33c6661b6d76ae32d15b12f73 1781 devel optional debhelper_13.7.dsc
 04087c766181d84e011717c0a1ddc22a 570648 devel optional debhelper_13.7.tar.xz
 672e0c980e9a95ade3d78d14ba349a13 5109 devel optional 
debhelper_13.7_source.buildinfo

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

iQJGBAEBCgAwFiEE8f9dDX4ALfD+VfsMplt42+Z8eqwFAmJb4V8SHG5pZWxzQHRo
eWtpZXIubmV0AAoJEKZbeNvmfHqs6lkQANodDElgvIIMY2MT5/vyZ3UXfbvEemj/
u9VgFdtd0GSHxhEBnN38M/9SBR0+4B6wPugcQkvAXIh1I19ULh+q6gpznGOMCsZX
+Zx/pi/brQI5D09uSyKqaYTVj5N0IS3Z/eHYQ03BgdK14bT9QFwmHs8P5wYS43k/
o97GHmJ/XiVTSHeNDbkS20TjefDNLAFbBmNM+XVZz0MfJx2UUNut3NwvfCVZhGCM
E11KrkHzRyt8WIVy8Ox9WRkga/vJbZ2HmqmYrBkH6eTN4TtZ7KaH2y5LXkk5HVSe
e1LlmMNzKji2PBYR3DbELV/EQrXtch2RDtcI/JAMGbre4Q54hcgzwmjtA11yXblb
y6BXCpgs2SRB9rUF9gPJw95+pa6w8yUtg84mY9ncS5zuNyySZvKKetnCgo9PVZFZ
G3R95JlkQz8O1z5cweCHXKksDGJbbO8nrtVhYBrPfafvKDrP2KX8ANvw/0yL4Pyd
uvnKAHXfs8v2tDOhBKDg7+CXBmBKpilMMPzg6lL1Obljxpt70yJ+UgxIcKW/vMrI
+rZpLYGruDKUBB7N5JhJjzRN4W3U0j8HNL8UDa/UXJydFuiPeUQGtddcc2SDD0BE
WZXNsrcJ7QO1CYNPAWuEDKIisPm8TmnMQy0gAEtuW7vzlkDv3Ajp9pStltRrvfQr
4nBCyCUF8mdm
=jNFp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to