Bug#1017327: mapbox-variant: FTBFS: test/include/catch.hpp:6415:33: error: size of array ‘altStackMem’ is not an integral constant-expression

Lucas Nussbaum lucas at debian.org
Sun Aug 14 09:45:03 BST 2022


Source: mapbox-variant
Version: 1.2.0-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):
> g++ -c -o out/issue122.o test/t/issue122.cpp -Iinclude -isystem test/include -std=c++11 -Werror -Wall -Wextra -pedantic -Wformat=2 -Wsign-conversion -Wshadow -Wunused-parameter -O3 -DNDEBUG -march=native -DSINGLE_THREADED -fvisibility-inlines-hidden -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread
> In file included from /usr/include/signal.h:328,
>                  from test/include/catch.hpp:6392,
>                  from test/unit.cpp:2:
> test/include/catch.hpp:6415:33: error: size of array ‘altStackMem’ is not an integral constant-expression
>  6415 |         static char altStackMem[SIGSTKSZ];
>       |                                 ^~~~~~~~
> test/include/catch.hpp:6466:45: error: size of array ‘altStackMem’ is not an integral constant-expression
>  6466 |     char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
>       |                                             ^~~~~~~~
> mkdir -p ./out
> g++ -c -o out/mutating_visitor.o test/t/mutating_visitor.cpp -Iinclude -isystem test/include -std=c++11 -Werror -Wall -Wextra -pedantic -Wformat=2 -Wsign-conversion -Wshadow -Wunused-parameter -O3 -DNDEBUG -march=native -DSINGLE_THREADED -fvisibility-inlines-hidden -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread
> make[1]: *** [Makefile:96: out/unit.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/mapbox-variant_1.2.0-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-grass-devel mailing list