Hi,
octave-miscellaneous 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-miscellaneous_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.
[...]
checking is_cell or iscell... is_cell
checking is_numeric_type or isnumeric... is_numeric_type
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make[1]: Entering directory '/tmp/oct-qjUyT7/octave-miscellaneous-1.3.2/src'
/usr/bin/mkoctfile --verbose cell2cell.cc
/usr/bin/mkoctfile --verbose partint.cc
/usr/bin/mkoctfile --verbose sample.cc
/usr/bin/mkoctfile --verbose text_waitbar.cc
g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-11.1.0/octave/.. -I/usr/include/octave-11.1.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard cell2cell.cc -o /tmp/oct-Y3XEKD.o
g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-11.1.0/octave/.. -I/usr/include/octave-11.1.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard partint.cc -o /tmp/oct-a3ECcU.o
g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-11.1.0/octave/.. -I/usr/include/octave-11.1.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard sample.cc -o /tmp/oct-oMVl0e.o
g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-11.1.0/octave/.. -I/usr/include/octave-11.1.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard text_waitbar.cc -o /tmp/oct-pPwIHV.o
Extracting tests from cell2cell.cc ...
Extracting tests from partint.cc ...
Extracting tests from sample.cc ...
Generating ../inst/private/get_exeext.m
In file included from partint.cc:19:
partint.cc: In function ‘octave_value_list Fpartcnt(const octave_value_list&, int)’:
./config.h:40:22: error: ‘const class octave_value’ has no member named ‘is_numeric_type’; did you mean ‘is_matrix_type’?
40 | #define OV_ISNUMERIC is_numeric_type
| ^~~~~~~~~~~~~~~
partint.cc:83:20: note: in expansion of macro ‘OV_ISNUMERIC’
83 | if ( ! args(0).OV_ISNUMERIC()) {
| ^~~~~~~~~~~~
partint.cc: In function ‘octave_value_list Fpartint(const octave_value_list&, int)’:
./config.h:40:22: error: ‘const class octave_value’ has no member named ‘is_numeric_type’; did you mean ‘is_matrix_type’?
40 | #define OV_ISNUMERIC is_numeric_type
| ^~~~~~~~~~~~~~~
partint.cc:189:19: note: in expansion of macro ‘OV_ISNUMERIC’
189 | ! args(0).OV_ISNUMERIC()
| ^~~~~~~~~~~~
In file included from sample.cc:19:
sample.cc: In function ‘octave_value_list Fsample(const octave_value_list&, int)’:
./config.h:34:30: error: ‘oct_randu’ was not declared in this scope
34 | #define OCTAVE__RAND_UNIFORM oct_randu
| ^~~~~~~~~
sample.cc:128:32: note: in expansion of macro ‘OCTAVE__RAND_UNIFORM’
128 | S.insert(floor(OCTAVE__RAND_UNIFORM()*n)); // use Octave's uniform RNG
| ^~~~~~~~~~~~~~~~~~~~
In file included from cell2cell.cc:17:
cell2cell.cc: In function ‘octave_value_list Fcell2cell(const octave_value_list&, int)’:
./config.h:37:19: error: ‘const class octave_value’ has no member named ‘is_cell’; did you mean ‘iscell’?
37 | #define OV_ISCELL is_cell
| ^~~~~~~
cell2cell.cc:34:16: note: in expansion of macro ‘OV_ISCELL’
34 | if (!args(0).OV_ISCELL())
| ^~~~~~~~~
./config.h:40:22: error: ‘const class octave_value’ has no member named ‘is_numeric_type’; did you mean ‘is_matrix_type’?
40 | #define OV_ISNUMERIC is_numeric_type
| ^~~~~~~~~~~~~~~
cell2cell.cc:39:16: note: in expansion of macro ‘OV_ISNUMERIC’
39 | if (!args(1).OV_ISNUMERIC())
| ^~~~~~~~~~~~
make[1]: *** [Makefile:16: partint.oct] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:16: cell2cell.oct] Error 1
make[1]: *** [Makefile:16: sample.oct] Error 1
g++ -I/usr/include/octave-11.1.0/octave/.. -I/usr/include/octave-11.1.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -o text_waitbar.oct /tmp/oct-pPwIHV.o -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro
make[1]: Leaving directory '/tmp/oct-qjUyT7/octave-miscellaneous-1.3.2/src'
error: pkg: error running 'make' for the miscellaneous 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-miscellaneous-1.3.2/debian/octave-miscellaneous/usr/share/octave/packages /build/reproducible-path/octave-miscellaneous-1.3.2/debian/octave-miscellaneous/usr/lib/aarch64-linux-gnu/octave/packages returned exit code 1
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2