• Bug#1060938: obs-ashmanix-countdown: FTBFS: plugin-main.cpp:41:30: erro

    From Lucas Nussbaum@21:1/5 to All on Tue Jan 16 20:50:01 2024
    Source: obs-ashmanix-countdown
    Version: 1.3.3-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240115 ftbfs-trixie

    Hi,

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


    Relevant part (hopefully):
    /usr/bin/c++ -DHAVE_OBSCONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -Dashmanix_countdown_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ashmanix-countdown_autogen/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/lib -isystem /
    usr/include/obs -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/QtWidgets -isystem /usr/include/x86_64-linux-
    gnu/qt5/QtGui -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Werror -Wextra -Wvla -Wformat -Wformat-security -Wswitch -
    Wunused-parameter -Wno-unused-function -Wno-missing-field-initializers -fno-strict-aliasing -Wconversion-null -Wall -fPIC -mmmx -msse -msse2 -MD -MT CMakeFiles/ashmanix-countdown.dir/src/countdown-widget.cpp.o -MF CMakeFiles/ashmanix-countdown.dir/src/
    countdown-widget.cpp.o.d -o CMakeFiles/ashmanix-countdown.dir/src/countdown-widget.cpp.o -c /<<PKGBUILDDIR>>/src/countdown-widget.cpp
    /<<PKGBUILDDIR>>/src/plugin-main.cpp: In function ‘bool obs_module_load()’:
    /<<PKGBUILDDIR>>/src/plugin-main.cpp:41:30: error: ‘void* obs_frontend_add_dock(void*)’ is deprecated [-Werror=deprecated-declarations]
    41 | obs_frontend_add_dock(countdownWidget);
    | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
    In file included from /<<PKGBUILDDIR>>/src/countdown-widget.hpp:38,
    from /<<PKGBUILDDIR>>/src/plugin-main.cpp:18: /usr/include/obs/obs-frontend-api.h:142:14: note: declared here
    142 | EXPORT void *obs_frontend_add_dock(void *dock);
    | ^~~~~~~~~~~~~~~~~~~~~
    cc1plus: all warnings being treated as errors
    make[3]: *** [CMakeFiles/ashmanix-countdown.dir/build.make:93: CMakeFiles/ashmanix-countdown.dir/src/plugin-main.cpp.o] Error 1


    The full build log is available from: http://qa-logs.debian.net/2024/01/15/obs-ashmanix-countdown_1.3.3-1_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    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 mark 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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)