[Debichem-devel] Bug#1042379: gemmi FTBFS with gcc 13 on i386/s390x/m68k
Adrian Bunk
bunk at debian.org
Thu Jul 27 09:41:12 BST 2023
Source: gemmi
Version: 0.6.2+ds-4
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=gemmi&ver=0.6.2%2Bds-4
...
In file included from /<<PKGBUILDDIR>>/include/gemmi/model.hpp:17,
from /<<PKGBUILDDIR>>/include/gemmi/assembly.hpp:11,
from /<<PKGBUILDDIR>>/src/assembly.cpp:3:
/<<PKGBUILDDIR>>/include/gemmi/elem.hpp: In function ‘double gemmi::molecular_weight(El)’:
/<<PKGBUILDDIR>>/include/gemmi/elem.hpp:100:50: error: static assertion failed: Hmm
100 | static_assert(weights[static_cast<int>(El::D)] == 2.0141, "Hmm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
...
This can be fixed by adding
export CXXFLAGS = -fexcess-precision=fast
in debian/rules
For background see the first bullet point in the C++ section of
https://gcc.gnu.org/gcc-13/changes.html
More information about the Debichem-devel
mailing list