Your message dated Thu, 21 May 2020 20:33:58 +0000
with message-id <e1jbrt8-0006w6...@fasolo.debian.org>
and subject line Bug#960865: fixed in aptitude 0.8.13-1
has caused the Debian Bug report #960865,
regarding aptitude FTBFS with new po4a
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.)


-- 
960865: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960865
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: aptitude
Severity: important
User: debian-p...@lists.debian.org
Usertags: libparse-debian-changelog-perl-removal
Tags: patch

Hi!

aptitude Recommends libparse-debianchangelog-perl, which has had no
upstream maintainer since 2011.

The Debian Perl group has decided today that theye do not want
libparse-debianchangelog-perl to be included in the Bullseye release,
unless someone steps up and volunteers to be its upstream maintainer:
see https://bugs.debian.org/933128, where you can discuss the options.

I'm attaching an old patch I had around, which I thought I had sent
out, but apparently not (perhaps only on IRC), to switch to
libdpkg-perl's parser which is the successor of this package.

I'm not sure right now whether there was some problem with the patch,
I'll try to retest it in the coming days in case no one beats me to
it, but just wanted to put this out there to avoid any work duplication.

Thanks,
Guillem
From a1c7206ecdae8e3b33eef406be3ac9b44190b0d8 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guil...@debian.org>
Date: Tue, 18 Oct 2016 23:55:28 +0200
Subject: [PATCH] Switch from libparse-debianchangelog-perl to libdpkg-perl

The former was merged into the latter some time ago, with the main
difference being the lack of some of the output formats that are not
being used by aptitude.

This seems to have been attempted in the past, but was reverted due to
performance problems. The performance from current libdpkg-perl should
be comparable.

We use the perl module directly to avoid pulling dpkg-dev and its
dependencies.
---
 debian/control                     |  2 +-
 src/generic/apt/changelog_parse.cc | 11 ++++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index c4a17d58..cd114861 100644
