Your message dated Sat, 20 Dec 2025 02:38:07 +0000
with message-id <[email protected]>
and subject line Bug#1123630: fixed in dpkg 1.23.3
has caused the Debian Bug report #1123630,
regarding Please reconsider new Version->is_native warning
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.)
--
1123630: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123630
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libdpkg-perl
Version: 1.23.2
Control: block 1123583 by -1
Hi. While working with sid, I saw this new warning:
using Dpkg::Version->is_native() has been made incoherent
and confusing on some dpkg vendors; it is deprecated as not
having portable semantics anymore at /usr/bin/[PROGRAM] line [LINE].
I think this is part of the changes prompted by #737634 / #1007717.
As I understand it, a Dpkg::Version object represents a Debian version
number. I don't think the concept of native, vs non-native, *version
numbers*, is affected at all by the TC decision in #1007717. It no
longer corresponds identically to the source package format, but
Dpkg::Version doesn't involve anything to do with source package
formats.
It's a shame that policy has not yet been updated (#1107137) but I
think it's clear that we are going to retain the terminology "native
version number".
So I think the `is_native` method on Version probably ought to be
retained rather than deprecated.
If there is a need to distinguish, here, native *version numbers* from
native *source formats*, then perhaps the method might be renamed to
`is_native_version_number` or something. But that seems otioise given
that it is a method *on a version number object*. And in that case we
would presumably have some kind of transition plan to the new method
name.
In practical terms for callers: authors using this API have presumably
been calling this method, and other methods in Dpkg/Version.pm, in
order to avoid reimplementing Debian's version numbering algoriths,
and be spared the need to adapt their code if Debian's package
versioning scheme changes.
So I think people using this function are doing the right thing, and
rewarding them by deprecating it can't be right. No doubt many will
conclude that they should have just looked for a hyphen in the string.
Especially since the version of dpkg in sid doesn't seem to offer any
alternative. Do you really intend for users of this method to
write !~ m/-/ instead ?
Thanks for your consideration.
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.23.3
Done: Guillem Jover <[email protected]>
We believe that the bug you reported is fixed in the latest version of
dpkg, 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.
Guillem Jover <[email protected]> (supplier of updated dpkg 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: Sat, 20 Dec 2025 02:18:49 +0100
Source: dpkg
Architecture: source
Version: 1.23.3
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers <[email protected]>
Changed-By: Guillem Jover <[email protected]>
Closes: 1100187 1123630
Changes:
dpkg (1.23.3) unstable; urgency=medium
.
[ Guillem Jover ]
* Perl modules:
- Dpkg::Vendor::Debian: Mask PIE on m68k, sh4 and x32.
Thanks to Adrian Bunk <[email protected]>. Closes: #1100187
- Dpkg::Version: Add new has_epoch() and has_revision() methods.
Closes: #1123630
- Dpkg::Source::Package::V1: Make debian/rules executable on extract if
present. Closes: #1123630
Checksums-Sha1:
4ecf9d611aa34aacdac017e4f8b3ec6293127c0a 3474 dpkg_1.23.3.dsc
96278a5ffe98c7c83fa635fbaaaf3a90bb46923a 5803688 dpkg_1.23.3.tar.xz
9f0d560f01c5b21efda86a776d5343de6a3ce9d0 8091 dpkg_1.23.3_amd64.buildinfo
Checksums-Sha256:
fc8ea0d894361716bf6ff6e42e6da8f7d60d3798a6d14640fade86ba7774f396 3474
dpkg_1.23.3.dsc
57f759b573dfe25602be8f4f0df24d5264367bbd6489741dd767c30dde65ae36 5803688
dpkg_1.23.3.tar.xz
c67a43c238e118193d6424534b6713fb2dc3b3a4c2c0136c504cba59875307b0 8091
dpkg_1.23.3_amd64.buildinfo
Files:
81d99aac91c10e3466b16517071da7c0 3474 admin required dpkg_1.23.3.dsc
da4335b03b4c90cb1cc4aac592bc3c3c 5803688 admin required dpkg_1.23.3.tar.xz
3aee70eefddf1f11c5ff20d41b6c6108 8091 admin required
dpkg_1.23.3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
wsG7BAEBCgBvBYJpRf5qCRC5cr8+pK5Xo0cUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmfS9yQeTtQUDRWguWFhDLSdEKAtpg8R5TcnKiN2+scX
ExYhBE8+dPQ2BQwQ9WlldLlyvz6krlejAADxUA/+P61gPZjjDVaRvbXBBStpm9aw
BhSkzow9YQye7jvePz/SvqLNfihVVLVFGjRtzE2SAvwt3DGVme0RMBkNDbpRC2sJ
BXDuHEFf03Y0/guMWP+yFHd2mUuLC3XljjbBw9Ts9Uixe5yQ8pL9QVqcuFlv4yji
Koe9deuADUa+C5mHHm16BQuVAg9lLPIRjFqKx0Oa6V/SpteVGDJ2zCrii0fKmKxg
dGGPWihaO5LZ/uRQPEWDKNppGLuAFdAAEDL87LCiU6uF+pSr1V/m7rQJHIL9WjdO
2JQqg9cdVDO1Wmka+Sy13EGDKMDL7ZpXV7XsBlIDQcsN37h13YnQqtVmmJSqNUPa
DnkY5P10/lbaG89UEZw9BZce7Q6TwtBHVMppAnKDHPHHt/mFpaIruvJOO8oWZq0N
RJiqssSQUcfrwXwFAly1thghHLay4DewNlUfs4rmSRkB+tyuPyFVExlYjEKot9DX
9P+jNncuYwIEYMzwU8lU9Bm7G5Opc8mnyq4RsFBBI5Jl+H52bjHymppkrqT0HaSl
9Oyp1M/fs8qe0NWcuZxofpgedZm2HEcgATXvmy+hRq+oawdra214kleHsz5GXMCy
Qci2gbHGLuKpfTYOzI4ZzfftwopFuVZs+EonLPslGwLb9mJxwJOJ1qfZhHh5SDkA
6D7rshW+/YcQkvkVBW4=
=0nic
-----END PGP SIGNATURE-----
pgp0FT6KbNjuD.pgp
Description: PGP signature
--- End Message ---