Your message dated Mon, 14 Sep 2015 00:34:08 +0000
with message-id <e1zbhii-00042p...@franck.debian.org>
and subject line Bug#798705: fixed in libqapt 3.0.0-6
has caused the Debian Bug report #798705,
regarding libqapt: [PATCH] FTBFS with APT from experimental
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.)


-- 
798705: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798705
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libqapt
Version: 3.0.0-5
Severity: important
Control: tag -1 sid stretch patch

Dear Maintainer,

During a rebuild of your package against APT 1.1 from experimental, which
we intend to upload to unstable soon, your package failed to build from
source.

../../src/package.cpp: In member function 'QStringList 
QApt::Package::availableVersions() const':
../../src/package.cpp:407:34: error: 'struct pkgCache::PackageFile' has no 
member named 'Archive'
         QString archive = (File->Archive) ? QLatin1String(File.Archive()) :

This can be fixed by changing File->Archive to File.Archive(), which returns
NULL if File->Archive == 0. After that, the build failed with other errors:

../../src/debfile.cpp: In member function 'void QApt::DebFilePrivate::init()':
../../src/debfile.cpp:81:17: error: use of deleted function 'pkgTagSection& 
pkgTagSection::operator=(const pkgTagSection&)'
     controlData = extractor->Section;
                 ^
In file included from /usr/include/apt-pkg/debfile.h:29:0,
                 from ../../src/debfile.cpp:28:
/usr/include/apt-pkg/tagfile.h:37:7: note: 'pkgTagSection& 
pkgTagSection::operator=(const pkgTagSection&)' is implicitly deleted because 
the default definition would be ill-formed:
 class pkgTagSection
       ^
/usr/include/apt-pkg/tagfile.h:37:7: error: non-static const member 
'pkgTagSectionPrivate* const pkgTagSection::d', can't use default assignment 
operator

I attached a patch that makes it compile, please check if it works
and upload it (preferably within one week). There should be no problem
compiling that against APT 1.0 for now, so we can then binNMU it for
the transition.

