[Pkg-kde-extras] Bug#997118: kmplayer: FTBFS: type_traits:44:3: error: template with C linkage

Lucas Nussbaum lucas at debian.org
Sat Oct 23 19:38:16 BST 2021


Source: kmplayer
Version: 1:0.12.0b-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DKMPLAYER_VERSION_STRING="\"\\\"0.12.0b\\\"\"" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/kphononplayer_autogen/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/.. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -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/QtX11Extras -isystem /usr/include/phonon4qt5 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kphononplayer.dir/phononplayer.cpp.o -MF CMakeFiles/kphononplayer.dir/phononplayer.cpp.o.d -o CMakeFiles/kphononplayer.dir/phononplayer.cpp.o -c /<<PKGBUILDDIR>>/src/phononplayer.cpp
> In file included from /usr/include/glib-2.0/glib/glib-typeof.h:39,
>                  from /usr/include/glib-2.0/glib/gatomic.h:28,
>                  from /usr/include/glib-2.0/glib/gthread.h:32,
>                  from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
>                  from /usr/include/glib-2.0/glib.h:32,
>                  from /usr/include/glib-2.0/glib/gprintf.h:21,
>                  from /<<PKGBUILDDIR>>/src/npplayer.cpp:34:
> /usr/include/c++/11/type_traits:44:3: error: template with C linkage
>    44 |   template<typename... _Elements>
>       |   ^~~~~~~~
> /<<PKGBUILDDIR>>/src/npplayer.cpp:24:1: note: ‘extern "C"’ linkage started here
>    24 | extern "C" {
>       | ^~~~~~~~~~


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/kmplayer_0.12.0b-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-kde-extras mailing list