Source: ms-gsl Version: 3.1.0-1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200802 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -Wl,-z,relro -rdynamic > CMakeFiles/span_tests.dir/span_tests.cpp.o -o span_tests -lgtest_main > -lpthread -lgtest -lpthread -lgtest > In file included from /<<PKGBUILDDIR>>/tests/multi_span_tests.cpp:21: > /<<PKGBUILDDIR>>/include/gsl/multi_span: In member function ‘virtual void > multi_span_test_subspan_Test::TestBody()’: > /<<PKGBUILDDIR>>/include/gsl/multi_span:1467:96: error: array subscript 6 is > outside array bounds of ‘int [5]’ [-Werror=array-bounds] > 1467 | return {this->data() + offset, count == dynamic_range ? > this->length() - offset : count}; > | > ^ > /<<PKGBUILDDIR>>/tests/multi_span_tests.cpp:986:9: note: while referencing > ‘arr’ > 986 | int arr[5] = {1, 2, 3, 4, 5}; > | ^~~ > make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' > [ 78%] Built target span_tests > make -f tests/CMakeFiles/strided_span_tests.dir/build.make > tests/CMakeFiles/strided_span_tests.dir/depend > make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends > "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/tests > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/CMakeFiles/strided_span_tests.dir/DependInfo.cmake > --color= > Scanning dependencies of target strided_span_tests > make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' > make -f tests/CMakeFiles/strided_span_tests.dir/build.make > tests/CMakeFiles/strided_span_tests.dir/build > make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' > [ 81%] Building CXX object > tests/CMakeFiles/strided_span_tests.dir/strided_span_tests.cpp.o > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests && /usr/bin/c++ > -I/<<PKGBUILDDIR>>/include -isystem > /<<PKGBUILDDIR>>/tests/googletest/googletest/include -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 > -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy > -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion > -Wno-deprecated-declarations -Wdouble-promotion -Wlogical-op > -Wduplicated-cond -Wmisleading-indentation -Wnull-dereference > -Wno-unused-variable -Wduplicated-branches -o > CMakeFiles/strided_span_tests.dir/strided_span_tests.cpp.o -c > /<<PKGBUILDDIR>>/tests/strided_span_tests.cpp > cc1plus: all warnings being treated as errors > make[3]: *** [tests/CMakeFiles/multi_span_tests.dir/build.make:66: > tests/CMakeFiles/multi_span_tests.dir/multi_span_tests.cpp.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2020/08/02/ms-gsl_3.1.0-1_unstable.log 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! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.