[Pkg-kde-extras] Bug#778081: qapt: ftbfs with GCC-5
Matthias Klose
doko at debian.org
Thu Feb 12 10:36:04 UTC 2015
Package: src:qapt
Version: 1.3.0-2.1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/qapt_1.3.0-2.1_unstable_gcc5.log
The last lines of the build log are at the end of this report.
To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t experimental install g++
Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files. For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html
[...]
^
In file included from /«PKGBUILDDIR»/src/package.cpp:33:0:
/usr/include/apt-pkg/algorithms.h:146:24: note: declared here
APT_DEPRECATED void InstallProtect();
^
/«PKGBUILDDIR»/src/package.cpp: In member function 'void QApt::Package::setPurge()':
/«PKGBUILDDIR»/src/package.cpp:1264:24: warning: 'void pkgProblemResolver::InstallProtect()' is deprecated [-Wdeprecated-declarations]
Fix.InstallProtect();
^
In file included from /«PKGBUILDDIR»/src/package.cpp:33:0:
/usr/include/apt-pkg/algorithms.h:146:24: note: declared here
APT_DEPRECATED void InstallProtect();
^
/«PKGBUILDDIR»/src/backend.cpp: In member function 'bool QApt::Backend::loadSelections(const QString&)':
/«PKGBUILDDIR»/src/backend.cpp:1247:24: warning: 'void pkgProblemResolver::InstallProtect()' is deprecated [-Wdeprecated-declarations]
Fix.InstallProtect();
^
In file included from /«PKGBUILDDIR»/src/backend.cpp:31:0:
/usr/include/apt-pkg/algorithms.h:146:24: note: declared here
APT_DEPRECATED void InstallProtect();
^
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles
[ 83%] Building CXX object src/CMakeFiles/qapt.dir/moc_cache.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dqapt_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=c++0x -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/polkit-qt-1 -I/«PKGBUILDDIR»/src -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src -o CMakeFiles/qapt.dir/moc_cache.o -c /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/moc_cache.cxx
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 85
[ 84%] Building CXX object src/CMakeFiles/qapt.dir/moc_config.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dqapt_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=c++0x -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/polkit-qt-1 -I/«PKGBUILDDIR»/src -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src -o CMakeFiles/qapt.dir/moc_config.o -c /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/moc_config.cxx
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles
[ 84%] Building CXX object src/CMakeFiles/qapt.dir/moc_history.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/c++ -Dqapt_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=c++0x -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/polkit-qt-1 -I/«PKGBUILDDIR»/src -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src -o CMakeFiles/qapt.dir/moc_history.o -c /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/moc_history.cxx
make[3]: *** [src/CMakeFiles/qapt.dir/backend.o] Error 1
make[3]: *** Waiting for unfinished jobs....
src/CMakeFiles/qapt.dir/build.make:89: recipe for target 'src/CMakeFiles/qapt.dir/backend.o' failed
Linking CXX shared module ../../lib/krunner_installer.so
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/utils/plasma-runner-installer && /usr/bin/cmake -E cmake_link_script CMakeFiles/krunner_installer.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=c++0x -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-z,relro -shared -Wl,-soname,krunner_installer.so -o ../../lib/krunner_installer.so CMakeFiles/krunner_installer.dir/krunner_installer_automoc.cpp.o CMakeFiles/krunner_installer.dir/installerrunner.cpp.o /usr/lib/libkio.so.5.14.2 /usr/lib/libplasma.so.3.0.0 /usr/lib/libkio.so.5.14.2 /usr/lib/x86_64-linux-gnu/libQtNetwork.so /usr/lib/libkdeui.so.5.14.2 /usr/lib/x86_64-linux-gnu/libQtSvg.so /usr/lib/x86_64-linux-gnu/libQtGui.so /usr/lib/libkdecore.so.5.14.2 /usr/lib/x86_64-linux-gnu/libQtDBus.so /usr/lib/x86_64-linux-gnu/libQtXml.so /usr/lib/x86_64-linux-gnu/libQtCore.so
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 2
[ 84%] Built target krunner_installer
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [src/CMakeFiles/qapt.dir/all] Error 2
CMakeFiles/Makefile2:111: recipe for target 'src/CMakeFiles/qapt.dir/all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
Makefile:130: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
dh_auto_build: make -j10 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:4: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the pkg-kde-extras
mailing list