--- a/debian/control
+++ b/debian/control
@@ -41,7 +41,7 @@ Multi-Arch: foreign
 Depends: aptitude-common (= ${source:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
-Recommends: libparse-debianchangelog-perl,
+Recommends: libdpkg-perl,
             sensible-utils
 Suggests: aptitude-doc-en | aptitude-doc,
           apt-xapian-index,
diff --git a/src/generic/apt/changelog_parse.cc b/src/generic/apt/changelog_parse.cc
index 9cf1ab5b..165efe5c 100644
--- a/src/generic/apt/changelog_parse.cc
+++ b/src/generic/apt/changelog_parse.cc
@@ -18,7 +18,7 @@
 //   the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 //   Boston, MA 02110-1301, USA.
 //
-// At the moment this code uses parsechangelog to convert changelogs
+// At the moment this code uses Dpkg::Changelog::Parse to convert changelogs
 // into something easier to read.
 
 #include "changelog_parse.h"
@@ -327,17 +327,18 @@ namespace aptitude
 
       std::string version_fragment;
       if(from.empty())
-	version_fragment = "--all";
+	version_fragment = "all => undef";
       else
 	{
-	  version_fragment = "-f ";
+	  version_fragment = "from => '";
 	  // Note that escaping the version is *critical*, because
 	  // it is untrusted data.
 	  version_fragment += backslash_escape_nonalnum(from);
+	  version_fragment += "'";
 	}
 
       std::string cmd =
-	cw::util::ssprintf("/usr/bin/parsechangelog --format rfc822 %s -l %s > %s 2> /dev/null",
+	cw::util::ssprintf("perl -MDpkg::Changelog::Parse -e \"print changelog_parse(format => 'rfc822', file => '%s', %s);\" > %s 2> /dev/null",
 			   version_fragment.c_str(),
 			   filename.c_str(),
 			   rval.get_name().c_str());
@@ -432,7 +433,7 @@ namespace aptitude
        *  The purpose of the queue is to ensure that aptitude only
        *  parses one changelog at a time and doesn't waste a ton of time
        *  starting new changelog parse threads and spawning copies of
-       *  parsechangelog.
+       *  Dpkg::Changelog::Parse.
        *
        *  This is a self-terminating singleton thread.
        */
-- 
2.23.0.rc1.153.gdeed80330f


--- End Message ---
--- Begin Message ---
Source: aptitude
Source-Version: 0.8.13-1
Done: Axel Beckert <a...@debian.org>

We believe that the bug you reported is fixed in the latest version of
aptitude, 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 960...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <a...@debian.org> (supplier of updated aptitude 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: Thu, 21 May 2020 21:25:20 +0200
Source: aptitude
Architecture: source
Version: 0.8.13-1
Distribution: unstable
Urgency: medium
Maintainer: Aptitude Development Team <aptitude-de...@lists.alioth.debian.org>
Changed-By: Axel Beckert <a...@debian.org>
Closes: 909687 914786 934135 942094 950541 955506 959895 960865
Changes:
 aptitude (0.8.13-1) unstable; urgency=medium
 .
   * New upstream release. Please see /usr/share/aptitude/NEWS for a change
     log with more details.
 .
     - Internal changes:
       * Import patches by Julian Andres Klode from the 0.8.12-2 and
         0.8.12-3 uploads. Related to changes in apt 1.9.x.
       * Switch from libparse-debianchangelog-perl to libdpkg-perl.
         (Patch by Guillem Jover; Closes: #934135)
       * Rename README to README.DOCUMENTATION.
 .
     - Translation updates:
       * po/nl.po: Dutch program translation by Frans Spiesschaert (Closes:
         #909687, #950541, #955506)
       * aptitude-defaults.ru: Russian sections translation by Sergey
         Alyoshin (Closes: #914786)
       * doc/po4a/po/it.po: Italian documentation translation by Beatrice
         Torracca (Closes: #959895)
       * doc/po4a/po/fr.po: French documentation translation by
         Jean-Pierre Giraud (Closes: #942094)
 .
   * Packaging changes needed for new upstream release:
     + Recommend libdpkg-perl instead of libparse-debianchangelog-perl.
     + Install aptitude-changelog-parser into aptitude-common.
     + Drop patches from the 0.8.12-2 and 0.8.12-3 uploads.
 .
   * Work around FTBFS with po4a 0.58. (See #960892, closes: #960865)
     + This is deemed to be a temporary fix until po4a is fixed. It is not
       merged into the upstream release on purpose to keep that working
       independent of the build directory's location and to be easily
       removable once #960892 is fixed.
   * Rename debian/README.Debian to debian/README.source and update it
     with regards to git repository URLs.
   * Bump debhelper compatibility level to 13.
     + Build-depend on "debhelper-compat (= 13)" to replace debian/compat.
     + Disable dh_missing, we generate some file lists dynamically.
   * Declare compliance with Debian Policy 4.5.0. (No changes needed.)
   * Apply "wrap-and-sort -a".
   * Add lintian overrides for "uses-dpkg-database-directly" due to
     aptitude-*-state-bundle: These are debugging tools and do nothing but
     capture the state of the dpkg database whatever it looks like.
   * Create a debian/.gitignore file to ignore package build artifacts.
Checksums-Sha1:
 6acc6778e349f3a7c9c5203587921dcdd8e8502d 3260 aptitude_0.8.13-1.dsc
 f54021107095e40c038d7c07f099a11686ba46c2 4940784 aptitude_0.8.13.orig.tar.xz
 cb60fa63ce8baca10ae7bc3e15f9edc2d7f52377 833 aptitude_0.8.13.orig.tar.xz.asc
 4a8b7ab7a8dbfdcfe247ce9a0eabb7a647643cb5 57136 aptitude_0.8.13-1.debian.tar.xz
 bfb4c8eee9637a2c06aece34d29777ca38497236 7276 
aptitude_0.8.13-1_source.buildinfo
Checksums-Sha256:
 4f4f650632155bbac731b7fcbb8daf472f6adccefcd80a69b521883fb03c85f5 3260 
aptitude_0.8.13-1.dsc
 0ef50cb5de27215dd30de74dd9b46b318f017bd0ec3f5c4735df7ac0beb40248 4940784 
aptitude_0.8.13.orig.tar.xz
 f5cf3f2d0cbbff1d20d680f075f1c1c6669b558ba9e258189566c28eb4756dd4 833 
aptitude_0.8.13.orig.tar.xz.asc
 da31f9de45291ca7a150e4e4946e654981b34ad827479fd24289797bf0d1e120 57136 
aptitude_0.8.13-1.debian.tar.xz
 efc50776c0ed7fb72bee6bd7f3ff2b562fa73b4930dd041a4e78f20e49de47ea 7276 
aptitude_0.8.13-1_source.buildinfo
Files:
 2f62e48c7ce094503e8cfa4d599fcca7 3260 admin optional aptitude_0.8.13-1.dsc
 04b23297d3602a74e6ccef6a0de12ce6 4940784 admin optional 
aptitude_0.8.13.orig.tar.xz
 e442d824a7d5cbec635648c9a03e57be 833 admin optional 
aptitude_0.8.13.orig.tar.xz.asc
 c11df449959574c214008bb48f199345 57136 admin optional 
aptitude_0.8.13-1.debian.tar.xz
 316ed14514bb68b4a1e7c79f34ee040e 7276 admin optional 
aptitude_0.8.13-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAl7G160ACgkQa+Zjx1o1
yXXHSA/7BZ3Tlf8vplb4/6WbTPrOajLZe3Zxybgo1fqzsb68CX+Xd7YdcAja/7n4
/D43Eq6LIApoZ3RfSNLLeQj9CMk1E6uQ99GNsb93en/ZyVpnrGYExKoH35EekVTs
5dmrYLou22IIaLWaegGK2xWZzlvV7NeQIbFaX6KqkeqNff95SCiQmBCTxwv1e9VK
AlYBQtViGm6msRMjYtLpT5cCbp87MyeZ054lFEgJdPSZEWnkszX7qf0td5rKX1YU
UkAyVr558M9bGhlj3lcfArt2jhriQi6M4KQBWQvjkhRwgJU04Yq51Kgzjj7MCiHE
G17n/9TRe8jFwsRL5S346OYvYZ9kcJZdhOSKOZGbhRo5t5DQ79SdieaIzNBLn1Pv
onfdmUPnsvmn0yDNoDNoFR9pCpN5ao29P5TgDwyfMQ/IEJ9i8OwTIUl0wTA1mkNj
f5JGbRztPwzOuBbHwLlyKsKZatGrhK/nf9XcDExwKzM5KDwZr2mD0zRYXzhzBCAr
i84X3LBC1EfK3RGBSUyiHVCZ5VH8xGhSBZQtzxPLx4wili9JuVyGXpXyOrLRckwZ
r1OeJciEx4Cl+P0Eo+WjioZ/3/5Y9emXqKPtHgx8s1C6ZyjnPXSF9PBP+lX2nC8l
KSr3PQ+1PK/66EUFynpxjI9LaOjfCXEVpP3EiOqwtZgHqLFE7dk=
=wVPr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to