#1133588 octave-parallel: ftbfs with GCC-16

#1133588#5
Date:
2026-04-13 13:08:54 UTC
From:
To:
Hi,

octave-parallel 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/octave-parallel_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.

[...]


custom.h:11:10: fatal error: octave/toplev.h: No such file or directory
   11 | #include <octave/toplev.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
In file included from config.h:1340,
                 from select.cc:18:
custom.h:11:10: fatal error: octave/toplev.h: No such file or directory
   11 | #include <octave/toplev.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
In file included from config.h:1340,
                 from parallel-gnutls.h:27,
                 from <stdin>:24:
custom.h:11:10: fatal error: octave/toplev.h: No such file or directory
   11 | #include <octave/toplev.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:202: select.o] Error 1
make[1]: *** [Makefile:199: select_sockets.o] Error 1
In file included from config.h:1340,
                 from parallel-gnutls.h:27,
                 from make-cmd-string.cc:26:
custom.h:11:10: fatal error: octave/toplev.h: No such file or directory
   11 | #include <octave/toplev.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:205: make-cmd-string.o] Error 1
In file included from config.h:1340,
                 from parallel-gnutls.h:27,
                 from parcellfun_set_nproc.cc:24:
custom.h:11:10: fatal error: octave/toplev.h: No such file or directory
   11 | #include <octave/toplev.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:205: parcellfun_set_nproc.o] Error 1
In file included from config.h:1340,
                 from parallel-gnutls.h:27,
                 from gnutls-callbacks.cc:20:
custom.h:11:10: fatal error: octave/toplev.h: No such file or directory
   11 | #include <octave/toplev.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:199: gnutls-callbacks.o] Error 1
rm -f libgnu.a
ar cr libgnu.a c-ctype.o cloexec.o dirname-lgpl.o basename-lgpl.o stripslash.o fd-hook.o glthread/lock.o malloca.o nproc.o sig-handler.o sockets.o stat-time.o sys_socket.o glthread/threadlib.o unistd.o xsize.o asnprintf.o fcntl.o printf-args.o printf-parse.o strerror_r.o vasnprintf.o
ranlib libgnu.a
make[4]: Leaving directory '/tmp/oct-GUHvFv/octave-parallel-4.0.2/src/gl'
make[3]: Leaving directory '/tmp/oct-GUHvFv/octave-parallel-4.0.2/src/gl'
make[2]: Leaving directory '/tmp/oct-GUHvFv/octave-parallel-4.0.2/src/gl'
octave-pserver.cc: In function ‘int main(int, char**)’:
octave-pserver.cc:385:10: warning: ‘void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int)’ writing 7 bytes into a region of size 6 [-Wstringop-overflow=]
  385 |   strcpy (ret, str);
      |          ^
In function ‘char* copy_to_non_const(const char*)’,
    inlined from ‘int main(int, char**)’ at octave-pserver.cc:640:39:
octave-pserver.cc:383:37: note: destination object of size 6 allocated by ‘operator new []’
  383 |   char *ret = new char [strlen (str)];
      |                                     ^
install -D octave-pserver ../bin/octave-pserver
rm network_set.bin MFDOCSTRINGS pconnect.bin __rfeval_slave__.bin reval.bin parcellfun_set_nproc.bin sclose.bin __parcellfun_get_next_result__.bin select_sockets.bin fsave.bin psend.bin parallel_generate_srp_data.bin precv.bin __exit__.bin __parcellfun_set_nproc_used__.bin select.bin __exit__.o fload.bin __parcellfun_initialize_job__.bin network_get_info.bin __parcellfun_send_next_args__.bin
make[1]: Leaving directory '/tmp/oct-GUHvFv/octave-parallel-4.0.2/src'

error: pkg: error running 'make' for the parallel package
error: called from
    configure_make at line 121 column 9
    install at line 202 column 7
    pkg at line 692 column 9
    /usr/share/dh-octave/install-pkg.m at line 45 column 1
dh_auto_install: error: octave --no-gui --no-history --silent --no-init-file --no-window-system /usr/share/dh-octave/install-pkg.m /build/reproducible-path/octave-parallel-4.0.2/debian/octave-parallel/usr/share/octave/packages /build/reproducible-path/octave-parallel-4.0.2/debian/octave-parallel/usr/lib/aarch64-linux-gnu/octave/packages returned exit code 1
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2

#1133588#10
Date:
2026-08-08 15:02:54 UTC
From:
To:
Hello,

