[bug #49294] [octave forge] (level-set) fails to install in octave 4.2.0rc2
Nicholas Jankowski <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.
Update of bug #49294 (group octave):
Status: Patch Submitted => Need Info
_______________________________________________________
Follow-up Comment #23:
update: level set package level-set-0.3.0.tar.gz fails to install in recent
windows stable build [11.0.93 (hg id: git:a099845450)] with the error messages
below. not sure if it is expected to be installable on windows.
noting that the last package update was in ~2015, John's attached patch has
been there since 2017. is it still valid against the source? otherwise we may
just want to close this. i don't know if there is any way other than last
update date to indicate a package is unmaintained.
octave:26> pkg install level-set-0.3.0.tar.gz
make: Entering directory '/tmp/oct-1zDTT5/level-set/src'
g++ -g -O2 -Wall -Wextra -Weffc++ -pedantic -fPIC -c FastMarching.cpp -o
FastMarching.o
CXXFLAGS="-g -O2 -Wall -Wextra"
C:/Octave/OCTAVE~2/mingw64/bin/mkoctfile-11.0.93.exe -c Utils.cpp -o Utils.o
In file included from
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/mappers.h:35,
from
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/oct-inttypes.h:37,
from
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/idx-vector.h:41,
from
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/Array-base.h:39,
from
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/Array-oct.h:35,
from
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/Array.h:35,
from
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/oct.h:33,
from Utils.hpp:26,
from Utils.cpp:19:
Utils.cpp: In function 'double getZeroFraction(double, double)':
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/lo-ieee.h:142:28:
warning: 'int __lo_ieee_float_i
sinf(float)' is deprecated: [10]: use std::isinf instead
[-Wdeprecated-declarations]
142 | ? __lo_ieee_float_isinf (x) : __lo_ieee_isinf (x))
| ~~~~~~~~~~~~~~~~~~~~~~^~~
Utils.cpp:71:22: note: in expansion of macro 'lo_ieee_isinf'
71 | const bool myInf = lo_ieee_isinf (my);
| ^~~~~~~~~~~~~
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/lo-ieee.h:90:12:
note: declared here
90 | inline int __lo_ieee_float_isinf (float x) { return std::isinf (x); }
| ^~~~~~~~~~~~~~~~~~~~~
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/lo-ieee.h:142:50:
warning: 'int __lo_ieee_isinf(d
ouble)' is deprecated: [10]: use std::isinf instead
[-Wdeprecated-declarations]
142 | ? __lo_ieee_float_isinf (x) : __lo_ieee_isinf (x))
| ~~~~~~~~~~~~~~~~^~~
Utils.cpp:71:22: note: in expansion of macro 'lo_ieee_isinf'
71 | const bool myInf = lo_ieee_isinf (my);
| ^~~~~~~~~~~~~
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/lo-ieee.h:80:12:
note: declared here
80 | inline int __lo_ieee_isinf (double x) { return std::isinf (x); }
| ^~~~~~~~~~~~~~~
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/lo-ieee.h:142:28:
warning: 'int __lo_ieee_float_i
sinf(float)' is deprecated: [10]: use std::isinf instead
[-Wdeprecated-declarations]
142 | ? __lo_ieee_float_isinf (x) : __lo_ieee_isinf (x))
| ~~~~~~~~~~~~~~~~~~~~~~^~~
Utils.cpp:72:25: note: in expansion of macro 'lo_ieee_isinf'
72 | const bool otherInf = lo_ieee_isinf (other);
| ^~~~~~~~~~~~~
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/lo-ieee.h:90:12:
note: declared here
90 | inline int __lo_ieee_float_isinf (float x) { return std::isinf (x); }
| ^~~~~~~~~~~~~~~~~~~~~
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/lo-ieee.h:142:50:
warning: 'int __lo_ieee_isinf(d
ouble)' is deprecated: [10]: use std::isinf instead
[-Wdeprecated-declarations]
142 | ? __lo_ieee_float_isinf (x) : __lo_ieee_isinf (x))
| ~~~~~~~~~~~~~~~~^~~
Utils.cpp:72:25: note: in expansion of macro 'lo_ieee_isinf'
72 | const bool otherInf = lo_ieee_isinf (other);
| ^~~~~~~~~~~~~
C:/Octave/octave-stable/mingw64/include/octave-11.0.93/octave/lo-ieee.h:80:12:
note: declared here
80 | inline int __lo_ieee_isinf (double x) { return std::isinf (x); }
| ^~~~~~~~~~~~~~~
CXXFLAGS="-g -O2 -Wall -Wextra"
C:/Octave/OCTAVE~2/mingw64/bin/mkoctfile-11.0.93.exe
internal_fastmarching.cpp
FastMarching.o Utils.o -o __levelset_internal_fastmarching.oct
In file included from
C:/Octave/octave-stable/mingw64/lib/gcc/x86_64-w64-mingw32/15.2.0/include/c++/cassert:46,
from internal_fastmarching.cpp:29:
internal_fastmarching.cpp: In lambda function:
internal_fastmarching.cpp:77:51: error: 'const class Array<long long int>' has
no member named 'length'
77 | && static_cast<dimensionT> (idx.length ()) == D);
| ^~~~~~
internal_fastmarching.cpp: In lambda function:
internal_fastmarching.cpp:102:51: error: 'const class Array<long long int>'
has no member named 'length'
102 | && static_cast<dimensionT> (idx.length ()) == D);
| ^~~~~~
make: *** [Makefile:60: __levelset_internal_fastmarching.oct] Error 1
make: Leaving directory '/tmp/oct-1zDTT5/level-set/src'
error: pkg: error running 'make' for the level-set package
error: called from
configure_make at line 121 column 9
install at line 202 column 7
pkg at line 692 column 9
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?49294>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaZNx2AAKCRCqLAuaBUf3 TkIKAQDA8GfZbqxWIfEB74D9w+3oguLl4Fnh8TA2+FvE9vWy8QEAy7rQq5GatyxM ckFrajTB4XI+JfgmPeIeSYDW/rjWCQA= =/t83 -----END PGP SIGNATURE-----