Bug#1143681: opm-common: FTBFS: /<<PKGBUILDDIR>>/opm/material/common/quad.hpp:282:13: error: redefinition of 'quad std::abs(quad)'

Santiago Vila sanvila at debian.org
Wed Aug 5 12:24:41 BST 2026


Package: src:opm-common
Version: 2025.10+ds-4
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:opm-common, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
[ 25%] Building CXX object CMakeFiles/opmcommon.dir/opm/material/densead/Evaluation.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DEMBEDDED_PYTHON -DFMT_SHARED [too-long-redacted] material/densead/Evaluation.cpp
In file included from /<<PKGBUILDDIR>>/opm/material/densead/Evaluation.cpp:28:
/<<PKGBUILDDIR>>/opm/material/common/quad.hpp:282:13: error: redefinition of ‘quad std::abs(quad)’
  282 | inline quad abs(quad val)
      |             ^~~
In file included from /usr/include/c++/16/cstdlib:87,
                 from /usr/include/c++/16/ext/string_conversions.h:45,
                 from /usr/include/c++/16/bits/basic_string.h:4499,
                 from /usr/include/c++/16/string:58,
                 from /usr/include/c++/16/stdexcept:41,
                 from /<<PKGBUILDDIR>>/opm/material/densead/Evaluation.hpp:42,
                 from /<<PKGBUILDDIR>>/opm/material/densead/Evaluation.cpp:25:
/usr/include/c++/16/bits/std_abs.h:150:3: note: ‘constexpr __float128 std::abs(__float128)’ previously defined here
  150 |   abs(__float128 __x)
      |   ^~~
make[3]: *** [CMakeFiles/opmcommon.dir/build.make:3840: CMakeFiles/opmcommon.dir/opm/material/densead/Evaluation.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:871: CMakeFiles/opmcommon.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the debian-science-maintainers mailing list