Bug#1114183: librsb: FTBFS: /usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:459:1: error: template with C linkage
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:19:40 BST 2025
Package: src:librsb
Version: 1.3.0.2+dfsg-7
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
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 could not 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:librsb, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
debian/rules execute_before_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
[ ! -f Makefile ] || make cleanall
[ ! -f Makefile ] || make realclean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
sh: 1: git: not found
sh: 1: git: not found
[... snipped ...]
CXX : g++
CFLAGS : -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -std=c99
OPENMP_CFLAGS : -fopenmp
CXXFLAGS : -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fopenmp
OPENMP_CXXFLAGS : -fopenmp
CPPFLAGS : -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/librsbpp -I/<<PKGBUILDDIR>>/rsblib
NOUNROLLCFLAGS : -fno-unroll-loops
BASELIB_EXTRA_CFLAGS :
KERNELS_EXTRA_CFLAGS :
FC (to disable, FC=' '): gfortran
FCFLAGS : -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -pipe -fopenmp
OPENMP_FCFLAGS : -fopenmp
LD : /usr/bin/ld -m elf_x86_64
LDFLAGS : -Wl,-z,relro
LIBS : -lm -lhwloc -lz -fopenmp
FCLIBS : -L/usr/lib/gcc/x86_64-linux-gnu/15 -L/usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/15/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/15/../../.. -L/lib -L/usr/lib -lgfortran -lm -lquadmath
AR : ar
ARFLAGS : cru
M4 : m4
MAKE : gmake
BASH : /bin/bash
OCTAVE : false
DOXYGEN : doxygen
HELP2MAN : help2man
=== Additional flags affecting only the benchmark program (rsbench): ===
RSB_RSBENCH_LIBS : -lhwloc
RSB_RSBENCH_CFLAGS :
========= Main code generator values, this build vs defaults ===========
(if these differ from the defaults, you need to have M4 and run 'make cleanall' and 'make')
All Numerical types : "int,double,float,float complex,double complex"
Numerical types : "double,float,float complex,double complex" vs "double,float,float complex,double complex"
Build Sparse BLAS Interface : "yes" vs "yes"
Util. Kernels Unroll : "16" vs "16"
Triangular solve zero check : "yes" vs "yes"
========== Build Configuration Summary, this build vs defaults =========
(if you reconfigure and change these, you need to run 'make clean' and 'make')
Supported I/O functionality level : "7" vs "7"
Interface Error Verbosity : "0" vs "0"
Internals Error Verbosity : "0" vs "0"
Memory hierarchy info, detected : "L3:4/64/8192K,L2:8/64/1024K,L1:8/64/32K"
Memory hierarchy info, selected : ""
Maximum of supported threads : "128"
Build Fortran examples : "yes" vs "yes"
Link them with Fortran linker : "auto" vs "auto"
Build C examples : "yes" vs "yes"
Build C++ examples : "yes" vs "yes"
Install Sparse BLAS Fortran modules : "yes" vs "no"
Install pkg-config "librsb.pc" file : "yes" vs "no"
Build Octave-generated tester : "no" vs "no"
Build Octave-generated tester (int) : "no" vs "no"
Build HTML and man documentation : "yes" vs "no"
Support reading gzipped matrices : "yes"
Enable collection of time statistics: "no" vs "no"
Install internal header (for devels): "no" vs "no"
Build librsbpp (a C++ component) in : "/<<PKGBUILDDIR>>/librsbpp"
Build rsbtest (a C++ component) in : "/<<PKGBUILDDIR>>/rsbtest"
Build rsblib (a C++ component) in : "/<<PKGBUILDDIR>>/rsblib"
prefix (installation path) : "/usr"
configure: Successfully configured librsb version "1.3.0.2".
# Remove spurious -ffile-prefix-map option added by dpkg-buildflags
sed -i -e 's:-ffile-prefix-map=[^ ]*::' librsb-config rsb-config.h
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Avoid blhc false positives
blhc: ignore-line-regexp: ^.*CC.*: gcc
blhc: ignore-line-regexp: ^.*LD.*: /usr/bin/ld.*
dh_auto_build
make -j2
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gmake all-recursive
gmake[3]: Entering directory '/<<PKGBUILDDIR>>'
Making all in librsbpp
gmake[4]: Entering directory '/<<PKGBUILDDIR>>/librsbpp'
g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -DRSBPP_HAS_RSB_H=1 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -c -o rsbpp.o rsbpp.cpp
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -DRSBPP_HAS_RSB_H=1 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -c -o rsbpp_coo.lo rsbpp_coo.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -DRSBPP_HAS_RSB_H=1 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -c rsbpp_coo.cpp -fPIC -DPIC -o .libs/rsbpp_coo.o
In file included from rsbpp.hpp:44,
from rsbpp.cpp:28:
/usr/include/c++/15/ccomplex:51:4: warning: #warning "<ccomplex> is deprecated in C++17, use <complex> instead" [-Wcpp]
51 | # warning "<ccomplex> is deprecated in C++17, use <complex> instead"
| ^~~~~~~
In file included from rsbpp.hpp:44,
from rsbpp_coo.cpp:21:
/usr/include/c++/15/ccomplex:51:4: warning: #warning "<ccomplex> is deprecated in C++17, use <complex> instead" [-Wcpp]
51 | # warning "<ccomplex> is deprecated in C++17, use <complex> instead"
| ^~~~~~~
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -DRSBPP_HAS_RSB_H=1 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -c -o rsbpp_csr.lo rsbpp_csr.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -DRSBPP_HAS_RSB_H=1 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -c rsbpp_csr.cpp -fPIC -DPIC -o .libs/rsbpp_csr.o
In file included from rsbpp.hpp:44,
from rsbpp_csr.cpp:21:
/usr/include/c++/15/ccomplex:51:4: warning: #warning "<ccomplex> is deprecated in C++17, use <complex> instead" [-Wcpp]
51 | # warning "<ccomplex> is deprecated in C++17, use <complex> instead"
| ^~~~~~~
libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -DRSBPP_HAS_RSB_H=1 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -c rsbpp_coo.cpp -o rsbpp_coo.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -DRSBPP_HAS_RSB_H=1 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -c rsbpp_csr.cpp -o rsbpp_csr.o >/dev/null 2>&1
g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -DRSBPP_HAS_RSB_H=1 -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -c -o rsbtt.o rsbtt.cpp
In file included from rsbpp.hpp:44,
from rsbtt.cpp:21:
/usr/include/c++/15/ccomplex:51:4: warning: #warning "<ccomplex> is deprecated in C++17, use <complex> instead" [-Wcpp]
51 | # warning "<ccomplex> is deprecated in C++17, use <complex> instead"
| ^~~~~~~
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -DRSBPP_HAS_RSB_H=1 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -c -o rsbct.o rsbct.c
/bin/bash ./libtool --tag=CXX --mode=link g++ -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -Wl,-z,relro -o librsbpp.la rsbpp_coo.lo rsbpp_csr.lo -lpthread -lstdc++fs
libtool: link: ar cr .libs/librsbpp.a .libs/rsbpp_coo.o .libs/rsbpp_csr.o
libtool: link: ranlib .libs/librsbpp.a
libtool: link: ( cd ".libs" && rm -f "librsbpp.la" && ln -s "../librsbpp.la" "librsbpp.la" )
/bin/bash ./libtool --tag=CXX --mode=link g++ -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -Wl,-z,relro -o rsbpp rsbpp.o librsbpp.la -lpthread -lstdc++fs
/bin/bash ./libtool --tag=CXX --mode=link g++ -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -Wl,-z,relro -o rsbtt rsbtt.o librsbpp.la -lpthread -lstdc++fs
libtool: link: g++ -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -Wl,-z -Wl,relro -o rsbtt rsbtt.o ./.libs/librsbpp.a -lpthread -lstdc++fs -fopenmp
libtool: link: g++ -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -Wl,-z -Wl,relro -o rsbpp rsbpp.o ./.libs/librsbpp.a -lpthread -lstdc++fs -fopenmp
/bin/bash ./libtool --tag=CXX --mode=link g++ -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -Wl,-z,relro -o rsbct rsbct.o librsbpp.la -lpthread -lstdc++fs
libtool: link: g++ -fopenmp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DRSBPP_HAS_RSB_H=1 -Wl,-z -Wl,relro -o rsbct rsbct.o ./.libs/librsbpp.a -lpthread -lstdc++fs -fopenmp
gmake all-am
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/librsbpp'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/librsbpp'
gmake[4]: Leaving directory '/<<PKGBUILDDIR>>/librsbpp'
Making all in .
gmake[4]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/librsbpp -I/<<PKGBUILDDIR>>/rsblib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -std=c99 -c -o rsbench-rsbench.o `test -f 'rsbench.c' || echo './'`rsbench.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/librsbpp -I/<<PKGBUILDDIR>>/rsblib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -std=c99 -c -o rsbench-rsb_test_matops.o `test -f 'rsb_test_matops.c' || echo './'`rsb_test_matops.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/librsbpp -I/<<PKGBUILDDIR>>/rsblib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -std=c99 -c -o rsbench-rsb_mkl.o `test -f 'rsb_mkl.c' || echo './'`rsb_mkl.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/librsbpp -I/<<PKGBUILDDIR>>/rsblib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -std=c99 -c -o rsbench-rsb_genmm.o `test -f 'rsb_genmm.c' || echo './'`rsb_genmm.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/librsbpp -I/<<PKGBUILDDIR>>/rsblib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -std=c99 -c -o rsbench-rsb_mmls.o `test -f 'rsb_mmls.c' || echo './'`rsb_mmls.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/librsbpp -I/<<PKGBUILDDIR>>/rsblib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -std=c99 -c -o rsbench-rsb_pr.o `test -f 'rsb_pr.c' || echo './'`rsb_pr.c
rsb_test_matops.c: In function ârsb__main_block_partitioned_spmv_sxsaâ:
rsb_test_matops.c:214:41: warning: â%sâ directive writing up to 2047 bytes into a region of size 1011 [-Wformat-overflow=]
214 | rsb__sprintf(dst,"%s%s_%s_%.0lf_%s%s" "%s%s%s" "%s%s" "%s",pp?pp:"",h,rsb__getenv_nnr("HOSTNAME"),rsb_time(),buf,ap?ap:"",
| ^~ ~~~
In file included from /usr/include/stdio.h:970,
from rsb_common.h:49,
from rsb_test_matops.h:79,
from rsb_test_matops.c:74:
In function âsprintfâ,
inlined from ârsb__impcdstrâ at rsb_test_matops.c:214:2,
inlined from ârsb__main_block_partitioned_spmv_sxsaâ at rsb_test_matops.c:1757:4:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output 19 or more bytes (assuming 2070) into a destination of size 1025
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/librsbpp -I/<<PKGBUILDDIR>>/rsblib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -std=c99 -c -o rsbench-rsb_pcnt.o `test -f 'rsb_pcnt.c' || echo './'`rsb_pcnt.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/librsbpp -I/<<PKGBUILDDIR>>/rsblib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -std=c99 -c -o rsbench-rsb_failure_tests.o `test -f 'rsb_failure_tests.c' || echo './'`rsb_failure_tests.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/librsbpp -I/<<PKGBUILDDIR>>/rsblib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -std=c99 -c -o rsbench-rsb_libspblas_tests.o `test -f 'rsb_libspblas_tests.c' || echo './'`rsb_libspblas_tests.c
rsb_test_matops.c: In function ârsb__main_block_partitioned_spsv_sxsxâ:
rsb_test_matops.c:214:41: warning: â%sâ directive writing up to 2047 bytes into a region of size 1011 [-Wformat-overflow=]
214 | rsb__sprintf(dst,"%s%s_%s_%.0lf_%s%s" "%s%s%s" "%s%s" "%s",pp?pp:"",h,rsb__getenv_nnr("HOSTNAME"),rsb_time(),buf,ap?ap:"",
| ^~ ~~~
In function âsprintfâ,
inlined from ârsb__impcdstrâ at rsb_test_matops.c:214:2,
inlined from ârsb__main_block_partitioned_spsv_sxsxâ at rsb_test_matops.c:6327:4:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output 19 or more bytes (assuming 2070) into a destination of size 1025
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/librsbpp -I/<<PKGBUILDDIR>>/rsblib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fopenmp -c -o rsb_dummy.o rsb_dummy.cpp
In file included from rsb_common.h:59,
from rsb_dummy.cpp:26:
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:459:1: error: template with C linkage
459 | template<typename __T, omp_allocator_handle_t __Handle>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:486:1: error: template with C linkage
486 | template<typename __T, typename __U, omp_allocator_handle_t __Handle>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:494:1: error: template with C linkage
494 | template<typename __T, omp_allocator_handle_t __Handle,
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:503:1: error: template with C linkage
503 | template<typename __T, typename __U, omp_allocator_handle_t __Handle>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:511:1: error: template with C linkage
511 | template<typename __T, omp_allocator_handle_t __Handle,
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:522:1: error: template with C linkage
522 | template<typename __T>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:526:1: error: template with C linkage
526 | template<typename __T>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:530:1: error: template with C linkage
530 | template<typename __T>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:534:1: error: template with C linkage
534 | template<typename __T>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:538:1: error: template with C linkage
538 | template<typename __T>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:542:1: error: template with C linkage
542 | template<typename __T>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:546:1: error: template with C linkage
546 | template<typename __T>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:550:1: error: template with C linkage
550 | template<typename __T>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:554:1: error: template with C linkage
554 | template<typename __T>
| ^~~~~~~~
rsb_common.h:32:1: note: âextern "C"â linkage started here
32 | extern "C" {
| ^~~~~~~~~~
/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" {
| ^~~~~~~~~~
gmake[4]: *** [Makefile:2157: rsb_dummy.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
rsb_test_matops.c: In function ârsb__main_block_partitioned_mat_statsâ:
rsb_test_matops.c:214:41: warning: â%sâ directive writing up to 2047 bytes into a region of size 1011 [-Wformat-overflow=]
214 | rsb__sprintf(dst,"%s%s_%s_%.0lf_%s%s" "%s%s%s" "%s%s" "%s",pp?pp:"",h,rsb__getenv_nnr("HOSTNAME"),rsb_time(),buf,ap?ap:"",
| ^~ ~~~
In function âsprintfâ,
inlined from ârsb__impcdstrâ at rsb_test_matops.c:214:2,
inlined from ârsb__main_block_partitioned_mat_statsâ at rsb_test_matops.c:10768:4:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output 19 or more bytes (assuming 2070) into a destination of size 1025
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
gmake[4]: Leaving directory '/<<PKGBUILDDIR>>'
gmake[3]: *** [Makefile:2252: all-recursive] Error 1
gmake[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:1122: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make[1]: *** [debian/rules:37: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the debian-science-maintainers
mailing list