Source: restinio
Version: 0.6.13-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
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/so_5 && /usr/bin/c++ -DSO_5_PRJ
> -DSO_5_STATIC_LIB -I/<<PKGBUILDDIR>>/dev/clara -I/<<PKGBUILDDIR>>/dev -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -MD -MT
> so_5/CMakeFiles/so_s.5.5.24.3.dir/error_logger.cpp.o -MF
> CMakeFiles/so_s.5.5.24.3.dir/error_logger.cpp.o.d -o
> CMakeFiles/so_s.5.5.24.3.dir/error_logger.cpp.o -c
> /<<PKGBUILDDIR>>/dev/so_5/error_logger.cpp
> In file included from /usr/include/signal.h:328,
> from /<<PKGBUILDDIR>>/dev/catch2/catch.hpp:8034,
> from /<<PKGBUILDDIR>>/dev/test/catch_main/catch_main.cpp:2:
> /<<PKGBUILDDIR>>/dev/catch2/catch.hpp:10822:58: error: call to
> non-‘constexpr’ function ‘long int sysconf(int)’
> 10822 | 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>>/dev/catch2/catch.hpp:10881:45: error: size of array
> ‘altStackMem’ is not an integral constant-expression
> 10881 | char FatalConditionHandler::altStackMem[sigStackSize] = {};
> | ^~~~~~~~~~~~
> [ 4%] Building CXX object so_5/CMakeFiles/so_s.5.5.24.3.dir/timers.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/so_5 && /usr/bin/c++ -DSO_5_PRJ
> -DSO_5_STATIC_LIB -I/<<PKGBUILDDIR>>/dev/clara -I/<<PKGBUILDDIR>>/dev -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -MD -MT
> so_5/CMakeFiles/so_s.5.5.24.3.dir/timers.cpp.o -MF
> CMakeFiles/so_s.5.5.24.3.dir/timers.cpp.o.d -o
> CMakeFiles/so_s.5.5.24.3.dir/timers.cpp.o -c
> /<<PKGBUILDDIR>>/dev/so_5/timers.cpp
> make[3]: ***
> [test/catch_main/CMakeFiles/restinio_catch_main.dir/build.make:79:
> test/catch_main/CMakeFiles/restinio_catch_main.dir/catch_main.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/08/13/restinio_0.6.13-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&[email protected]&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.