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

 
 

bug #54492: [octave forge] (optim) optim 1.5.3 fails to build in Octave 4.2.2

Submitted by:  None
Submitted on:  Sat 11 Aug 2018 02:52:10 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Works For Me Assigned to:  None
Originator Name:  Tom Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  4.2.2
Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 11 Aug 2018 04:06:06 PM UTC, comment #1:

I'm not able to reproduce this on my system, with Octave 4.2.2 and the current optim package release.

This is not the same error as bug #54487.

Mike Miller <mtmiller>
Project Administrator
Sat 11 Aug 2018 02:52:10 PM UTC, original submission:

Hi,

I'm running the below version of Octave under Linux

octave:1> ver
----------------------------------------------------------------------
GNU Octave Version: 4.2.2
GNU Octave License: GNU General Public License
Operating System: Linux 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 08:52:28 UTC 2018 x86_64
----------------------------------------------------------------------
Package Name | Version | Installation directory
----------------+---------+-----------------------
control *| 3.1.0 | /home/Tom/octave/control-3.1.0
financial *| 0.5.1 | /home/Tom/octave/financial-0.5.1
general *| 2.1.0 | /home/Tom/octave/general-2.1.0
generate_html *| 0.3.1 | /home/Tom/octave/generate_html-0.3.1
geometry *| 3.0.0 | /home/Tom/octave/geometry-3.0.0
interval *| 3.2.0 | /home/Tom/octave/interval-3.2.0
io *| 2.4.11 | /home/Tom/octave/io-2.4.11
linear-algebra *| 2.2.2 | /home/Tom/octave/linear-algebra-2.2.2
mechanics *| 1.3.1 | /home/Tom/octave/mechanics-1.3.1
miscellaneous *| 1.2.1 | /home/Tom/octave/miscellaneous-1.2.1
mvpoly *| 0.97.7 | /home/Tom/octave/mvpoly-0.97.7
odepkg *| 0.9.1 | /home/Tom/octave/odepkg-0.9.1
optim *| 1.5.2 | /home/Tom/octave/optim-1.5.2
signal *| 1.4.0 | /home/Tom/octave/signal-1.4.0
statistics *| 1.4.0 | /home/Tom/octave/statistics-1.4.0
struct *| 1.0.15 | /home/Tom/octave/struct-1.0.15
symbolic *| 2.7.0 | /home/Tom/octave/symbolic-2.7.0

When I run pkg update the following error appear