If you have questions, join #debian-apt on OFTC or send us
a mail to de...@lists.debian.org


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (100, 'experimental'), (1, 
'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
    - If you don't I might ignore you.
diff -Nru libqapt-3.0.0/debian/changelog libqapt-3.0.0/debian/changelog
--- libqapt-3.0.0/debian/changelog	2015-09-01 22:17:00.000000000 +0200
+++ libqapt-3.0.0/debian/changelog	2015-09-11 21:25:24.000000000 +0200
@@ -1,3 +1,10 @@
+libqapt (3.0.0-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add support for APT 1.1
+
+ -- Julian Andres Klode <j...@debian.org>  Fri, 11 Sep 2015 21:25:15 +0200
+
 libqapt (3.0.0-5) unstable; urgency=medium
 
   * Update symbols file.
diff -Nru libqapt-3.0.0/debian/patches/apt_1.1 libqapt-3.0.0/debian/patches/apt_1.1
--- libqapt-3.0.0/debian/patches/apt_1.1	1970-01-01 01:00:00.000000000 +0100
+++ libqapt-3.0.0/debian/patches/apt_1.1	2015-09-11 21:45:59.000000000 +0200
@@ -0,0 +1,167 @@
+--- a/src/package.cpp
++++ b/src/package.cpp
+@@ -404,7 +404,7 @@ QStringList Package::availableVersions()
+         pkgCache::PkgFileIterator File = VF.File();
+ 
+         // Files without an archive will have a site
+-        QString archive = (File->Archive) ? QLatin1String(File.Archive()) :
++        QString archive = File.Archive() ? QLatin1String(File.Archive()) :
+                                             QLatin1String(File.Site());
+         versions.append(QLatin1String(Ver.VerStr()) % QLatin1String(" (") %
+                         archive % ')');
+--- a/src/debfile.cpp
++++ b/src/debfile.cpp
+@@ -53,7 +53,6 @@ class DebFilePrivate
+         bool isValid;
+         QString filePath;
+         debDebFile::MemControlExtract *extractor;
+-        pkgTagSection controlData;
+ 
+         void init();
+ };
+@@ -77,8 +76,6 @@ void DebFilePrivate::init()
+         // from exploding.
+         return;
+     }
+-
+-    controlData = extractor->Section;
+ }
+ 
+ DebFile::DebFile(const QString &filePath)
+@@ -103,47 +100,47 @@ QString DebFile::filePath() const
+ 
+ QString DebFile::packageName() const
+ {
+-    return QString::fromStdString(d->controlData.FindS("Package"));
++    return QString::fromStdString(d->extractor->Section.FindS("Package"));
+ }
+ 
+ QString DebFile::sourcePackage() const
+ {
+-    return QString::fromStdString(d->controlData.FindS("Source"));
++    return QString::fromStdString(d->extractor->Section.FindS("Source"));
+ }
+ 
+ QString DebFile::version() const
+ {
+-    return QString::fromStdString(d->controlData.FindS("Version"));
++    return QString::fromStdString(d->extractor->Section.FindS("Version"));
+ }
+ 
+ QString DebFile::architecture() const
+ {
+-    return QString::fromStdString(d->controlData.FindS("Architecture"));
++    return QString::fromStdString(d->extractor->Section.FindS("Architecture"));
+ }
+ 
+ QString DebFile::maintainer() const
+ {
+-    return QString::fromStdString(d->controlData.FindS("Maintainer"));
++    return QString::fromStdString(d->extractor->Section.FindS("Maintainer"));
+ }
+ 
+ QString DebFile::section() const
+ {
+-    return QString::fromStdString(d->controlData.FindS("Section"));
++    return QString::fromStdString(d->extractor->Section.FindS("Section"));
+ }
+ 
+ QString DebFile::priority() const
+ {
+-    return QString::fromStdString(d->controlData.FindS("Priority"));
++    return QString::fromStdString(d->extractor->Section.FindS("Priority"));
+ }
+ 
+ QString DebFile::homepage() const
+ {
+-    return QString::fromStdString(d->controlData.FindS("Homepage"));
++    return QString::fromStdString(d->extractor->Section.FindS("Homepage"));
+ }
+ 
+ QString DebFile::longDescription() const
+ {
+-    QString rawDescription = QLatin1String(d->controlData.FindS("Description").c_str());
++    QString rawDescription = QLatin1String(d->extractor->Section.FindS("Description").c_str());
+     // Remove short description
+     rawDescription.remove(shortDescription() + '\n');
+ 
+@@ -174,14 +171,14 @@ QString DebFile::longDescription() const
+ 
+ QString DebFile::shortDescription() const
+ {
+-    QString longDesc = QLatin1String(d->controlData.FindS("Description").c_str());
++    QString longDesc = QLatin1String(d->extractor->Section.FindS("Description").c_str());
+ 
+     return longDesc.left(longDesc.indexOf(QLatin1Char('\n')));
+ }
+ 
+ QString DebFile::controlField(const QLatin1String &field) const
+ {
+-    return QString::fromStdString(d->controlData.FindS(field.latin1()));
++    return QString::fromStdString(d->extractor->Section.FindS(field.latin1()));
+ }
+ 
+ QString DebFile::controlField(const QString &field) const
+@@ -266,52 +263,52 @@ QStringList DebFile::iconList() const
+ 
+ QList<DependencyItem> DebFile::depends() const
+ {
+-    return DependencyInfo::parseDepends(QString::fromStdString(d->controlData.FindS("Depends")), Depends);
++    return DependencyInfo::parseDepends(QString::fromStdString(d->extractor->Section.FindS("Depends")), Depends);
+ }
+ 
+ QList<DependencyItem> DebFile::preDepends() const
+ {
+-    return DependencyInfo::parseDepends(QString::fromStdString(d->controlData.FindS("Pre-Depends")), PreDepends);
++    return DependencyInfo::parseDepends(QString::fromStdString(d->extractor->Section.FindS("Pre-Depends")), PreDepends);
+ }
+ 
+ QList<DependencyItem> DebFile::suggests() const
+ {
+-    return DependencyInfo::parseDepends(QString::fromStdString(d->controlData.FindS("Suggests")), Suggests);
++    return DependencyInfo::parseDepends(QString::fromStdString(d->extractor->Section.FindS("Suggests")), Suggests);
+ }
+ 
+ QList<DependencyItem> DebFile::recommends() const
+ {
+-    return DependencyInfo::parseDepends(QString::fromStdString(d->controlData.FindS("Recommends")), Recommends);
++    return DependencyInfo::parseDepends(QString::fromStdString(d->extractor->Section.FindS("Recommends")), Recommends);
+ }
+ 
+ QList<DependencyItem> DebFile::conflicts() const
+ {
+-    return DependencyInfo::parseDepends(QString::fromStdString(d->controlData.FindS("Conflicts")), Conflicts);
++    return DependencyInfo::parseDepends(QString::fromStdString(d->extractor->Section.FindS("Conflicts")), Conflicts);
+ }
+ 
+ QList<DependencyItem> DebFile::replaces() const
+ {
+-    return DependencyInfo::parseDepends(QString::fromStdString(d->controlData.FindS("Replaces")), Replaces);
++    return DependencyInfo::parseDepends(QString::fromStdString(d->extractor->Section.FindS("Replaces")), Replaces);
+ }
+ 
+ QList<DependencyItem> DebFile::obsoletes() const
+ {
+-    return DependencyInfo::parseDepends(QString::fromStdString(d->controlData.FindS("Obsoletes")), Obsoletes);
++    return DependencyInfo::parseDepends(QString::fromStdString(d->extractor->Section.FindS("Obsoletes")), Obsoletes);
+ }
+ 
+ QList<DependencyItem> DebFile::breaks() const
+ {
+-    return DependencyInfo::parseDepends(QString::fromStdString(d->controlData.FindS("Breaks")), Breaks);
++    return DependencyInfo::parseDepends(QString::fromStdString(d->extractor->Section.FindS("Breaks")), Breaks);
+ }
+ 
+ QList<DependencyItem> DebFile::enhances() const
+ {
+-    return DependencyInfo::parseDepends(QString::fromStdString(d->controlData.FindS("Enhance")), Enhances);
++    return DependencyInfo::parseDepends(QString::fromStdString(d->extractor->Section.FindS("Enhance")), Enhances);
+ }
+ 
+ qint64 DebFile::installedSize() const
+ {
+-    QString sizeString = QLatin1String(d->controlData.FindS("Installed-Size").c_str());
++    QString sizeString = QLatin1String(d->extractor->Section.FindS("Installed-Size").c_str());
+ 
+     return sizeString.toLongLong();
+ }
diff -Nru libqapt-3.0.0/debian/patches/series libqapt-3.0.0/debian/patches/series
--- libqapt-3.0.0/debian/patches/series	2015-09-01 22:17:00.000000000 +0200
+++ libqapt-3.0.0/debian/patches/series	2015-09-11 21:25:42.000000000 +0200
@@ -1 +1,2 @@
 add_kf5iconthemes
+apt_1.1

--- End Message ---
--- Begin Message ---
Source: libqapt
Source-Version: 3.0.0-6

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

Debian distribution maintenance software
pp.
Maximiliano Curia <m...@debian.org> (supplier of updated libqapt 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: Mon, 14 Sep 2015 02:27:41 +0200
Source: libqapt
Binary: libqapt3 libqapt-dev libqapt3-runtime qapt-utils qapt-batch 
qapt-deb-installer plasma-runner-installer kde-thumbnailer-deb gstreamer-qapt 
gstreamer0.10-qapt qapt-dbg
Architecture: source
Version: 3.0.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian/Kubuntu KDE Extras Team 
<pkg-kde-extras@lists.alioth.debian.org>
Changed-By: Maximiliano Curia <m...@debian.org>
Description:
 gstreamer-qapt - GStreamer plugin to install codecs using QApt
 gstreamer0.10-qapt - transitional dummy package
 kde-thumbnailer-deb - KDE plugin to show thumbnails of Debian package files
 libqapt-dev - Development headers for the QApt library
 libqapt3   - QApt library package
 libqapt3-runtime - Runtime components for the QApt library
 plasma-runner-installer - KRunner plugin for installing packages
 qapt-batch - Batch package manager for KDE
 qapt-dbg   - QApt debugging symbols
 qapt-deb-installer - tool for installing deb files
 qapt-utils - complete collection of QApt package management utilities
Closes: 798705
Changes:
 libqapt (3.0.0-6) unstable; urgency=medium
 .
   * Add support for APT 1.1. (Closes: #798705) Thanks to Julian Andres Klode
Checksums-Sha1:
 de523f383b6ecc7f8ca5f4665bcfec248d95c974 3350 libqapt_3.0.0-6.dsc
 b37476cd576b72976e5aecf08d78d075f2c701d8 15804 libqapt_3.0.0-6.debian.tar.xz
Checksums-Sha256:
 0f02817ba56caf0194944259b2926b2252505cec9f3fbacea9ab064e5019994e 3350 
libqapt_3.0.0-6.dsc
 3b791604786da9e090e4933d58e51a2ae68a576fdbbf4dcfcf3187a30bcf9fa9 15804 
libqapt_3.0.0-6.debian.tar.xz
Files:
 1ba888fbf8491a5feac5d03d55a58f4f 3350 kde optional libqapt_3.0.0-6.dsc
 3dd86b58b5aa0292c537d0cb702e27b6 15804 kde optional 
libqapt_3.0.0-6.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJV9hTHAAoJEMcZdpmymyMq5r4QALuk41GUkizADsTdCt+KUHeB
+0uNYZpTTYAYp4Kea/rw+MbwQNKDGpv5i323x3RfRv0Fn2Hbt8g7ELmlwESVHN8I
U1/WbwU2jejHS8CyjbCMMQ4zz8zny/gdnC3m7Uc8C9vdvnzgIJQhpVumR9+rOmnC
FP/TqhJTR5z9cS2uTdryi/yeLI4WUGn2Tyfb9FOq166JVmREe/+iM6vk7VafKfff
pnvQUEZr2G779nHH5vWTYTrBmOvzRgVV3bMg2iZGDfnAyJiBaYBqXJXsmvVQZ5ye
WHBK88io36gKuXKSOBIGebKi4H70lRdIin3KQsh9Sh6KqejsaWjKcuei+yqfGJh0
Q7GFcG7qpGOz50xtbPZaPfYEg0M39gzA0dSvGFabnYPkrppmIl0grctctA6KY2F5
rfrwKA5RR9EzUs5ZGf4JvBR0QuDwAMabQ9AnPHJmK00TjeifvjiczjKYdx5DgU4w
XHwmiJnHEphlBjQSyuL8bLJxI+YgXcPjXFmOaffM/bN859+s/TfPxSwMg6qmB4xy
miMVa80/xP1hoUcRwwX4XfO3RAsozEP0fCJ5EMBwXJWmu7nmHyhCtzTIyI6YOWSN
x1JD1HmppQG8pcf0h5jDV+ni76hVp0Otdk9mBBUsspn95tOCmOKbne6NTOB0Up0L
2mp360fpAZRifB+QKAVx
=xDo8
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to