Bug#1133536: librsb: ftbfs with GCC-16
Michele Martone
michelemartone at users.sourceforge.net
Mon Apr 13 20:47:09 BST 2026
Hi Emanuele,
Thanks for the notification.
Right now I can't do experiments.
If you could send me the config.log that may help.
Can you please try patching with CXXFLAGS=-std=c++14 (or c++17) ?
ciao,
Michele
On 20260413 at 15:06, Emanuele Rocca wrote:
> Package: src:librsb
> Version: 1.3.0.2+dfsg-8
> Severity: important
> Tags: sid forky ftbfs
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-16
>
> Hi,
>
> librsb fails to build in a test rebuild on at least amd64 and arm64 with
> gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
> report will be raised before the forky release.
>
> The full build log can be found at:
> https://people.debian.org/~ema/gcc-16-rebuilds/output-1/librsb_arm64.build.xz
>
> The last lines of the build log are at the end of this report.
>
> To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
> or install the gcc, g++, gfortran, ... packages from experimental.
>
> apt-get -t=experimental install g++
>
> Common build failures include unused (but set) variables, array subscripts
> partly outside array bounds, and new/dropped symbols in Debian symbols files.
> For other C/C++ related build failures see the porting guide at
> http://gcc.gnu.org/gcc-16/porting_to.html
>
> Please only close this issue after double-checking that the package can be
> built correctly with GCC 16.
>
> Please do not reassign this bug to another package. If a fix in another package
> is required, then file a bug for the other package (or clone), and mark this
> bug as blocked by the bug in the other package.
>
> [...]
>
>
> #define HAVE_RINDEX 1
> #define HAVE_STRRCHR 1
> #define HAVE_OMP_H 1
> #define HAVE_GETOPT_H 1
> #define HAVE_MALLOC_H 1
> #define HAVE_MEMORY_H 1
> #define HAVE_PTHREAD_H 1
> #define HAVE_SYS_UTSNAME_H 1
> #define HAVE_SYS_RESOURCE_H 1
> #define HAVE_SYS_TIME_H 1
> #define HAVE_COMPLEX_H 1
> #define HAVE_ASSERT_H 1
> #define HAVE_SYS_MMAN_H 1
> #define HAVE_STDINT_H 1
> #define HAVE_UNISTD_H 1
> #define HAVE_STDIO_H 1
> #define HAVE_STDARG_H 1
> #define HAVE_TIME_H 1
> #define HAVE_REGEX_H 1
> #define HAVE_STRING_H 1
> #define HAVE_STRINGS_H 1
> #define HAVE_CTYPE_H 1
> #define HAVE_DIRENT_H 1
> #define HAVE_SYS_TYPES_H 1
> #define HAVE_EXECINFO_H 1
> #define HAVE_MATH_H 1
> #define HAVE_HWLOC_H 1
> #define RSB_WANT_XDR_SUPPORT 0
> #define RSB_WANT_DMALLOC 0
> #define RSB_WANT_OMPIO_SUPPORT 0
> #define RSB_USE_LIBRSBPP 1
> #define HAVE_ZLIB_H 1
> #define RSB_WANT_ZLIB_SUPPORT 1
> #define HAVE_GZFREAD 1
> #define HAVE_LIMITS_H 1
> #define HAVE_SIGNAL_H 1
> #define RSB_WANT_VERBOSE_MESSAGES 0
> #define RSB_WANT_KERNELS_DEBUG 0
> #define RSB_SORT_IN_PLACE 0
> #define RSB_BLOCK_SMALL_INDICES 1
> #define RSB_WANT_SPARSE_BLAS_LEVEL_1 1
> #define restrict __restrict__
> #define RSB_WANT_ACTION_SIGNAL 1
> #define RSB_WITH_SPARSE_BLAS_INTERFACE 1
> #define RSB_WITH_LIKWID 0
> #define RSB_WITH_HWLOC 1
> #define RSB_DISABLE_ALLOCATOR_WRAPPER 1
> #define RSB_WANT_ALLOCATOR_LIMITS 0
> #define RSB_WANT_DOUBLE_ALIGNED 1
> #define RSB_WANT_RSB_NUM_THREADS 1
> #define RSB_WANT_MKL 0
> #define RSB_WANT_ARMPL 0
> #define RSB_WANT_OMP_RECURSIVE_KERNELS 1
> #define RSB_INT_ERR_VERBOSITY 0
> #define RSB_OUT_ERR_VERBOSITY 0
> #define RSB_WANT_IO_LEVEL 7
> #define RSB_USER_SET_MEM_HIERARCHY_INFO "L2:4/64/512K,L1:8/64/24K"
> #define RSB_DETECTED_MEM_HIERARCHY_INFO "L2:8/64/1024K,L1:4/64/64K"
> #define RSB_CONST_MAX_SUPPORTED_THREADS 128
> #define CFLAGS "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/librsb-1.3.0.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -std=c99"
> #define CXXFLAGS "-g -O2 -ffile-prefix-map=/build/reproducible-path/librsb-1.3.0.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fopenmp"
> #define CC "gcc"
> #define RSB_OBSOLETE_QUARANTINE 0
> #define RSB_USE_GETRUSAGE 1
>
> configure: exit 1
> dh_auto_configure: error: ./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --with-memhinfo=L2:4/64/512K,L1:8/64/24K --with-hwloc --enable-matrix-types=blas --with-zlib=-lz --enable-doc-build --enable-fortran-module-install --enable-extra-patches --enable-pkg-config-install --disable-extra-patches --prefix=/usr returned exit code 1
> make[1]: *** [debian/rules:19: override_dh_auto_configure] Error 25
> make[1]: Leaving directory '/build/reproducible-path/librsb-1.3.0.2+dfsg'
> make: *** [debian/rules:16: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260413/5dc37b08/attachment-0001.sig>
More information about the debian-science-maintainers
mailing list