Updating Octave-Forge packages

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Updating Octave-Forge packages

Rik-4
All,

It's not quite the time--Octave 5.0 is still in flux as the last bugs are
being squashed--but it looks like there is going to be some work necessary
to upgrade Octave-Forge packages.

I just tried

pkg install -forge struct

and got

In file included from error-helpers.cc:22:0:
error-helpers.h:31:22: error: ‘octave_execution_exception’ does not name a
type; did you mean ‘make_execution_exception’?
 void c_verror (const octave_execution_exception&, const char *, ...);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
                      make_execution_exception
error-helpers.cc:36:17: error: ‘octave_execution_exception’ does not name a
type; did you mean ‘make_execution_exception’?
 c_verror (const octave_execution_exception&, const char *fmt, ...)
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
                 make_execution_exception
error-helpers.cc: In function ‘void _p_error(const char*, ...)’:
error-helpers.cc:60:8: error: ‘cerr’ is not a member of ‘std’
   std::cerr << msg;
        ^~~~
error-helpers.cc:60:8: note: suggested alternative: ‘errc’
   std::cerr << msg;
        ^~~~
        errc
make: *** [error-helpers.o] Error 1
make: Entering directory '/tmp/oct-s8eetI/struct-1.0.15/src'
CXXFLAGS="-O2 -pipe -Wno-deprecated-declarations"
/home/rik/local/bin/mkoctfile-5.0.1 -c error-helpers.cc
Makefile:40: recipe for target 'error-helpers.o' failed
make: Leaving directory '/tmp/oct-s8eetI/struct-1.0.15/src'

*Sigh*

--Rik
Reply | Threaded
Open this post in threaded view
|

Re: needs new release of the struct package

Carnë Draug
On Mon, 31 Dec 2018 at 17:13, Rik <[hidden email]> wrote:

>
> All,
>
> It's not quite the time--Octave 5.0 is still in flux as the last bugs are
> being squashed--but it looks like there is going to be some work necessary
> to upgrade Octave-Forge packages.
>
> I just tried
>
> pkg install -forge struct
>
> and got
> [...]

I went to take a look at this and found that those issues have already
been fixed:

http://hg.code.sf.net/p/octave/struct/rev/d5c3cdc052b6
http://hg.code.sf.net/p/octave/struct/rev/320e8484cd10

The package just needs a new release.