[Pkg-ayatana-devel] Bug#992363: qmenumodel FTBFS with recent glib2.0: error: template with C linkage
Helmut Grohne
helmut at subdivi.de
Tue Aug 17 21:11:34 BST 2021
Source: qmenumodel
Version: 0.8.0-2
Tags: ftbfs
X-Debbugs-Cc: Simon McVittie <smcv at debian.org>
example error from a build log:
| In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
| 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/gobject/gbinding.h:28,
| from /usr/include/glib-2.0/glib-object.h:22,
| from /<<PKGBUILDDIR>>/libqmenumodel/src/qmenumodelevents.cpp:21:
| /usr/include/c++/10/type_traits:2925:3: error: template with C linkage
| 2925 | template<typename _Fn, typename... _Args>
| | ^~~~~~~~
| /<<PKGBUILDDIR>>/libqmenumodel/src/qmenumodelevents.cpp:20:1: note: ‘extern "C"’ linkage started here
| 20 | extern "C" {
| | ^~~~~~~~~~
Also seen by crossqa:
http://crossqa.debian.net/build/qmenumodel_0.8.0-2_armel_20210817195636.log
Similar bug with more details: #992246
Helmut
More information about the Pkg-ayatana-devel
mailing list