Package: octave-optim
Version: 1.6.2-3
Severity: normal
Tags: patch ftbfs

octave-optim fails to build against octave 10:

  g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-I/usr/include/octave-10.1.0/octave/.. -I/usr/include/octave-10.1.0/octave  
-pthread -fopenmp -g -O2 
-ffile-prefix-map=/home/sebastien/debian/bookworm-dynare/octave-optim-1.6.2=. 
-fstack-protector-strong -Wformat -Werror=format-security    
__max_nargin_optim__.cc -o /tmp/oct-N7YBp6.o
  __max_nargin_optim__.cc: In function ‘octave_value_list 
F__max_nargin_optim__(const octave_value_list&, int)’:
  __max_nargin_optim__.cc:77:55: error: ‘class octave::tree_parameter_list’ has 
no member named ‘length’
     77 |       (fcn.user_function_value ()->parameter_list ()->length ());
        |                                                       ^~~~~~
  make[1]: *** [Makefile:78: __max_nargin_optim__.oct] Error 1


A patch seems available at:
https://hg.octave.org/mxe-octave/file/tip/src/of-optim-2-list.patch

--
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  https://www.debian.org

Reply via email to