Bug#1114183: librsb: FTBFS: /usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:459:1: error: template with C linkage
Rafael Laboissière
rafael at debian.org
Sat Sep 6 16:49:50 BST 2025
* Santiago Vila <sanvila at debian.org> [2025-09-05 20:56]:
> On Fri, Sep 05, 2025 at 06:48:48PM +0000, Michele Martone wrote:
>
>> that error seems new to me.
>
> The error is new because gcc-15 was uploaded for unstable yesterday.
Indeed this is the error message:
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:568:1: error: template with C linkage
568 | template<typename __T>
| ^~~~~~~~
rsb_common.h:32:1: note: ‘extern "C"’ linkage started here
32 | extern "C" {
The omp.h file includes C++ statements (template definitions) but it
is included inside an 'extern "C" {}' block.
I am sorry I do not know how to fix this.
@Michele: if you can find a way to fix this, I can try it on my forky
chroot.
Best,
Rafael Laboissière
More information about the debian-science-maintainers
mailing list