Your message dated Sun, 05 Oct 2025 17:19:42 +0000
with message-id <[email protected]>
and subject line Bug#1117245: fixed in package-notes 0.16
has caused the Debian Bug report #1117245,
regarding dh_dlopenlibdeps: doesn't generate a dependency on package names 
containing a dot (period)
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.)


-- 
1117245: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117245
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-dlopenlibdeps
Version: 0.15
Severity: important
File: /usr/bin/dh_dlopenlibdeps

The latest development snapshots of libsdl3 have ELF notes for dlopen'd 
libraries according to systemd's specification, making it much easier to 
keep track of dlopen'd dependencies than in the past, particularly when 
combined with dh_dlopenlibdeps.

While trying to switch SDL's rarely-used libsndio dependency to be 
dynamically opened at runtime, I noticed that dh_dlopenlibdeps wasn't 
generating a Suggests as I expected. Similarly for libpipewire (I'm 
unsure whether I want to convert that be dynamically-opened or not,
but I tried it as an experiment), no Suggests was generated.

This turns out to be because their binary packages are named libsndio7.0 
and libpipewire-0.3-0t64, which are valid package names but do not match 
the regex used in dh_dlopenlibdeps because they contain a dot:

> $line =~ m/^([-a-z0-9+]+):/

The simplest fix would be to add the dot to the character class, making 
it match every valid Debian package name. (Strictly speaking it also 
matches some invalid package names, because there must be at least two 
characters and the first one must be alphanumeric, but I think it's fine 
to be slightly too lenient here.)

Debian Policy §5.6.7 says binary package names follow the same 
restrictions as source package names, and §5.6.1 says that means 
lower-case letters, digits, plus, minus or period. So the only valid 
character that is not matched by dh_dlopenlibdeps' regex is the dot 
(period), and adding the dot should be a complete/future-proof solution.

I'll open a pull request with the obvious change when I have a bug 
number to close in it, unless a maintainer gets there first.

Thanks,
    smcv

--- End Message ---
--- Begin Message ---
Source: package-notes
Source-Version: 0.16
Done: Luca Boccassi <[email protected]>

We believe that the bug you reported is fixed in the latest version of
package-notes, 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.
Luca Boccassi <[email protected]> (supplier of updated package-notes 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, 05 Oct 2025 17:58:08 +0100
Source: package-notes
Architecture: source
Version: 0.16
Distribution: unstable
Urgency: medium
Maintainer: Luca Boccassi <[email protected]>
Changed-By: Luca Boccassi <[email protected]>
Closes: 1117245
Changes:
 package-notes (0.16) unstable; urgency=medium
 .
   [ Zbigniew Jędrzejewski-Szmek ]
   * man: link to the spec in --help/man page
   * Makefile: add 'man' target for ease-of-use
   * refactor: use same style for ArgumentParser and the args
   * refactor: turn the code to read notes into a class
   * dlopen-notes: add mode to generate rpm Provides/Requires
   * README: show how to actually show the notes
 .
   [ Simon McVittie ]
   * d/dh_dlopenlibdeps: Refer to the correct specification
   * d/dh_package_notes.1: Fix typos
   * dh_dlopenlibdeps: Debian package names can contain dots (Closes:
     #1117245)
Checksums-Sha1:
 16dcb2e845465cebcf29bb7abf2f7a83a8d98d69 1757 package-notes_0.16.dsc
 f2bedb0cd22521ead168617cfc33211ad59a3c89 13976 package-notes_0.16.tar.xz
 5cb26a99d4829f4b3e7919963c2339acab0d478f 6864 
package-notes_0.16_source.buildinfo
Checksums-Sha256:
 44a57d8105a2f66abe7a328f865ad0b7e8e426e3952d6d9bd095b6bf54ae8c48 1757 
package-notes_0.16.dsc
 fd78669caea66fdbf9d9284ba3b69462bb9de6fc27307992bfae33ad62514421 13976 
package-notes_0.16.tar.xz
 ac6a650e4ad25669eaf776b59cf249517e1d2ac193cc66db3755b14ca3167087 6864 
package-notes_0.16_source.buildinfo
Files:
 f9c4676a9ecedcc8f8001fba0b35ab2f 1757 admin optional package-notes_0.16.dsc
 92ad9d9b602df329a47889a85d1ec317 13976 admin optional package-notes_0.16.tar.xz
 3bc2ba182feae6610c7fb022b7ac1396 6864 admin optional 
package-notes_0.16_source.buildinfo

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

iQJFBAEBCgAvFiEErCSqx93EIPGOymuRKGv37813JB4FAmjipUERHGJsdWNhQGRl
Ymlhbi5vcmcACgkQKGv37813JB5bmBAAmUwPG/iG/h2QLJxZeRtmwm/vRR4ADLAz
iRsyevv51wu4XMNZSKCe8kzz/PSh3ErGyGFeCof+vcc20NkiKbpavqtG+8iGKFHi
9++nHvXmMuxETHlbbvjW7Jq4XVmrf4ceJVSAuDIbZbXxiF8zvcRCCnK5bCOM2XBw
kv6eKHQV0gw/Bud4Mx4EKiibE/hloHB/lHtX5514GXnFTBUDb/FCHjMyZp3JlcuH
crJTIE/Q5EhJokTAR5BgnR1QnYD9Al72d60Z+aVoEc3foZ3+AYf1bEqz+gR0IGCA
wxBHNR8JvXMyLeF6+6kka34VgIbmniBxgUoZ2MvrufZdjoZ9EazDBbKKLKOiMkjK
921o9uNQ8DWRVRGFrCNqGQoQPMVCulURnwHrMOWo70r2XxEBRibJE/ohQ+7aYQYG
9Fi5EyOXJjx/y9JfrD5Lm5NmxCCxTL56FhDkVPlTJSaHCOpQ6EB3ONFCvF9RBumf
M13ukOIASeMId3B7tyopffwy+4lPo3dxbSfmbRFPQe0b1KRKtDhCHIaqW0dNz3vZ
Jk0UvfXvHhHh/pn4zp1T+LZgelsuRINAJmeu4pu51zVS7a3CsdNETAANa9PVRsu/
IiFrr5Zc5a6mGORUioaA0QIlhu7/F3iGIWFGm5J7ZkxsnivA1ugyKGYHCzjkSCHl
ujOcsWQTFoE=
=U/+s
-----END PGP SIGNATURE-----

Attachment: pgpzYtjFR88jp.pgp
Description: PGP signature


--- End Message ---

Reply via email to