[Pkg-matrix-maintainers] Bug#1005653: nheko: FTBFS: fails to build CMakeFiles/nheko.dir/src/voip/WebRTCSession.cpp.o

Lucas Nussbaum lucas at debian.org
Sun Feb 13 12:46:53 GMT 2022


Source: nheko
Version: 0.9.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> [ 52%] Building CXX object CMakeFiles/nheko.dir/src/encryption/DeviceVerificationFlow.cpp.o
> /usr/bin/c++ -DFMT_LOCALE -DFMT_SHARED -DGSTREAMER_AVAILABLE -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DQAPPLICATION_CLASS=QApplication -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -DXCB_AVAILABLE -Dnheko_EXPORTS -I/<<PKGBUILDDIR>>/build -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/includes -I/<<PKGBUILDDIR>>/third_party/blurhash -I/<<PKGBUILDDIR>>/third_party/cpp-httplib-0.5.12 -I/<<PKGBUILDDIR>>/lmdbxx -I/<<PKGBUILDDIR>>/third_party/SingleApplication-3.3.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /<<PKGBUILDDIR>>/mtxclient/include -isystem /<<PKGBUILDDIR>>/coeurl/include -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/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickControls2 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -isystem /usr/include/gstreamer-1.0 -isystem /usr/include/orc-0.4 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -Wdate-time -D_FORTIFY_SOURCE=2 		-Wall 		-Wextra 		-pipe 		-pedantic 		-fsized-deallocation 		-fdiagnostics-color=always 		-Wunreachable-code 		-Wno-attributes -O2 -g -DNDEBUG -fPIE -fPIC -pthread -std=gnu++17 -Winvalid-pch -include /<<PKGBUILDDIR>>/build/CMakeFiles/nheko.dir/cmake_pch.hxx -MD -MT CMakeFiles/nheko.dir/src/encryption/DeviceVerificationFlow.cpp.o -MF CMakeFiles/nheko.dir/src/encryption/DeviceVerificationFlow.cpp.o.d -o CMakeFiles/nheko.dir/src/encryption/DeviceVerificationFlow.cpp.o -c /<<PKGBUILDDIR>>/src/encryption/DeviceVerificationFlow.cpp
> /<<PKGBUILDDIR>>/src/voip/WebRTCSession.cpp: In function ‘void {anonymous}::addLocalPiP(GstElement*, const std::pair<int, int>&)’:
> /<<PKGBUILDDIR>>/src/voip/WebRTCSession.cpp:381:57: warning: ‘GstPad* gst_element_get_request_pad(GstElement*, const gchar*)’ is deprecated: Use 'gst_element_request_pad_simple' instead [-Wdeprecated-declarations]
>   381 |     localPiPSinkPad_       = gst_element_get_request_pad(compositor, "sink_%u");
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27,
>                  from /usr/include/gstreamer-1.0/gst/gst.h:35,
>                  from /<<PKGBUILDDIR>>/src/voip/WebRTCSession.cpp:26:
> /usr/include/gstreamer-1.0/gst/gstelement.h:1042:25: note: declared here
>  1042 | GstPad*                 gst_element_get_request_pad     (GstElement *element, const gchar *name);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/voip/WebRTCSession.cpp: In function ‘void {anonymous}::addLocalVideo(GstElement*)’:
> /<<PKGBUILDDIR>>/src/voip/WebRTCSession.cpp:429:52: warning: ‘GstPad* gst_element_get_request_pad(GstElement*, const gchar*)’ is deprecated: Use 'gst_element_request_pad_simple' instead [-Wdeprecated-declarations]
>   429 |     GstPad *srcpad    = gst_element_get_request_pad(tee, "src_%u");
>       |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27,
>                  from /usr/include/gstreamer-1.0/gst/gst.h:35,
>                  from /<<PKGBUILDDIR>>/src/voip/WebRTCSession.cpp:26:
> /usr/include/gstreamer-1.0/gst/gstelement.h:1042:25: note: declared here
>  1042 | GstPad*                 gst_element_get_request_pad     (GstElement *element, const gchar *name);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/voip/WebRTCSession.cpp: In member function ‘bool WebRTCSession::addVideoPipeline(int)’:
> /<<PKGBUILDDIR>>/src/voip/WebRTCSession.cpp:949:60: warning: ‘GstPad* gst_element_get_request_pad(GstElement*, const gchar*)’ is deprecated: Use 'gst_element_request_pad_simple' instead [-Wdeprecated-declarations]
>   949 |             remotePiPSinkPad_ = gst_element_get_request_pad(compositor, "sink_%u");
>       |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27,
>                  from /usr/include/gstreamer-1.0/gst/gst.h:35,
>                  from /<<PKGBUILDDIR>>/src/voip/WebRTCSession.cpp:26:
> /usr/include/gstreamer-1.0/gst/gstelement.h:1042:25: note: declared here
>  1042 | GstPad*                 gst_element_get_request_pad     (GstElement *element, const gchar *name);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/voip/WebRTCSession.cpp:999:20: error: invalid use of incomplete type ‘GstWebRTCRTPTransceiver’
>   999 |         transceiver->direction = GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY;
>       |                    ^~
> In file included from /usr/include/gstreamer-1.0/gst/webrtc/webrtc.h:24,
>                  from /<<PKGBUILDDIR>>/src/voip/WebRTCSession.cpp:30:
> /usr/include/gstreamer-1.0/gst/webrtc/webrtc_fwd.h:84:16: note: forward declaration of ‘GstWebRTCRTPTransceiver’
>    84 | typedef struct _GstWebRTCRTPTransceiver GstWebRTCRTPTransceiver;
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~
> make[4]: *** [CMakeFiles/nheko.dir/build.make:1392: CMakeFiles/nheko.dir/src/voip/WebRTCSession.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/nheko_0.9.0-1_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-matrix-maintainers mailing list