Source: persistent-cache-cpp
Version: 1.0.7-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240728 ftbfs-trixie

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/tests/core/persistent_string_cache 
> && /usr/bin/c++ -DGTEST_VERSION_MAJOR=1 -DGTEST_VERSION_MINOR=15 
> -DGTEST_VERSION_PATCH=0 
> -DTEST_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/core/persistent_string_cache\"
>  -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/core/persistent_string_cache 
> -I/<<PKGBUILDDIR>>/tests/core/persistent_string_cache 
> -I/<<PKGBUILDDIR>>/include -isystem /usr/src/googletest/googlemock/include 
> -isystem /usr/src/googletest/googletest/include -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 --std=c++14 -Wall -pedantic -Wextra 
> -Wcast-align -Wcast-qual -Wformat -Wredundant-decls -Wswitch-default 
> -Wnon-virtual-dtor -Wctor-dtor-privacy -Wold-style-cast -MD -MT 
> tests/core/persistent_string_cache/CMakeFiles/persistent_string_cache_test.dir/persistent_string_cache_test.cpp.o
>  -MF 
> CMakeFiles/persistent_string_cache_test.dir/persistent_string_cache_test.cpp.o.d
>  -o 
> CMakeFiles/persistent_string_cache_test.dir/persistent_string_cache_test.cpp.o
>  -c 
> /<<PKGBUILDDIR>>/tests/core/persistent_string_cache/persistent_string_cache_test.cpp
> /<<PKGBUILDDIR>>/tests/core/persistent_string_cache/speed_test.cpp: In 
> function ‘std::string make_key(int, int)’:
> /<<PKGBUILDDIR>>/tests/core/persistent_string_cache/speed_test.cpp:99:10: 
> error: ‘setfill’ was not declared in this scope
>    99 |     s << setfill('0') << setw(keylen) << random_int(0, max_key);
>       |          ^~~~~~~
> /<<PKGBUILDDIR>>/tests/core/persistent_string_cache/speed_test.cpp:32:1: 
> note: ‘std::setfill’ is defined in header ‘<iomanip>’; this is probably 
> fixable by adding ‘#include <iomanip>’
>    31 | #include <thread>
>   +++ |+#include <iomanip>
>    32 | 
> /<<PKGBUILDDIR>>/tests/core/persistent_string_cache/speed_test.cpp:99:26: 
> error: ‘setw’ was not declared in this scope
>    99 |     s << setfill('0') << setw(keylen) << random_int(0, max_key);
>       |                          ^~~~
> /<<PKGBUILDDIR>>/tests/core/persistent_string_cache/speed_test.cpp:99:26: 
> note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable 
> by adding ‘#include <iomanip>’
> /<<PKGBUILDDIR>>/tests/core/persistent_string_cache/speed_test.cpp: In member 
> function ‘virtual void PersistentStringCache_basic_Test::TestBody()’:
> /<<PKGBUILDDIR>>/tests/core/persistent_string_cache/speed_test.cpp:151:14: 
> error: ‘setfill’ was not declared in this scope
>   151 |         s << setfill('0') << setw(keylen) << i;
>       |              ^~~~~~~
> /<<PKGBUILDDIR>>/tests/core/persistent_string_cache/speed_test.cpp:151:14: 
> note: ‘std::setfill’ is defined in header ‘<iomanip>’; this is probably 
> fixable by adding ‘#include <iomanip>’
> /<<PKGBUILDDIR>>/tests/core/persistent_string_cache/speed_test.cpp:151:30: 
> error: ‘setw’ was not declared in this scope
>   151 |         s << setfill('0') << setw(keylen) << i;
>       |                              ^~~~
> /<<PKGBUILDDIR>>/tests/core/persistent_string_cache/speed_test.cpp:151:30: 
> note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable 
> by adding ‘#include <iomanip>’
> make[3]: *** 
> [tests/core/persistent_string_cache/CMakeFiles/speed_test.dir/build.make:79: 
> tests/core/persistent_string_cache/CMakeFiles/speed_test.dir/speed_test.cpp.o]
>  Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/persistent-cache-cpp_1.0.7-1_unstable.log

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

Reply via email to