Bug#1117743: coot: FTBFS: /usr/include/rdkit/GraphMol/Substruct/SubstructMatch.h:66:27: error: 'span' is not a member of 'std'
Andrius Merkys
merkys at debian.org
Mon Oct 13 08:01:44 BST 2025
Control: owner -1 !
Control: tags -1 + fixed-upstream
Hello,
On 2025-10-10 19:27, Santiago Vila wrote:
> Package: src:coot
> Version: 1.1.15+dfsg-1
> Severity: serious
> Tags: ftbfs forky sid
[snip]
> In file included from use-rdkit.hh:44,
> from rdkit-interface.hh:25,
> from cod-types.cc:27:
> /usr/include/rdkit/GraphMol/Substruct/SubstructMatch.h:66:27: error: 'span' is not a member of 'std'
> 66 | std::span<const unsigned int> match)>
> | ^~~~
> /usr/include/rdkit/GraphMol/Substruct/SubstructMatch.h:66:27: note: 'std::span' is only available from C++20 onwards
> /usr/include/rdkit/GraphMol/Substruct/SubstructMatch.h:66:57: error: expression list treated as compound expression in functional cast [-fpermissive]
> 66 | std::span<const unsigned int> match)>
> | ^
> /usr/include/rdkit/GraphMol/Substruct/SubstructMatch.h:66:58: error: template argument 1 is invalid
> 66 | std::span<const unsigned int> match)>
> | ^
> make[2]: *** [Makefile:672: rdkit-interface.lo] Error 1
This is due to my recent upload of rdkit/202503.6-1 which now needs at
least C++20. The issue is fixed upstream [1], so I need to cherry-pick
the upstream commits to fix it.
Andrius
[1]
https://github.com/pemsley/coot/commit/279d815f01347fd36d93b5ced4df3b10afe490cf
More information about the debian-science-maintainers
mailing list