Opened 5 months ago

Last modified 5 months ago

#70169 assigned defect

octave-tisean fails to build: error: 'set_warning_state' was not declared in this scope; did you mean 'octave::set_warning_state'?

Reported by: barracuda156 Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: octave-tisean

Description

/usr/bin/arch -arch ppc /opt/local/bin/mkoctfile-9.1.0 --verbose -pipe -Os -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc __lyap_spec__.cc routines_c/TISEAN_rand.o routines_c/check_alloc.o routines_c/eigen.o routines_c/exclude_interval.o routines_c/find_multi_neighbors.o routines_c/find_neighbors.o routines_c/invert_matrix.o routines_c/make_box.o routines_c/make_multi_box.o routines_c/rescale_data.o routines_c/solvele.o routines_c/variance.o -o __lyap_spec__.oct
/opt/local/bin/g++-mp-13 -c -I/opt/local/include  -I/opt/local/include/octave-9.1.0/octave/.. -I/opt/local/include/octave-9.1.0/octave -I/opt/local/include  -pthread -pipe -Os -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc  -pipe -Os -std=c++11 -arch ppc   -D_GLIBCXX_USE_CXX11_ABI=0 __lyap_spec__.cc -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_octave_octave-tisean/octave-tisean/work/.tmp/oct-719I6y.o
__lyap_spec__.cc: In function 'octave_value_list F__lyap_spec__(const octave_value_list&, int)':
__lyap_spec__.cc:416:7: error: 'set_warning_state' was not declared in this scope; did you mean 'octave::set_warning_state'?
  416 |       set_warning_state ("Octave:nearly-singular-matrix","error");
      |       ^~~~~~~~~~~~~~~~~
      |       octave::set_warning_state
In file included from /opt/local/include/octave-9.1.0/octave/../octave/oct.h:36,
                 from __lyap_spec__.cc:30:
/opt/local/include/octave-9.1.0/octave/../octave/error.h:545:1: note: 'octave::set_warning_state' declared here
  545 | set_warning_state (const octave_value_list& args);
      | ^~~~~~~~~~~~~~~~~
make: *** [__lyap_spec__.oct] Error 1

pkg: error running 'make' for the tisean package
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_octave_octave-tisean/octave-tisean/work/tisean" && /usr/bin/arch -arch $OCTAVE_ARCH /opt/local/bin/octave-cli -q -f -H --eval 'try; pkg build -verbose -nodeps /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_octave_octave-tisean/octave-tisean/work/tmp-build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_octave_octave-tisean/octave-tisean/work/tisean-0.2.3.tar.gz; catch; disp(lasterror.message); exit(1); end_try_catch;' 
Exit code: 1
Error: Failed to configure octave-tisean: configure failure: command execution failed

Attachments (1)

main.log (706.1 KB) - added by barracuda156 5 months ago.

Download all attachments as: .zip

Change History (2)

Changed 5 months ago by barracuda156

Attachment: main.log added

comment:1 Changed 5 months ago by Schamschula (Marius Schamschula)

Note: See TracTickets for help on using tickets.