Package: libdpkg-perl
Version: 1.23.7
Severity: minor
X-Debbugs-Cc: [email protected]

Greetings,

using Dpkg::Version::is_native triggers a deprecation warning now and
a recommendation:

| (...) depending on the context, using has_revsion() might be sensible (...)

Now using that, I get

| Can't locate object method "has_revsion" via package "Dpkg::Version (...)

That took a moment too long - it's just a typo, correct was has_rev*i*sion.

And while one it, mind to clarify the logic of has_revision is inverted?
So, for the manpage:

- using the $v->has_revision() method might be sensible.
+ using the negated result of $v->has_revision() method might be sensible.

This would avoid a pitfall for people who want to adapt their code.


All the best

    Christoph

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.103 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libdpkg-perl depends on:
ii  dpkg  1.23.7
ii  perl  5.42.3-1

Versions of packages libdpkg-perl recommends:
ii  bzip2                   1.0.8-6+b2
ii  libfile-fcntllock-perl  0.22-4+b5
ii  liblocale-gettext-perl  1.07-10+b1
ii  xz-utils                5.8.3-1

Versions of packages libdpkg-perl suggests:
ii  binutils                   2.47-2
pn  bzr                        <none>
ii  clang-19 [c-compiler]      1:19.1.7-22+b1
ii  clang-21 [c-compiler]      1:21.1.8-10
ii  debian-keyring             2026.06.27
pn  debian-tag2upload-keyring  <none>
ii  gcc [c-compiler]           4:16.1.0-3
ii  gcc-15 [c-compiler]        15.3.0-2
ii  gcc-16 [c-compiler]        16.2.0-1
ii  git                        1:2.55.0-1
ii  gnupg                      2.4.9-7
ii  gpgv                       2.4.9-7+b1
ii  patch                      2.8-2
ii  sensible-utils             0.0.26
ii  sqv                        1.4.0-1

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to