bugGNU Octave - Bugs: bug #67189, [octave forge] (optim)...

 
 

bug #67189: [octave forge] (optim) octave::tree_parameter_list’ has no member named ‘length’

Submitter:  Richard <crobar>
Submitted:  Tue 03 Jun 2025 10:44:49 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Duplicate Assigned to:  None
Originator Name:  Richard Crozier Open/Closed:  * Closed
Release:  * 10.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sun 02 Nov 2025 06:07:56 PM UTC, comment #4: 

Encountered too when compiling for octave 10.2.0.

Anonymous
Wed 04 Jun 2025 07:03:47 AM UTC, comment #3: 

Closing as duplicate of bug #65526.

Markus Mützel <mmuetzel>
Group administrator
Tue 03 Jun 2025 11:53:19 PM UTC, comment #2: 
Dmitri A. Sergatskov <dasergatskov>
Tue 03 Jun 2025 10:50:01 PM UTC, comment #1: 

Sorry, inevitably noticed right after posting that this is a duplicate of #65526 where there's also a patch

Richard <crobar>
Tue 03 Jun 2025 10:44:49 PM UTC, original submission:  

I build octave from the hg tag release-10-1-0

Then I tried to install the optim package from sourceforge, but it fails with the following error:


octave:8> pkg install -forge optim
__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: *** [Makefile:78: __max_nargin_optim__.oct] Error 1
make: *** Waiting for unfinished jobs....
make: Entering directory '/tmp/oct-pj3ENV/optim-1.6.2/src'
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-10.1.0 -c error-helpers.cc
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-10.1.0 __bfgsmin.cc error-helpers.o
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-10.1.0 numgradient.cc error-helpers.o
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-10.1.0 numhessian.cc error-helpers.o
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-10.1.0 \
             -lopenblas \
            __disna_optim__.cc error-helpers.o
CXXFLAGS="-g -O2 -Wall -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-10.1.0 __max_nargin_optim__.cc error-helpers.o
make: Leaving directory '/tmp/oct-pj3ENV/optim-1.6.2/src'

error: pkg: error running 'make' for the optim package
error: called from
    configure_make at line 117 column 9
    install at line 202 column 7
    pkg at line 619 column 9


Richard <crobar>

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

Digest:
   bug dependencies.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by crobar (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-06-04 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #65526

    Back to the top

    Powered by Savane 3.16-598c.
    Corresponding source code