[Pkg-kde-extras] Bug#798705: libqapt: [PATCH] FTBFS with APT from experimental

Julian Andres Klode jak at debian.org
Fri Sep 11 19:50:50 UTC 2015


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 deity at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libqapt_3.0.0-5_3.0.0-5.1.diff
Type: text/x-diff
Size: 7641 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20150911/44bbe4e4/attachment-0001.diff>


More information about the pkg-kde-extras mailing list