[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#853472: kde4libs: ftbfs with GCC-7



Package: src:kde4libs
Version: 4:4.14.26-1
Severity: normal
Tags: sid buster
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/kde4libs_4.14.26-1_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are 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-7/porting_to.html

[...]
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/kdeui/karrowbutton.moc: In member function 'virtual void* KArrowButton::qt_metacast(const char*)':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/kdeui/karrowbutton.moc:80:59: warning: 'KArrowButton' is deprecated [-Wdeprecated-declarations]
         return static_cast<void*>(const_cast< KArrowButton*>(this));
                                                           ^
In file included from /<<PKGBUILDDIR>>/kdeui/widgets/karrowbutton.cpp:19:0:
/<<PKGBUILDDIR>>/kdeui/widgets/karrowbutton.h:41:31: note: declared here
 class KDEUI_EXPORT_DEPRECATED KArrowButton : public QPushButton
                               ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/kdeui/windowmanagement/netwm.cpp: In member function 'void NETWinInfo::update(const long unsigned int*)':
/<<PKGBUILDDIR>>/kdeui/windowmanagement/netwm.cpp:4371:48: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             p->blockCompositing = (data_ret != None);
                                                ^~~~
kdeui/CMakeFiles/kdeui.dir/build.make:6067: recipe for target 'kdeui/CMakeFiles/kdeui.dir/windowmanagement/netwm.cpp.o' failed
make[4]: *** [kdeui/CMakeFiles/kdeui.dir/windowmanagement/netwm.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/kdeui/windowmanagement/kwindowsystem_x11.cpp: In static member function 'static QRect KWindowSystem::workArea(const QList<long unsigned int>&, int)':
/<<PKGBUILDDIR>>/kdeui/windowmanagement/kwindowsystem_x11.cpp:867:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for( ; it2 != s_d->strutWindows.end(); ++it2 )
         ^~~
/<<PKGBUILDDIR>>/kdeui/windowmanagement/kwindowsystem_x11.cpp:871:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
             if( it2 != s_d->strutWindows.end()) {
             ^~
/<<PKGBUILDDIR>>/kdeui/util/kwallet.cpp: In member function 'void KWallet::Wallet::slotCollectionStatusChanged(int)':
/<<PKGBUILDDIR>>/kdeui/util/kwallet.cpp:530:46: warning: unused parameter 'status' [-Wunused-parameter]
 void Wallet::slotCollectionStatusChanged(int status)
                                              ^~~~~~
In file included from /usr/include/qt4/QtCore/QObject:1:0,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/kdeui/knotify_interface.h:14,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/kdeui/knotify_interface.cpp:12:
/usr/include/qt4/QtCore/qobject.h:121:18: warning: 'virtual bool QObject::event(QEvent*)' was hidden [-Woverloaded-virtual]
     virtual bool event(QEvent *);
                  ^~~~~
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/kdeui/knotify_interface.cpp:12:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/kdeui/knotify_interface.h:46:35: warning:   by 'QDBusPendingReply<int> OrgKdeKNotifyInterface::event(const QString&, const QString&, const QVariantList&, const QString&, const QString&, const QByteArray&, const QStringList&, int, qlonglong)' [-Woverloaded-virtual]
     inline QDBusPendingReply<int> event(const QString &event, const QString &fromApp, const QVariantList &contexts, const QString &title, const QString &text, const QByteArray &pixmap, const QStringList &actions, int timeout, qlonglong winId)
                                   ^~~~~
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:7669: recipe for target 'kdeui/CMakeFiles/kdeui.dir/all' failed
make[3]: *** [kdeui/CMakeFiles/kdeui.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Makefile:163: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: make -j64 returned exit code 2
/usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:97: recipe for target 'pre_build_dh_auto_build' failed
make[1]: *** [pre_build_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:110: recipe for target 'debian/dhmk_build' failed
make: *** [debian/dhmk_build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Reply to: