Bug#1017134: box2d: FTBFS: doctest.h:4021:47: error: size of array ‘altStackMem’ is not an integral constant-expression

Lucas Nussbaum lucas at debian.org
Sun Aug 14 08:11:22 BST 2022


Source: box2d
Version: 2.4.1-2
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/unit-test && /usr/bin/c++ -DB2_SHARED -I/<<PKGBUILDDIR>>/src/../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -MD -MT unit-test/CMakeFiles/unit_test.dir/joint_test.cpp.o -MF CMakeFiles/unit_test.dir/joint_test.cpp.o.d -o CMakeFiles/unit_test.dir/joint_test.cpp.o -c /<<PKGBUILDDIR>>/unit-test/joint_test.cpp
> In file included from /<<PKGBUILDDIR>>/unit-test/hello_world.cpp:25:
> /<<PKGBUILDDIR>>/unit-test/doctest.h:4021:47: error: size of array ‘altStackMem’ is not an integral constant-expression
>  4021 |         static char             altStackMem[4 * SIGSTKSZ];
>       |                                               ^
> make[3]: *** [unit-test/CMakeFiles/unit_test.dir/build.make:79: unit-test/CMakeFiles/unit_test.dir/hello_world.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/box2d_2.4.1-2_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-games-devel mailing list