Bug #1133588 in octave-parallel reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/octave-team/octave-parallel/-/commit/f04ae0d93d5a3375ae7d71f728f28c80af6b427f
------------------------------------------------------------------------
gcc-16.patch: new patch, fixes FTBFS against GCC 16

Closes: #1133588
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1133588

#1133588#17
Date:
2026-08-08 15:19:05 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
octave-parallel, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1133588@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Villemot <sebastien@debian.org> (supplier of updated octave-parallel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 08 Aug 2026 16:58:58 +0200
Source: octave-parallel
Architecture: source
Version: 4.0.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Octave Group <team+octave-team@tracker.debian.org>
Changed-By: Sébastien Villemot <sebastien@debian.org>
Closes: 1133588
Changes:
 octave-parallel (4.0.2-4) unstable; urgency=medium
 .
   * Team upload
 .
   [ Rafael Laboissière ]
   * d/control: Bump Standards-Version to 4.7.4 (no changes needed)
   * Change Maintainer and Vcs-* paths to octave-team
   * d/control: Remove reference to Octave-Forge, which no longer exists
   * d/control: Bump debhelper compatibility level to 14
   * d/control: Drop useless substitution variables
 .
   [ Sébastien Villemot ]
   * Remove myself from Uploaders
   * Honour DEB_BUILD_OPTIONS=nodoc
   * gcc-16.patch: new patch, fixes FTBFS against GCC 16 (Closes: #1133588)
Checksums-Sha1:
 c9c58187e329883a3be6333d56858c53299b2fcf 2139 octave-parallel_4.0.2-4.dsc
 1f4e6e749009fba0829e0217dbadf968cf2cb2be 16928 octave-parallel_4.0.2-4.debian.tar.xz
 0f9f37f0cd18cf4be4a67a969bae32beb2816668 24620 octave-parallel_4.0.2-4_amd64.buildinfo
Checksums-Sha256:
 6c070d555caa53bdd6d69b19bb67dff6cdeb9a221b2edb254f32911342849abf 2139 octave-parallel_4.0.2-4.dsc
 79fe84ea10a2d120166dd18805c2efe6281963b9022b25d8b746bc913efe561c 16928 octave-parallel_4.0.2-4.debian.tar.xz
 1410f8b21fd3d5303309df58c4343ee973fc6e677821da5b28a77f1e6e5dc137 24620 octave-parallel_4.0.2-4_amd64.buildinfo
Files:
 df3fbeb99eee8200fddac58382c88d22 2139 math optional octave-parallel_4.0.2-4.dsc
 b950acf4053f8217a163cff880d8d0e5 16928 math optional octave-parallel_4.0.2-4.debian.tar.xz
 40e5dd747c30aea09894cce6e92a0b84 24620 math optional octave-parallel_4.0.2-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAmp3RRcACgkQLOzpNQ7O
vkqlbg/+LDc6+Sw2mkcAvo2VYCoV9l0rTY/PsqZUT7jadKGRCTQTUtPw4SKJdncu
Z8YJMGH6DT7w1BfBWoy5iwxTVLV43icRE7qhZwyqJebaDYE6PncymH42+1/rZrb6
c+V/esR94Sb3D0U8vpK03URNaC6toKMyaSrJco4i2GeNplrasPuLRDIbVz1pBRu8
WdcRvN/w6H5GqWJrjixXF3dCRLOVG78ZfBQ2Jy6nhahqqRMon2EFXhOmfXN6MgoS
epNmBaX16KQc2+tYMbaEtqRhCxbBtWHmrD1VS8AgLUTYd+HtO4YION0f02oeAg53
+XuMv7CIGvLOhzdkyd51p2guZoLkONawpzIOOwgmeAgi87EG+sgtvQ1xXHb33BPJ
a5H20MkX4EAzrQxkzVTqFZBQPgUHRkTX90XMMOGA5f94vfWfSxXBWp14tyIgmJou
De/UX5JXoEPGJ2No0lEhCvAP5APV5LUgaV/mGzsKtGEzuTSk7lH1ANC605eKC9ZP
nQM72xCuPiQf1IZ0dVvc8BTHezH35690CHERY7guTUdqtxpz8Pm5t2cXW8kkHKTh
TqqzkADRqnxdywLOONZB04kZs5EKQ0OjVEY6ouwEKJ+02Nt8TPsCGnSg0v+ZVchh
LdjT5Rn+DDpp6GsDO5VCWrXOAGRAgwq7D7NbDgJ5+hhCfSE74pw=
=wm4z
-----END PGP SIGNATURE-----