Source: units-cpp
Version: 2.3.3+ds-3
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):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 50%] Building CXX object unitTests/CMakeFiles/unitLibTest.dir/main.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/unitTests && /usr/bin/cmake -E time 
> /usr/bin/c++  -I/<<PKGBUILDDIR>>/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=gnu++14 -Wall -Wextra -pedantic -MD -MT 
> unitTests/CMakeFiles/unitLibTest.dir/main.cpp.o -MF 
> CMakeFiles/unitLibTest.dir/main.cpp.o.d -o 
> CMakeFiles/unitLibTest.dir/main.cpp.o -c /<<PKGBUILDDIR>>/unitTests/main.cpp
> /<<PKGBUILDDIR>>/unitTests/main.cpp: In member function ‘virtual void 
> UnitContainer_cout_Test::TestBody()’:
> /<<PKGBUILDDIR>>/unitTests/main.cpp:1370:27: error: ‘setprecision’ is not a 
> member of ‘std’
>  1370 |         std::cout << std::setprecision(9) << 
> units::math::cpow<4>(foot_t(2));
>       |                           ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/unitTests/main.cpp:7:1: note: ‘std::setprecision’ is defined 
> in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
>     6 | #include <array>
>   +++ |+#include <iomanip>
>     7 | 
> /<<PKGBUILDDIR>>/unitTests/main.cpp:1376:27: error: ‘setprecision’ is not a 
> member of ‘std’
>  1376 |         std::cout << std::setprecision(8) << constants::k_B;
>       |                           ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/unitTests/main.cpp:1376:27: note: ‘std::setprecision’ is 
> defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include 
> <iomanip>’
> /<<PKGBUILDDIR>>/unitTests/main.cpp:1385:27: error: ‘setprecision’ is not a 
> member of ‘std’
>  1385 |         std::cout << std::setprecision(9) << constants::mu_B;
>       |                           ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/unitTests/main.cpp:1385:27: note: ‘std::setprecision’ is 
> defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include 
> <iomanip>’
> /<<PKGBUILDDIR>>/unitTests/main.cpp:1394:27: error: ‘setprecision’ is not a 
> member of ‘std’
>  1394 |         std::cout << std::setprecision(7) << constants::sigma;
>       |                           ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/unitTests/main.cpp:1394:27: note: ‘std::setprecision’ is 
> defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include 
> <iomanip>’
> Elapsed time (seconds): 7.51503
> make[3]: *** [unitTests/CMakeFiles/unitLibTest.dir/build.make:79: 
> unitTests/CMakeFiles/unitLibTest.dir/main.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/units-cpp_2.3.3+ds-3_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