====================================================================
====================================================================
====================================================================
octave:2> pkg update
warning: pkg: package mvpoly not found on forge - skipping update
warning: pkg: package odepkg not found on forge - skipping update
In file included from _disna_optim_.cc:21:0:
_disna_optim_.cc: In function ‘octave_value_list F__disna_optim__(const octave_value_list&, int)’:
error-helpers.h:65:31: error: no matching function for call to ‘verror(octave::execution_exception&, const char [24], const char*)’
verror (e, _VA_ARGS_); \
^
_disna_optim_.cc:74:3: note: in expansion of macro ‘CHECK_ERROR’
CHECK_ERROR (job_str = args(0).string_value (), retval,
^
error-helpers.h:65:31: note: candidates are:
verror (e, _VA_ARGS_); \
^
_disna_optim_.cc:74:3: note: in expansion of macro ‘CHECK_ERROR’
CHECK_ERROR (job_str = args(0).string_value (), retval,
^
In file included from /usr/include/octave-4.2.2/octave/../octave/ov-base.h:40:0,
from /usr/include/octave-4.2.2/octave/../octave/ov.h:57,
from /usr/include/octave-4.2.2/octave/../octave/ovl.h:36,
from /usr/include/octave-4.2.2/octave/../octave/ov-fcn.h:33,
from /usr/include/octave-4.2.2/octave/../octave/ov-builtin.h:30,
from /usr/include/octave-4.2.2/octave/../octave/defun-int.h:30,
from /usr/include/octave-4.2.2/octave/../octave/defun-dld.h:32,
from /usr/include/octave-4.2.2/octave/../octave/oct.h:32,
from _disna_optim_.cc:18:
/usr/include/octave-4.2.2/octave/../octave/error.h:67:6: note: void verror(const char*, __va_list_tag*)
void verror (const char *fmt, va_list args);
^
/usr/include/octave-4.2.2/octave/../octave/error.h:67:6: note: candidate expects 2 arguments, 3 provided
/usr/include/octave-4.2.2/octave/../octave/error.h:73:6: note: void verror(octave::execution_exception&, const char*, __va_list_tag*)
void verror (octave::execution_exception&, const char *fmt, va_list args);
^
/usr/include/octave-4.2.2/octave/../octave/error.h:73:6: note: no known conversion for argument 3 from ‘const char*’ to ‘__va_list_tag*’
In file included from _disna_optim_.cc:21:0:
error-helpers.h:65:31: error: no matching function for call to ‘verror(octave::execution_exception&, const char [21], const char*)’
verror (e, _VA_ARGS_); \
^
_disna_optim_.cc:94:7: note: in expansion of macro ‘CHECK_ERROR’
CHECK_ERROR (d = args(1).float_column_vector_value (), retval,
^
error-helpers.h:65:31: note: candidates are:
verror (e, _VA_ARGS_); \
^
_disna_optim_.cc:94:7: note: in expansion of macro ‘CHECK_ERROR’
CHECK_ERROR (d = args(1).float_column_vector_value (), retval,
^
In file included from /usr/include/octave-4.2.2/octave/../octave/ov-base.h:40:0,
from /usr/include/octave-4.2.2/octave/../octave/ov.h:57,
from /usr/include/octave-4.2.2/octave/../octave/ovl.h:36,
from /usr/include/octave-4.2.2/octave/../octave/ov-fcn.h:33,
from /usr/include/octave-4.2.2/octave/../octave/ov-builtin.h:30,
from /usr/include/octave-4.2.2/octave/../octave/defun-int.h:30,
from /usr/include/octave-4.2.2/octave/../octave/defun-dld.h:32,
from /usr/include/octave-4.2.2/octave/../octave/oct.h:32,
from _disna_optim_.cc:18:
/usr/include/octave-4.2.2/octave/../octave/error.h:67:6: note: void verror(const char*, __va_list_tag*)
void verror (const char *fmt, va_list args);
^
/usr/include/octave-4.2.2/octave/../octave/error.h:67:6: note: candidate expects 2 arguments, 3 provided
/usr/include/octave-4.2.2/octave/../octave/error.h:73:6: note: void verror(octave::execution_exception&, const char*, __va_list_tag*)
void verror (octave::execution_exception&, const char *fmt, va_list args);
^
/usr/include/octave-4.2.2/octave/../octave/error.h:73:6: note: no known conversion for argument 3 from ‘const char*’ to ‘__va_list_tag*’
In file included from _disna_optim_.cc:21:0:
error-helpers.h:65:31: error: no matching function for call to ‘verror(octave::execution_exception&, const char [21], const char*)’
verror (e, _VA_ARGS_); \
^
_disna_optim_.cc:100:7: note: in expansion of macro ‘CHECK_ERROR’
CHECK_ERROR (d = args(1).column_vector_value (), retval,
^
error-helpers.h:65:31: note: candidates are:
verror (e, _VA_ARGS_); \
^
_disna_optim_.cc:100:7: note: in expansion of macro ‘CHECK_ERROR’
CHECK_ERROR (d = args(1).column_vector_value (), retval,
^
In file included from /usr/include/octave-4.2.2/octave/../octave/ov-base.h:40:0,
from /usr/include/octave-4.2.2/octave/../octave/ov.h:57,
from /usr/include/octave-4.2.2/octave/../octave/ovl.h:36,
from /usr/include/octave-4.2.2/octave/../octave/ov-fcn.h:33,
from /usr/include/octave-4.2.2/octave/../octave/ov-builtin.h:30,
from /usr/include/octave-4.2.2/octave/../octave/defun-int.h:30,
from /usr/include/octave-4.2.2/octave/../octave/defun-dld.h:32,
from /usr/include/octave-4.2.2/octave/../octave/oct.h:32,
from _disna_optim_.cc:18:
/usr/include/octave-4.2.2/octave/../octave/error.h:67:6: note: void verror(const char*, __va_list_tag*)
void verror (const char *fmt, va_list args);
^
/usr/include/octave-4.2.2/octave/../octave/error.h:67:6: note: candidate expects 2 arguments, 3 provided
/usr/include/octave-4.2.2/octave/../octave/error.h:73:6: note: void verror(octave::execution_exception&, const char*, __va_list_tag*)
void verror (octave::execution_exception&, const char *fmt, va_list args);
^
/usr/include/octave-4.2.2/octave/../octave/error.h:73:6: note: no known conversion for argument 3 from ‘const char*’ to ‘__va_list_tag*’
In file included from _disna_optim_.cc:21:0:
error-helpers.h:65:31: error: no matching function for call to ‘verror(octave::execution_exception&, const char [43], const char*)’
verror (e, _VA_ARGS_); \
^
_disna_optim_.cc:127:11: note: in expansion of macro ‘CHECK_ERROR’
CHECK_ERROR (m = TO_F77_INT (args(2).idx_type_value ()), retval,
^
error-helpers.h:65:31: note: candidates are:
verror (e, _VA_ARGS_); \
^
_disna_optim_.cc:127:11: note: in expansion of macro ‘CHECK_ERROR’
CHECK_ERROR (m = TO_F77_INT (args(2).idx_type_value ()), retval,
^
In file included from /usr/include/octave-4.2.2/octave/../octave/ov-base.h:40:0,
from /usr/include/octave-4.2.2/octave/../octave/ov.h:57,
from /usr/include/octave-4.2.2/octave/../octave/ovl.h:36,
from /usr/include/octave-4.2.2/octave/../octave/ov-fcn.h:33,
from /usr/include/octave-4.2.2/octave/../octave/ov-builtin.h:30,
from /usr/include/octave-4.2.2/octave/../octave/defun-int.h:30,
from /usr/include/octave-4.2.2/octave/../octave/defun-dld.h:32,
from /usr/include/octave-4.2.2/octave/../octave/oct.h:32,
from _disna_optim_.cc:18:
/usr/include/octave-4.2.2/octave/../octave/error.h:67:6: note: void verror(const char*, __va_list_tag*)
void verror (const char *fmt, va_list args);
^
/usr/include/octave-4.2.2/octave/../octave/error.h:67:6: note: candidate expects 2 arguments, 3 provided
/usr/include/octave-4.2.2/octave/../octave/error.h:73:6: note: void verror(octave::execution_exception&, const char*, __va_list_tag*)
void verror (octave::execution_exception&, const char *fmt, va_list args);
^
/usr/include/octave-4.2.2/octave/../octave/error.h:73:6: note: no known conversion for argument 3 from ‘const char*’ to ‘__va_list_tag*’
In file included from _disna_optim_.cc:21:0:
error-helpers.h:65:31: error: no matching function for call to ‘verror(octave::execution_exception&, const char [43], const char*)’
verror (e, _VA_ARGS_); \
^
_disna_optim_.cc:130:11: note: in expansion of macro ‘CHECK_ERROR’
CHECK_ERROR (n = TO_F77_INT (args(3).idx_type_value ()), retval,
^
error-helpers.h:65:31: note: candidates are:
verror (e, _VA_ARGS_); \
^
_disna_optim_.cc:130:11: note: in expansion of macro ‘CHECK_ERROR’
CHECK_ERROR (n = TO_F77_INT (args(3).idx_type_value ()), retval,
^
In file included from /usr/include/octave-4.2.2/octave/../octave/ov-base.h:40:0,
from /usr/include/octave-4.2.2/octave/../octave/ov.h:57,
from /usr/include/octave-4.2.2/octave/../octave/ovl.h:36,
from /usr/include/octave-4.2.2/octave/../octave/ov-fcn.h:33,
from /usr/include/octave-4.2.2/octave/../octave/ov-builtin.h:30,
from /usr/include/octave-4.2.2/octave/../octave/defun-int.h:30,
from /usr/include/octave-4.2.2/octave/../octave/defun-dld.h:32,
from /usr/include/octave-4.2.2/octave/../octave/oct.h:32,
from _disna_optim_.cc:18:
/usr/include/octave-4.2.2/octave/../octave/error.h:67:6: note: void verror(const char*, __va_list_tag*)
void verror (const char *fmt, va_list args);
^
/usr/include/octave-4.2.2/octave/../octave/error.h:67:6: note: candidate expects 2 arguments, 3 provided
/usr/include/octave-4.2.2/octave/../octave/error.h:73:6: note: void verror(octave::execution_exception&, const char*, __va_list_tag*)
void verror (octave::execution_exception&, const char *fmt, va_list args);
^
/usr/include/octave-4.2.2/octave/../octave/error.h:73:6: note: no known conversion for argument 3 from ‘const char*’ to ‘__va_list_tag*’
make: *** [__disna_optim__.oct] Fehler 1
make: Verzeichnis »/tmp/oct-0V6TUf/optim-1.5.3/src« wird betreten
CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" /usr/bin/mkoctfile -c error-helpers.cc
CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" /usr/bin/mkoctfile __bfgsmin.cc error-helpers.o
CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" /usr/bin/mkoctfile numgradient.cc error-helpers.o
CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" /usr/bin/mkoctfile numhessian.cc error-helpers.o
CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" /usr/bin/mkoctfile samin.cc error-helpers.o
CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" LFLAGS="-L/usr/lib/x86_64-linux-gnu/octave/4.2.2 -L/usr/lib/x86_64-linux-gnu -llapack -lblas" /usr/bin/mkoctfile _disna_optim_.cc error-helpers.o
make: Verzeichnis »/tmp/oct-0V6TUf/optim-1.5.3/src« wird verlassen

pkg: error running `make' for the optim package.
error: called from
configure_make at line 95 column 9
install at line 194 column 7
pkg at line 394 column 9
pkg at line 552 column 11
octave:2>
====================================================================
====================================================================
====================================================================

I uninstall the package optim and try to install it with 'pkg install -forge optim', but it produce the same error like the pkg update command. Could it belong to bug #54487?

Kind regards

Tom

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-11 mtmiller Item GroupNone => Installation Failure
        StatusNone => Works For Me
        SummaryError during pkg update due to updated package, optim 1.5.3 => [octave forge] (optim) optim 1.5.3 fails to build in Octave 4.2.2

    Back to the top


    Powered by Savane 3.3