Your message dated Wed, 01 Jan 2025 23:19:04 +0000
with message-id <e1tt7zu-00do8r...@fasolo.debian.org>
and subject line Bug#1088244: fixed in dpkg 1.22.12
has caused the Debian Bug report #1088244,
regarding dpkg-dev: Add variable for Debian revision to pkg-info.mk
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 ow...@bugs.debian.org
immediately.)
--
1088244: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088244
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg-dev
Version: 1.22.11
Severity: wishlist
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Trying to figure out what exactly the various variables from pkg-info.mk
return, I added a number of 'debug' statements to my (modified) clone of
ffmpeg package repo's debian/rules file and got the following results:
```
$DEB_VERSION = 7:7.1-9.1
$DEB_VERSION_EPOCH_UPSTREAM = 7:7.1
$DEB_VERSION_UPSTREAM_REVISION = 7.1-9.1
$DEB_VERSION_UPSTREAM = 7.1
```
ffmpeg's debian/rules file also had this statement:
```
# Get the Debian version revision:
DEB_REVISION := $(word 2, $(subst -, ,$(DEB_VERSION)))
```
which returns "9.1".
It seems useful if pkg-info.mk could return that value too?
Cheers,
Diederik
- -- Package-specific info:
- -- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12+unreleased-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dpkg-dev depends on:
ii binutils 2.43.1-5
ii bzip2 1.0.8-6
ii libdpkg-perl 1.22.11
ii make 4.3-4.1
ii patch 2.7.6-7
ii perl 5.40.0-8
ii tar 1.35+dfsg-3
ii xz-utils 5.6.3-1+b1
Versions of packages dpkg-dev recommends:
ii build-essential 12.12
ii clang-16 [c-compiler] 1:16.0.6-27+b1
ii clang-19 [c-compiler] 1:19.1.3-2
ii fakeroot 1.36-1
ii gcc [c-compiler] 4:14.2.0-1
ii gcc-10 [c-compiler] 10.5.0-4
ii gcc-13 [c-compiler] 13.3.0-8
ii gcc-14 [c-compiler] 14.2.0-8
ii gnupg 2.2.45-2
ii gpgv 2.2.45-2
ii libalgorithm-merge-perl 0.08-5
Versions of packages dpkg-dev suggests:
ii debian-keyring 2024.09.22
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZ0S2cgAKCRDXblvOeH7b
buafAP48BC4IFmc0sANgEl8ppFkD8Q1lO5OcvClTLlZ8ThZELQEAqp16VuTQDK/r
B3k3r2QUFtORzgGPcy9I2cCL1DvgLAw=
=PbZC
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.22.12
Done: Guillem Jover <guil...@debian.org>
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 1088...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <guil...@debian.org> (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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 01 Jan 2025 23:27:27 +0100
Source: dpkg
Architecture: source
Version: 1.22.12
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers <debian-d...@lists.debian.org>
Changed-By: Guillem Jover <guil...@debian.org>
Closes: 817955 856216 1061718 1080212 1083116 1086160 1087219 1087459 1087595
1088244 1090337 1091450
Changes:
dpkg (1.22.12) unstable; urgency=medium
.
[ Guillem Jover ]
* libdpkg: Check for pager presence and fallback to less, more and cat.
Closes: #856216
* dpkg-shlibdeps: Add symbolic name alternative to --warnings bits.
* Update URLs.
* dpkg-deb: Add --no-check option and keep --nocheck as an alias.
* dpkg: Unify package and version printing format to «package (version)».
* dpkg-buildtree: Add new command is-rootless.
Suggested by Niels Thykier <ni...@thykier.net>.
* scripts: Switch messages to be hints.
* dpkg-buildpackage: Reword hint on unsatisfied dependencies. Closes: #817955
* dpkg-checkbuilddeps: Improve unmet dependency error messages.
* dpkg-buildpackage: Switch unmet dependency abort message from warning to
error.
* scripts: Change and inject default value for Section and Priority fields.
* Perl modules:
- Dpkg::Deps::Multiple: Document that the constructor takes @deps not
%opts.
- Dpkg::Changelog::Parse: Use %opts instead of %opt in function POD.
- Dpkg::Control: Deprecate the backwards compatibility type aliases.
- Dpkg::OpenPGP::Backend::GnuPG: Ignore
ValuesAndExpressions::ProhibitMagicNumbers.
- Dpkg::Vendor: Simplify module loading logic.
- Dpkg::OpenPGP::Backend::SOP: Add rsop as an alternative SOP
implementation.
- Dpkg::OpenPGP::Backend::SOP: Add gosop as an alternative SOP
implementation.
- Dpkg::OpenPGP::Backend::Sequoia: Adapt to new CLI 0.40.0 API.
- Dpkg::OpenPGP::Backend::Sequoia: Add keystore support.
- Dpkg::Shlibs: Improve code comments.
- Dpkg::Archive::Ar: Copy only the number of bytes we have read.
- Dpkg::Vendor: Remove backwards compatibility module and origin name
mangling.
- Dpkg::BuildInfo: Add GNUMAKEFLAGS as an allowed environment variable.
Thanks to Santiago Vila <sanv...@debian.org>. Closes: #1090337
- Dpkg::BuildDriver::DebianRules: Handle missing root_cmd option.
- Dpkg::ErrorHandling: Add support for hint printing.
- Dpkg::OpenPGP::Backend::GnuPG: Handle and warn on concatenated ASCII
Armor blocks.
- Revert "Dpkg::OpenPGP::Backend::GnuPG: Fallback to use «gpg dearmor» if
present".
- Dpkg::OpenPGP::Backend::GnuPG: Move armor/dearmor implementation to base
class.
- Dpkg::OpenPGP::Backend::SOP: Use the parent class armor/dearmor
implementations.
- Dpkg::Vendor::Debian: Remove merged-/usr taint logic.
- Dpkg::Control::FieldsCore: Add new field_get_default_value() function.
* Make fragments:
- Document DPKG_BUILD_API in buildapi.mk.
- Document public API and expected directory to include from.
Prompted by Helmut Grohne <hel...@subdivi.de>.
- Capitalize variable descriptions.
- Clarify format for version variables from pkg-info.mk.
See #1088244.
- Add support for new DEB_VERSION_EPOCH and DEB_VERSION_REVISION.
Closes: #1088244
* Shell library:
- Add a default PROGNAME to dpkg-error.sh.
- Move setup_colors() contents into dpkg-error.sh script scope.
* Documentation:
- man: Update debian/control example in deb-src-control(5).
- man: Use arch-bits in deb-src-symbols(5) example dependent on bitness.
- man: Use modern architectures for manual page examples.
- doc: Fix typos in ChangeLog.old.
- man: Document purpose of origin files and how they tie to packages.
See https://github.com/grml/grml-debian-keyring/issues/7.
- man: Use «must» instead of «should» for mandatory behavior.
Requested by Niels Thykier <ni...@thykier.net>.
See https://bugs.debian.org/1089794.
* Code internals:
- lib: Remove compatibility code for C++ earlier than C++11.
- scripts: Use %opts instead of %options for constructor and function
options.
- scripts: Document when constructors take %opts.
- scripts: Use %opts instead of %args for function and method options.
- scripts: Rename changelog options in programs to %changelog_opts.
- scripts: Unify constructor and function options documentation.
- libdpkg: Remove const from execname.
- libdpkg: Use size_t instead of unsigned int for nargs.
- start-stop-daemon: Refactor closefrom() and use it only if the system
lacks it.
- start-stop-daemon: Try to use close_range() if present to implement
closefrom().
- scripts: Fix module loading.
Prompted by Holger Levsen <hol...@debian.org>.
Prompted by Niels Thykier <ni...@thykier.net>.
- src: Do not name option variables as no<thing>.
- dpkg-deb: Rename control area functions to check_ctrl_*().
- dpkg-deb: Rename check_control_area() to check_build_files().
- dpkg-deb: Fix doxygen comment to match function argument.
- perl: Remove function prototypes.
- libdpkg: Rename varbuf_rollback_start() to varbuf_rollback_end().
- libdpkg: Rename varbuf_*printf() to varbuf_add_*fmt().
- libdpkg: Add new varbuf_set_*fmt() functions.
- dpkg: Switch from varbuf_reset()+varbuf_add_str() to varbuf_set_str().
- Replace varbuf_reset()+varbuf_*printf() with varbuf_set_*fmt().
- Replace varbuf_*printf() with varbuf_add_*fmt().
- libdpkg: Rename varbuf C++ *fmt() methods to add_*fmt().
- dpkg: Replace sprintf() usage with a varbuf in depisok().
- Use snprintf() instead of sprintf().
- libdpkg: Switch varbuf::reset() to use varbuf_reset().
- libdpkg: Rename varbuf::string() to varbuf::str().
- libdpkg: Add new varbuf C++ methods for all functions.
- libdpkg: Add new varbuf_state C++ methods for all functions.
- libdpkg: Add new varbuf C++ constructor initialized from a C string.
- libdpkg: Add new varbuf C++ operator+= methods.
- dselect: Switch from operator() to operator+=.
- libdpkg: Remove varbuf C++ operator() methods.
- libdpkg: Add new varbuf C++ len() method.
- libdpkg: Add new varbuf_swap() function.
- libdpkg: Add new varbuf C++ copy constructors.
- libdpkg: Add new varbuf C++ move constructors.
- libdpkg: Add new varbuf_array() and C++ operator[] methods.
- dselect: Switch to use varbufs instead of sprintf in keybindings.
- dselect: Switch to use varbufs instead of sprintf for searchstring.
- dselect: Switch to use varbufs instead of sprintf for describemany().
- dselect: Use file_slurp() instead of open-coding it.
- dselect: Switch to use varbufs instead of sprintf for method parser.
- dselect: Mark assignment inside baselist::kd_search() as a move
assignment.
- Cast char to unsigned char for ctype functions.
- Remove dpkg-error.sh boilerplate.
- scripts: Remove dpkg-fsys-usrunmess program.
- dpkg-source: Generalize Package-List field attributes handling.
- scripts: Unify handling of default Priority and Section values.
- scripts: Switch to use the default per field value for Section and
Priority.
* Build system:
- Make C++ baseline version a hard requirement.
- Generalize C/C++ check macros to select the version as an argument.
- Bump minimum required C++ standard to C++14.
- Warn on C++17, C++20, C++23 and C++26 extensions usage.
- Check for C++11 __func__ availability.
- Undefine _TIME_BITS when checking for the base off_t size.
- Do not use an obsolete x prefix for shell test checks.
- Add a new changelog section for the shell library.
* Packaging:
- Bump Standards-Version to 4.7.0 (no changes needed).
- Add a trailing comma to debian/tests/control dependency.
- Inline sequoia-chameleon-gnupg dependencies depending on context.
- Remove merged-/usr warning logic. Closes: #1061718
* Test suite:
- Enable ValuesAndExpressions::ProhibitMagicNumbers except for octals.
- Mark variables around longjmp() as volatile.
- Add tests for varbuf C++ API.
* Localization:
- Update Brazilian Portuguese programs translation.
Thanks to Paulo Henrique de Lima Santana <p...@debian.org>.
Closes: #1091450
- Update Czech translations.
Thanks to Miroslav Kure <ku...@upcase.inf.upol.cz>. Closes: #1087219
- Update Dutch translations.
Thanks to Frans Spiesschaert <frans.spiesscha...@yucom.be>.
Closes: #1087459, #1087595
- Update Portuguese man pages translation.
Thanks to Américo Monteiro <a_monte...@gmx.com>. Closes: #1086160
- Update Romanian programs translation.
Thanks to Remus-Gabriel Chelu <remusgabriel.ch...@disroot.org>.
Closes: #1080212
- Update Swedish translations.
Thanks to Peter Krefting <pe...@softwolves.pp.se>. Closes: #1083116
.
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
.
[ Sven Joachim ]
* Localization:
- Update German dselect translation.
- Update German programs translation.
Checksums-Sha1:
610b4739889b54560b67af91bdba68a89ded9300 3144 dpkg_1.22.12.dsc
679ed46ffcdd293e8d139de80336fb635abd232b 5703416 dpkg_1.22.12.tar.xz
c8c37f726f235eee5812b08d9f0916610b481f93 8159 dpkg_1.22.12_amd64.buildinfo
Checksums-Sha256:
87bad8f943db0d29f8d57433c148792b50c6973ee663cda8064c81e0b68e1619 3144
dpkg_1.22.12.dsc
15ed752406e6b86e9b47cff21e1caee0b18450e8c66df0ae0d7473b2d465d6b4 5703416
dpkg_1.22.12.tar.xz
41bcaf4d84124b7a163ede1997b79dc914df181f0d427e27ced7cc649302a4bc 8159
dpkg_1.22.12_amd64.buildinfo
Files:
fc6a2d6ba0a86e739044744dcabaa07f 3144 admin required dpkg_1.22.12.dsc
23c76734becda066be59491566a5b991 5703416 admin required dpkg_1.22.12.tar.xz
640a875e8a191b55b264dc7199b1ab14 8159 admin required
dpkg_1.22.12_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
wsG7BAEBCgBvBYJndcimCRC5cr8+pK5Xo0cUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmec0XDRu+GUeKdC+Y2QDaLSmRMnwbU9jcdxGHvvHHoF
lhYhBE8+dPQ2BQwQ9WlldLlyvz6krlejAACDrRAAi+13ZUuMN6RFnu7KTpvNGPDh
0L7AgNcOVE5ND/k5sdjNpSyqjPVyMc/SOGBQxD1dUp6oztkeF4HLHDrVSZLzcLgA
h2OLCqAeORFqSd5SXgN+xSPCbhNt9aydWOiOcSoDmsecxJUxjcqoPftVMF9xFYsG
6aJwP63NzTkpa+UCPQbMsCr0KMyfe0Z9db6xccw5m683p/YPA3sGXLhlXsAD2iWU
no70C5/rQCKcqlP3Lf0MteIiFJ7oIRrUWjeoPyWON3ZXEXWi67J7LjrInKkrc/pK
86C4W6kHNbuYS+PVT4V/C7N6JcaBPNc06FwTJep4Jn5iKKeHM0GMFLCDX1Q+p8O+
TT4ZZsquSU3AVWnzUtHpTtBhzqgldcF/S7+0nNpUH0EE7xGoWvtUC9qPI2rzSdfL
4ciVL7hfZltyrPgaOWABzL8I41JyPfZxdkPNlZ+G56ymo82reqgcLnePmS3Jm40V
q1c4ah0YYcdctOrOlsZZL04RNCixA75Ths8aOAdzgPYR++LCp2xDJsTdEwzIt/v/
vN56+DV0OkdYvIo/ifrsNiumx404+IMzDmWEPBpdt+B+T7LgMaPFyCzoLwE9+daT
c6J0tQ5jkobN8T29Kp23gyRE1iszfqjUR8WVms5xL5L5NiYUUNHWjQfwk+7cC5ga
57J67b0Jwg67IOO2rvw=
=uua7
-----END PGP SIGNATURE-----
pgpVtu5BRJrjU.pgp
Description: PGP signature
--- End Message ---