Source: mfem
Version: 4.5.2+ds-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /usr/bin/c++ 
> -DMFEM_CONFIG_FILE=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/config/_config.hpp\"
>  -Dmfem_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> 
> -I/usr/include/hypre -I/usr/lib/x86_64-linux-gnu/openmpi/include 
> -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG 
> -std=c++11 -fPIC -MD -MT CMakeFiles/mfem.dir/general/gecko.cpp.o -MF 
> CMakeFiles/mfem.dir/general/gecko.cpp.o.d -o 
> CMakeFiles/mfem.dir/general/gecko.cpp.o -c /<<PKGBUILDDIR>>/general/gecko.cpp
> In file included from /<<PKGBUILDDIR>>/general/hash.cpp:12:
> /<<PKGBUILDDIR>>/general/hash.hpp: In member function ‘mfem::HashFunction& 
> mfem::HashFunction::EncodeAndHashDoubles(double_const_iter, 
> double_const_iter)’:
> /<<PKGBUILDDIR>>/general/hash.hpp:1001:39: error: ISO C++ forbids declaration 
> of ‘type name’ with no type [-fpermissive]
>  1001 |       auto k = reinterpret_cast<const uint64_t &>(*begin);
>       |                                       ^~~~~~~~
> /<<PKGBUILDDIR>>/general/hash.hpp:1001:39: error: expected ‘>’ before 
> ‘uint64_t’
> /<<PKGBUILDDIR>>/general/hash.hpp:1001:39: error: expected ‘(’ before 
> ‘uint64_t’
>  1001 |       auto k = reinterpret_cast<const uint64_t &>(*begin);
>       |                                       ^~~~~~~~
>       |                                       (
> /<<PKGBUILDDIR>>/general/hash.hpp:1001:39: error: ‘uint64_t’ was not declared 
> in this scope
>  1001 |       auto k = reinterpret_cast<const uint64_t &>(*begin);
>       |                                       ^~~~~~~~
> /<<PKGBUILDDIR>>/general/hash.hpp:17:1: note: ‘uint64_t’ is defined in header 
> ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
>    16 | #include "array.hpp"
>   +++ |+#include <cstdint>
>    17 | #include "globals.hpp"
> /<<PKGBUILDDIR>>/general/hash.hpp:1001:49: error: expected primary-expression 
> before ‘>’ token
>  1001 |       auto k = reinterpret_cast<const uint64_t &>(*begin);
>       |                                                 ^
> /<<PKGBUILDDIR>>/general/hash.hpp:1001:58: error: expected ‘)’ before ‘;’ 
> token
>  1001 |       auto k = reinterpret_cast<const uint64_t &>(*begin);
>       |                                                          ^
>       |                                                          )
> [  2%] Building CXX object CMakeFiles/mfem.dir/general/isockstream.cpp.o
> /usr/bin/c++ 
> -DMFEM_CONFIG_FILE=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/config/_config.hpp\"
>  -Dmfem_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> 
> -I/usr/include/hypre -I/usr/lib/x86_64-linux-gnu/openmpi/include 
> -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG 
> -std=c++11 -fPIC -MD -MT CMakeFiles/mfem.dir/general/isockstream.cpp.o -MF 
> CMakeFiles/mfem.dir/general/isockstream.cpp.o.d -o 
> CMakeFiles/mfem.dir/general/isockstream.cpp.o -c 
> /<<PKGBUILDDIR>>/general/isockstream.cpp
> make[3]: *** [CMakeFiles/mfem.dir/build.make:121: 
> CMakeFiles/mfem.dir/general/hash.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/07/24/mfem_4.5.2+ds-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!

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