[Bug 2033941] Re: mfem 4.5.2+ds-1build1 FTBFS in mantic

Ubuntu Foundations Team Bug Bot 2033941 at bugs.launchpad.net
Sat Sep 2 08:14:08 UTC 2023


The attachment "mfem_4.5.2+ds-1ubuntu1-from-4.5.2+ds-1build1.debdiff"
seems to be a debdiff.  The ubuntu-sponsors team has been subscribed to
the bug report so that they can review and hopefully sponsor the
debdiff.  If the attachment isn't a patch, please remove the "patch"
flag from the attachment, remove the "patch" tag, and if you are member
of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2033941

Title:
  mfem 4.5.2+ds-1build1 FTBFS in mantic

Status in mfem package in Ubuntu:
  New

Bug description:
  [  2%] Building CXX object CMakeFiles/mfem.dir/general/hash.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>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/mfem-4.5.2+ds-1build1 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -std=c++11 -fPIC -MD -MT CMakeFiles/mfem.dir/general/hash.cpp.o -MF CMakeFiles/mfem.dir/general/hash.cpp.o.d -o CMakeFiles/mfem.dir/general/hash.cpp.o -c /<<PKGBUILDDIR>>/general/hash.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);
        |                                                          ^
        |                                                          )
  make[3]: *** [CMakeFiles/mfem.dir/build.make:121: CMakeFiles/mfem.dir/general/hash.cpp.o] Error 1
  make[3]: *** Waiting for unfinished jobs....
  make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
  make[2]: *** [CMakeFiles/Makefile2:730: CMakeFiles/mfem.dir/all] Error 2
  make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
  make[1]: *** [Makefile:139: all] Error 2
  make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
  dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
  make: *** [debian/rules:14: binary] Error 25
  dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mfem/+bug/2033941/+subscriptions




More information about the Ubuntu-sponsors mailing list