[Pkg-kde-extras] Bug#777928: kmplayer: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:32:55 UTC 2015


Package: src:kmplayer
Version: 1:0.11.3d-2
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/kmplayer_0.11.3d-2_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

[...]
/«PKGBUILDDIR»/src/kmplayerplaylist.h:526:14: note: previous declaration of 'KMPlayer::NodeList KMPlayer::Node::childNodes() const'
     NodeList childNodes () const;
              ^
/«PKGBUILDDIR»/src/kmplayer_part.cpp:143:47: warning: unused parameter 'n' [-Wunused-parameter]
         const QString &file, PlayListNotify * n)
                                               ^
/«PKGBUILDDIR»/src/kmplayer_part.cpp: In constructor 'KMPlayerPart::KMPlayerPart(QWidget*, QObject*, const QStringList&)':
/«PKGBUILDDIR»/src/kmplayer_part.cpp:246:45: warning: variable 'it' set but not used [-Wunused-but-set-variable]
                 QStringList::const_iterator it = sl.constBegin ();
                                             ^
/«PKGBUILDDIR»/src/kmplayer_part.cpp: In member function 'void KMPlayerLiveConnectExtension::evaluate(const QString&, bool, QString&)':
/«PKGBUILDDIR»/src/kmplayer_part.cpp:1130:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (i == object_counter-1)
                       ^
/«PKGBUILDDIR»/src/kmplayer_part.cpp: In member function 'virtual bool KMPlayerLiveConnectExtension::call(long unsigned int, const QString&, const QStringList&, KParts::LiveConnectExtension::Type&, long unsigned int&, QString&)':
/«PKGBUILDDIR»/src/kmplayer_part.cpp:1424:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (unsigned int i = 0; i < args.size (); ++i)
                                ^
Linking CXX shared module ../lib/libkmplayerpart.so
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/kmplayerpart.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -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,libkmplayerpart.so -o ../lib/libkmplayerpart.so CMakeFiles/kmplayerpart.dir/kmplayerpart_automoc.o CMakeFiles/kmplayerpart.dir/kmplayer_part.o  -L/«PKGBUILDDIR»/obj-x86_64-linux-gnu/lib ../lib/libkmplayercommon.so -lkmediaplayer /usr/lib/libkparts.so.4.14.2 /usr/lib/libkdeui.so.5.14.2 /usr/lib/x86_64-linux-gnu/libQt3Support.so /usr/lib/libkde3support.so.4.14.2 /usr/lib/libkparts.so.4.14.2 /usr/lib/x86_64-linux-gnu/libQt3Support.so /usr/lib/libkio.so.5.14.2 /usr/lib/libnepomukutils.so.4.14.2 /usr/lib/x86_64-linux-gnu/libQtNetwork.so /usr/lib/x86_64-linux-gnu/libQtXml.so /usr/lib/libnepomuk.so.4.14.2 /usr/lib/libkdeui.so.5.14.2 /usr/lib/x86_64-linux-gnu/libQtSvg.so -lsoprano /usr/lib/libkdecore.so.5.14.2 /usr/lib/x86_64-linux-gnu/libQtCore.so /usr/lib/x86_64-linux-gnu/libQtDBus.so /usr/lib/x86_64-linux-gnu/libQtGui.so -Wl,-rpath,/«PKGBUILDDIR»/obj-x86_64-linux-gnu/lib: 
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles  45 46
[ 98%] Built target kmplayerpart
Linking CXX shared library ../lib/libkdeinit4_kmplayer.so
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/kdeinit_kmplayer.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -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,libkdeinit4_kmplayer.so -o ../lib/libkdeinit4_kmplayer.so CMakeFiles/kdeinit_kmplayer.dir/kdeinit_kmplayer_automoc.o CMakeFiles/kdeinit_kmplayer.dir/kmplayerapp.o CMakeFiles/kdeinit_kmplayer.dir/kmplayer_lists.o CMakeFiles/kdeinit_kmplayer.dir/kmplayertvsource.o CMakeFiles/kdeinit_kmplayer.dir/main.o ../lib/libkmplayercommon.so /usr/lib/libkparts.so.4.14.2 /usr/lib/libkdeui.so.5.14.2 /usr/lib/x86_64-linux-gnu/libQt3Support.so /usr/lib/libkde3support.so.4.14.2 /usr/lib/libkparts.so.4.14.2 /usr/lib/x86_64-linux-gnu/libQt3Support.so /usr/lib/libkio.so.5.14.2 /usr/lib/libnepomukutils.so.4.14.2 /usr/lib/x86_64-linux-gnu/libQtNetwork.so /usr/lib/x86_64-linux-gnu/libQtXml.so /usr/lib/libnepomuk.so.4.14.2 /usr/lib/libkdeui.so.5.14.2 /usr/lib/x86_64-linux-gnu/libQtSvg.so -lsoprano /usr/lib/libkdecore.so.5.14.2 /usr/lib/x86_64-linux-gnu/libQtCore.so /usr/lib/x86_64-linux-gnu/libQtDBus.so /usr/lib/x86_64-linux-gnu/libQtGui.so -Wl,-rpath,/«PKGBUILDDIR»/obj-x86_64-linux-gnu/lib: 
CMakeFiles/kdeinit_kmplayer.dir/kmplayerapp.o: In function `KMPlayerApp::playerStarted()':
/«PKGBUILDDIR»/src/kmplayerapp.cpp:388: undefined reference to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)'
/«PKGBUILDDIR»/src/kmplayerapp.cpp:413: undefined reference to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)'
/«PKGBUILDDIR»/src/kmplayerapp.cpp:413: undefined reference to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)'
CMakeFiles/kdeinit_kmplayer.dir/kmplayerapp.o: In function `KMPlayerApp::menuCopyDrop()':
/«PKGBUILDDIR»/src/kmplayerapp.cpp:1381: undefined reference to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)'
CMakeFiles/kdeinit_kmplayer.dir/kmplayerapp.o: In function `KMPlayerApp::menuMoveUpNode()':
/«PKGBUILDDIR»/src/kmplayerapp.cpp:1400: undefined reference to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)'
CMakeFiles/kdeinit_kmplayer.dir/kmplayerapp.o:/«PKGBUILDDIR»/src/kmplayerapp.cpp:1410: more undefined references to `KMPlayer::TreeNode<KMPlayer::Node>::insertBefore(KMPlayer::Node*, KMPlayer::Node*)' follow
collect2: error: ld returned 1 exit status
make[3]: *** [lib/libkdeinit4_kmplayer.so] Error 1
src/CMakeFiles/kdeinit_kmplayer.dir/build.make:207: recipe for target 'lib/libkdeinit4_kmplayer.so' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [src/CMakeFiles/kdeinit_kmplayer.dir/all] Error 2
CMakeFiles/Makefile2:124: recipe for target 'src/CMakeFiles/kdeinit_kmplayer.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