[Pkg-electronics-devel] Bug#997286: pulseview: FTBFS: type_traits:44:3: error: template with C linkage

Lucas Nussbaum lucas at debian.org
Sat Oct 23 20:22:55 BST 2021


Source: pulseview
Version: 0.4.2-2
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):
> /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_MATH_DISABLE_FLOAT128=1 -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DENABLE_DECODE -DENABLE_SIGNALS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_SVG_LIB -DQT_WIDGETS_LIB -D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/pulseview_autogen/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/libftdi1 -I/usr/include/hidapi -I/usr/include/libusb-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/python3.9 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -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/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -Wall -Wextra -std=c++11 -fPIC -MD -MT CMakeFiles/pulseview.dir/pv/data/decode/annotation.cpp.o -MF CMakeFiles/pulseview.dir/pv/data/decode/annotation.cpp.o.d -o CMakeFiles/pulseview.dir/pv/data/decode/annotation.cpp.o -c /<<PKGBUILDDIR>>/pv/data/decode/annotation.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/libsigrokdecode/libsigrokdecode.h:25,
>                  from /<<PKGBUILDDIR>>/pv/data/decode/annotation.cpp:21:
> /usr/include/c++/11/type_traits:44:3: error: template with C linkage
>    44 |   template<typename... _Elements>
>       |   ^~~~~~~~


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/pulseview_0.4.2-2_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-electronics-devel mailing list