Bug#1017171: sfxr-qt: FTBFS: catch.hpp:10453:58: error: call to non-‘constexpr’ function ‘long int sysconf(int) ’

Lucas Nussbaum lucas at debian.org
Sun Aug 14 08:18:49 BST 2022


Source: sfxr-qt
Version: 1.5.0+ds-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm

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++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/sfxr-qt_autogen/include -I/<<PKGBUILDDIR>>/src/ui -I/<<PKGBUILDDIR>>/src/core -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/core -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -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/QtConcurrent -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/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Woverloaded-virtual -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/sfxr-qt.dir/qrc_qml.cpp.o -MF CMakeFiles/sfxr-qt.dir/qrc_qml.cpp.o.d -o CMakeFiles/sfxr-qt.dir/qrc_qml.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/qrc_qml.cpp
> In file included from /usr/include/signal.h:328,
>                  from /<<PKGBUILDDIR>>/3rdparty/catch2/single_include/catch2/catch.hpp:7712,
>                  from /<<PKGBUILDDIR>>/tests/tests.cpp:7:
> /<<PKGBUILDDIR>>/3rdparty/catch2/single_include/catch2/catch.hpp:10453:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
> 10453 |     static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
>       |                                                          ^~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24:
> /usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here
>   640 | extern long int sysconf (int __name) __THROW;
>       |                 ^~~~~~~
> /<<PKGBUILDDIR>>/3rdparty/catch2/single_include/catch2/catch.hpp:10512:45: error: size of array ‘altStackMem’ is not an integral constant-expression
> 10512 |     char FatalConditionHandler::altStackMem[sigStackSize] = {};
>       |                                             ^~~~~~~~~~~~
> [ 97%] Linking CXX executable sfxr-qt
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/sfxr-qt.dir/link.txt --verbose=1
> /usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now "CMakeFiles/sfxr-qt.dir/sfxr-qt_autogen/mocs_compilation.cpp.o" "CMakeFiles/sfxr-qt.dir/ui/main.cpp.o" "CMakeFiles/sfxr-qt.dir/ui/Generator.cpp.o" "CMakeFiles/sfxr-qt.dir/qrc_qml.cpp.o" -o sfxr-qt  libsfxr-qtlib.a /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.4 /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5.15.4 /usr/lib/x86_64-linux-gnu/libQt5QmlModels.so.5.15.4 -lSDL /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.15.4 /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.15.4 /usr/lib/x86_64-linux-gnu/libQt5Concurrent.so.5.15.4 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.15.4 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.4 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 97%] Built target sfxr-qt
> make[3]: *** [tests/CMakeFiles/tests.dir/build.make:93: tests/CMakeFiles/tests.dir/tests.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/sfxr-qt_1.5.0+ds-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&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 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-multimedia-maintainers mailing list