Comment 0 for bug 206790

Revision history for this message
Marc Tardif (cr3) wrote :

Binary package hint: dpkg

According to the dpkg-dev changelog, some significant changes were made to the Dpkg::Changelog::Entry clas. One of the significant recent changes is the removal of the init method from that class. So, instead of instantiating new entry objects using Dpkg::Changelog::Entry->init(), new Dpkg::Changelog::Entry should be used instead.

The problem is that most of the code was updated accordingly except for one line in /usr/share/perl5/Dpkg/Changelog/Debian.pm:

  $entry = newDpkg::Changelog::Entry->init();

This is causing applications depending on this code such as alien to fail horribly:

  Can't locate object method "init" via package "Dpkg::Changelog::Entry" at
  /usr/share/perl5/Dpkg/Changelog/Debian.pm line 260, <STDIN> line 8.

This is a simple problem to fix, please check it out.