[Bug 2117550] Re: libdpkg-perl Dpkg::Changelog::Debian.pm imports Dpkg::Changelog with unsupported import list

Ubuntu Foundations Team Bug Bot 2117550 at bugs.launchpad.net
Wed Jul 23 08:29:19 UTC 2025


The attachment "ChangelogDebian.patch" seems to be a patch.  If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/2117550

Title:
  libdpkg-perl Dpkg::Changelog::Debian.pm imports Dpkg::Changelog with
  unsupported import list

Status in dpkg package in Ubuntu:
  New

Bug description:
  Package: libdpkg-perl
  Version: 1.20.12 (or current on Ubuntu 22.04)
  Perl version: 5.42.0 (development/testing)

  The file /usr/share/perl5/Dpkg/Changelog/Debian.pm contains the
  following line:

      use Dpkg::Changelog qw(:util);

  However, Dpkg::Changelog does not support any import list, and this
  causes a failure under Perl 5.42.0 due to stricter import behavior.

  This breaks any tooling that relies on libdpkg-perl with newer
  versions of Perl. Given the import does nothing, it should be
  perfectly safe to remove.

  Suggested fix:
  ```diff
  -use Dpkg::Changelog qw(:util);
  +use Dpkg::Changelog;

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2117550/+subscriptions




More information about the foundations-bugs mailing list