Package: libqapt Version: 3.0.1-1 Severity: serious This package fails to build in unstable:
> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux ... > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ > -DCMAKE_PROJECT_VERSION=\"3.0.1\" > -DQAPT_WORKER_RDN_VERSIONED_STRING=\"org.kubuntu.qaptworker3\" > -DQAPT_WORKER_VERSION_STRING=\"3\" -DQApt_EXPORTS -DQT_CORE_LIB -DQT_DBUS_LIB > -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -D_GNU_SOURCE > -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src > -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>> > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/.. > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/.. -I/usr/include/polkit-qt5-1 > -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem > /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem > /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem > /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtDBus -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x > -Wall -Wextra -Wcast-align -Wc > har-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef > -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fexceptions > -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread > -I/usr/include/gstreamer-1.0 > -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -o > CMakeFiles/QApt.dir/dependencyinfo.cpp.o -c > /<<PKGBUILDDIR>>/src/dependencyinfo.cpp > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ > -DCMAKE_PROJECT_VERSION=\"3.0.1\" > -DQAPT_WORKER_RDN_VERSIONED_STRING=\"org.kubuntu.qaptworker3\" > -DQAPT_WORKER_VERSION_STRING=\"3\" -DQApt_EXPORTS -DQT_CORE_LIB -DQT_DBUS_LIB > -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -D_GNU_SOURCE > -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src > -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>> > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/.. > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/.. -I/usr/include/polkit-qt5-1 > -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem > /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem > /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem > /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtDBus -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x > -Wall -Wextra -Wcast-align -Wc > har-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef > -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fexceptions > -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread > -I/usr/include/gstreamer-1.0 > -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -o > CMakeFiles/QApt.dir/sourceentry.cpp.o -c /<<PKGBUILDDIR>>/src/sourceentry.cpp > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ > -DCMAKE_PROJECT_VERSION=\"3.0.1\" > -DQAPT_WORKER_RDN_VERSIONED_STRING=\"org.kubuntu.qaptworker3\" > -DQAPT_WORKER_VERSION_STRING=\"3\" -DQApt_EXPORTS -DQT_CORE_LIB -DQT_DBUS_LIB > -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -D_GNU_SOURCE > -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src > -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>> > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/.. > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/.. -I/usr/include/polkit-qt5-1 > -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem > /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem > /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem > /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtDBus -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x > -Wall -Wextra -Wcast-align -Wc > har-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef > -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fexceptions > -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread > -I/usr/include/gstreamer-1.0 > -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -o > CMakeFiles/QApt.dir/config.cpp.o -c /<<PKGBUILDDIR>>/src/config.cpp > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ > -DCMAKE_PROJECT_VERSION=\"3.0.1\" > -DQAPT_WORKER_RDN_VERSIONED_STRING=\"org.kubuntu.qaptworker3\" > -DQAPT_WORKER_VERSION_STRING=\"3\" -DQApt_EXPORTS -DQT_CORE_LIB -DQT_DBUS_LIB > -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -D_GNU_SOURCE > -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src > -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>> > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/.. > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/.. -I/usr/include/polkit-qt5-1 > -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem > /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem > /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem > /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtDBus -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x > -Wall -Wextra -Wcast-align -Wc > har-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef > -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fexceptions > -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread > -I/usr/include/gstreamer-1.0 > -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -o > CMakeFiles/QApt.dir/transaction.cpp.o -c /<<PKGBUILDDIR>>/src/transaction.cpp > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ > -DCMAKE_PROJECT_VERSION=\"3.0.1\" > -DQAPT_WORKER_RDN_VERSIONED_STRING=\"org.kubuntu.qaptworker3\" > -DQAPT_WORKER_VERSION_STRING=\"3\" -DQApt_EXPORTS -DQT_CORE_LIB -DQT_DBUS_LIB > -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -D_GNU_SOURCE > -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src > -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>> > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/.. > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/.. -I/usr/include/polkit-qt5-1 > -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem > /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem > /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem > /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtDBus -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x > -Wall -Wextra -Wcast-align -Wc > har-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef > -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fexceptions > -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread > -I/usr/include/gstreamer-1.0 > -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -o > CMakeFiles/QApt.dir/transactioninterface_p.cpp.o -c > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/transactioninterface_p.cpp > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ > -DCMAKE_PROJECT_VERSION=\"3.0.1\" > -DQAPT_WORKER_RDN_VERSIONED_STRING=\"org.kubuntu.qaptworker3\" > -DQAPT_WORKER_VERSION_STRING=\"3\" -DQApt_EXPORTS -DQT_CORE_LIB -DQT_DBUS_LIB > -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -D_GNU_SOURCE > -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src > -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>> > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/.. > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/.. -I/usr/include/polkit-qt5-1 > -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem > /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem > /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem > /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtDBus -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x > -Wall -Wextra -Wcast-align -Wc > har-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef > -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fexceptions > -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread > -I/usr/include/gstreamer-1.0 > -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -o > CMakeFiles/QApt.dir/QApt_automoc.cpp.o -c > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/QApt_automoc.cpp > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QLatin1String > QApt::Package::section() const': > /<<PKGBUILDDIR>>/src/package.cpp:248:49: warning: 'const char* > pkgCache::PkgIterator::Section() const' is deprecated: Use the .Section > method of VerIterator instead [-Wdeprecated-declarations] > return QLatin1String(d->packageIter.Section()); > ^ > In file included from /usr/include/apt-pkg/pkgcache.h:784:0, > from /<<PKGBUILDDIR>>/src/package.h:30, > from /<<PKGBUILDDIR>>/src/package.cpp:25: > /usr/include/apt-pkg/cacheiterators.h:524:90: note: declared here > APT_DEPRECATED_MSG("Use the .Section method of VerIterator instead") inline > const char * pkgCache::PkgIterator::Section() const > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QString > QApt::Package::sourcePackage() const': > /<<PKGBUILDDIR>>/src/package.cpp:258:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QString > QApt::Package::shortDescription() const': > /<<PKGBUILDDIR>>/src/package.cpp:276:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QString > QApt::Package::longDescription() const': > /<<PKGBUILDDIR>>/src/package.cpp:289:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QString > QApt::Package::maintainer() const': > /<<PKGBUILDDIR>>/src/package.cpp:332:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QString > QApt::Package::homepage() const': > /<<PKGBUILDDIR>>/src/package.cpp:346:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QString > QApt::Package::priority() const': > /<<PKGBUILDDIR>>/src/package.cpp:450:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QString > QApt::Package::origin() const': > /<<PKGBUILDDIR>>/src/package.cpp:502:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &Ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QString > QApt::Package::site() const': > /<<PKGBUILDDIR>>/src/package.cpp:513:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &Ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QStringList > QApt::Package::archives() const': > /<<PKGBUILDDIR>>/src/package.cpp:524:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &Ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QByteArray > QApt::Package::md5Sum() const': > /<<PKGBUILDDIR>>/src/package.cpp:552:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp:559:24: warning: 'std::__cxx11::string > pkgRecords::Parser::MD5Hash() const' is deprecated: Use .Hashes instead of a > hardcoded hash algorithm [-Wdeprecated-declarations] > return rec.MD5Hash().c_str(); > ^ > In file included from /usr/include/apt-pkg/indexfile.h:25:0, > from /<<PKGBUILDDIR>>/src/package.cpp:40: > /usr/include/apt-pkg/pkgrecords.h:71:88: note: declared here > APT_DEPRECATED_MSG("Use .Hashes instead of a hardcoded hash algorithm") > std::string MD5Hash() const { return GetHashFromHashes("MD5Sum"); }; > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QUrl > QApt::Package::changelogUrl() const': > /<<PKGBUILDDIR>>/src/package.cpp:565:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'QString > QApt::Package::controlField(QLatin1String) const': > /<<PKGBUILDDIR>>/src/package.cpp:693:105: warning: > 'pkgCache::Namespace::VerIterator pkgDepCache::GetCandidateVer(const > PkgIterator&)' is deprecated: Confusingly named method which returns the > candidate as chosen by policy (NOT as chosen via .SetCandidateVersion!). You > probably want to use .GetCandidateVersion instead. [-Wdeprecated-declarations] > const pkgCache::VerIterator &ver = > (*d->backend->cache()->depCache()).GetCandidateVer(d->packageIter); > > ^ > In file included from /usr/include/apt-pkg/pkgsystem.h:45:0, > from /usr/include/apt-pkg/init.h:17, > from /usr/include/apt-pkg/packagemanager.h:26, > from /usr/include/apt-pkg/algorithms.h:33, > from /<<PKGBUILDDIR>>/src/package.cpp:37: > /usr/include/apt-pkg/depcache.h:365:216: note: declared here > APT_DEPRECATED_MSG("Confusingly named method which returns the candidate > as chosen by policy (NOT as chosen via .SetCandidateVersion!). You probably > want to use .GetCandidateVersion instead.") inline VerIterator > GetCandidateVer(PkgIterator const &Pkg) {return /* GetCandidateVersion(Pkg); > but for API compat: */ LocalPolicy->GetCandidateVer(Pkg);}; > > > ^ > /<<PKGBUILDDIR>>/src/package.cpp: In member function 'bool > QApt::Package::isInUpdatePhase() const': > /<<PKGBUILDDIR>>/src/package.cpp:888:5: error: 'default_random_engine' is not > a member of 'std' > std::default_random_engine generator(a); > ^ > /<<PKGBUILDDIR>>/src/package.cpp:890:29: error: 'generator' was not declared > in this scope > int rand = distribution(generator); > ^ > /<<PKGBUILDDIR>>/src/package.cpp:885:10: warning: unused variable 'a' > [-Wunused-variable] > uint a = seed.toUInt(&ok, 16); > ^ -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise