bugGNU Octave - Bugs: bug #57337, [octave forge] (communications) MS...

 
 

bug #57337: [octave forge] (communications) MS Windows installation from 2015 release fails

Submitter:  None
Submitted:  Sun 01 Dec 2019 11:01:28 PM UTC
   
 
Category:  Octave Package Severity:  2 - Minor
Priority:  3 - Low Item Group:  Installation Failure
Status:  Fixed Assigned to:  None
Originator Name:  Allan Wright Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 5.1.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 03 Dec 2019 04:20:33 AM UTC, comment #6: 

Thanks for the confirmation.  Closing report as fixed.

Kai Torben Ohlhus <siko1056>
Group Member
Mon 02 Dec 2019 06:01:57 PM UTC, comment #5: 

Yes, I thought of that myself, and reinstalling Octave fixed the problem. Thanks for your help

Allan <allanwright>
Mon 02 Dec 2019 01:26:58 PM UTC, comment #4: 

The bundled package might be broken after you tried to build it yourself. Try to re-install Octave (and don't build the package again).

Markus Mützel <mmuetzel>
Group administrator
Mon 02 Dec 2019 11:28:48 AM UTC, comment #3: 

There are several bug reports on here about the communication package - the main one I think is https://savannah.gnu.org/bugs/?46521

The package needs major patching in order to compile, which isnt straight forward for most users.

If the package comes up with pkg list, then you do not need to run pkg rebuild, nor attempt to reinstall it.

Just remember to run pkg load communications (assuming it is installed) before using it.


John Donoghue <lostbard>
Group Member
Mon 02 Dec 2019 05:50:45 AM UTC, comment #2: 

Thanks for looking into this. When I do

>>pkg list


the communications package is listed. When I do

>>pkg rebuild
>>pkg list


it is no longer listed. Now when I do

>>pkg install -forge communications


I get the long list of errors that I posted, ending with

pkg: error running `make' for the communications package.
error: called from
    configure_make at line 99 column 9
    install at line 184 column 7
    pkg at line 441 column 9

Then if I do

>>pkg load communications


I get an error saying that it is not installed.


Allan <allanwright>
Mon 02 Dec 2019 03:17:13 AM UTC, comment #1: 

Is there any reason you are trying to install the package, when it should already have been installed as part of the installer/tarball ?


If using the installer, running:

pkg list

should list a number of preinstalled packages.

If using the tarball, doing

pkg rebuild

and then

pkg list

should show a bunch of preinstalled packages.

John Donoghue <lostbard>
Group Member
Sun 01 Dec 2019 11:01:28 PM UTC, original submission:  


Just installed Octave 5.1.0 on Windows 10. Tried "pkg install -forge communications" and got:

gfweight.cc: In function 'octave_value_list F__gfweight__(const octave_value_list&, int)':
gfweight.cc:71:28: warning: 'void flush_octave_stdout()' is deprecated: [4.4]: use 'octave::flush_stdout'
instead [-Wdeprecated-declarations]
flush_octave_stdout ();
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:37:0,
from gfweight.cc:21:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\pager.h:326:1: note: declared here
flush_octave_stdout (void)
^~~~~~~~~~~~~~~~~~~
cyclgen.cc: In function 'Array filter_gf2(const Array&, const Array&, const Array&, const
int&)':
cyclgen.cc:32:25: warning: 'octave_idx_type Array::length() const [with T = int; octave_idx_type = long lon
g int]' is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
int x_len = x.length ();
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array-util.h:28:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MSparse.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MatrixType.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\mx-base.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Matrix.h:31,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:30,
from cyclgen.cc:23:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array.h:357:19: note: declared here
octave_idx_type length (void) const { return numel (); }
^~~~~~
cyclpoly.cc: In function 'Array filter_gf2(const Array&, const Array&, const Array&, const
int&)':
cyclpoly.cc:41:25: warning: 'octave_idx_type Array::length() const [with T = int; octave_idx_type = long lo
ng int]' is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
int x_len = x.length ();
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array-util.h:28:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MSparse.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MatrixType.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\mx-base.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Matrix.h:31,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:30,
from cyclpoly.cc:24:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array.h:357:19: note: declared here
octave_idx_type length (void) const { return numel (); }
^~~~~~
cyclpoly.cc: In function 'octave_value_list Fcyclpoly(const octave_value_list&, int)':
cyclpoly.cc:220:55: warning: 'octave_idx_type Array::length() const [with T = double; octave_idx_type = lon
g long int]' is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
cyclic_polys.resize (cyclic_polys.length ()+1);
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array-util.h:28:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MSparse.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MatrixType.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\mx-base.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Matrix.h:31,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:30,
from cyclpoly.cc:24:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array.h:357:19: note: declared here
octave_idx_type length (void) const { return numel (); }
^~~~~~
cyclpoly.cc:221:47: warning: 'octave_idx_type Array::length() const [with T = double; octave_idx_type = lon
g long int]' is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
cyclic_polys(cyclic_polys.length ()-1) = (double)i;
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array-util.h:28:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MSparse.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MatrixType.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\mx-base.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Matrix.h:31,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:30,
from cyclpoly.cc:24:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array.h:357:19: note: declared here
octave_idx_type length (void) const { return numel (); }
^~~~~~
cyclpoly.cc:236:61: warning: 'octave_idx_type Array::length() const [with T = double; octave_idx_type = lon
g long int]' is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
cyclic_polys.resize (cyclic_polys.length ()+1);
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array-util.h:28:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MSparse.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MatrixType.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\mx-base.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Matrix.h:31,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:30,
from cyclpoly.cc:24:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array.h:357:19: note: declared here
octave_idx_type length (void) const { return numel (); }
^~~~~~
cyclpoly.cc:237:53: warning: 'octave_idx_type Array::length() const [with T = double; octave_idx_type = lon
g long int]' is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
cyclic_polys(cyclic_polys.length ()-1) = (double)i;
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array-util.h:28:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MSparse.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MatrixType.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\mx-base.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Matrix.h:31,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:30,
from cyclpoly.cc:24:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array.h:357:19: note: declared here
octave_idx_type length (void) const { return numel (); }
^~~~~~
cyclpoly.cc:247:28: warning: 'octave_idx_type Array::length() const [with T = double; octave_idx_type = lon
g long int]' is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
if (cyclic_polys.length () == 0)
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array-util.h:28:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MSparse.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MatrixType.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\mx-base.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Matrix.h:31,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:30,
from cyclpoly.cc:24:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array.h:357:19: note: declared here
octave_idx_type length (void) const { return numel (); }
^~~~~~
cyclpoly.cc:257:46: warning: 'octave_idx_type Array::length() const [with T = double; octave_idx_type = lon
g long int]' is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
Matrix polys (cyclic_polys.length (), m+1, 0);
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array-util.h:28:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MSparse.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MatrixType.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\mx-base.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Matrix.h:31,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:30,
from cyclpoly.cc:24:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array.h:357:19: note: declared here
octave_idx_type length (void) const { return numel (); }
^~~~~~
cyclpoly.cc:258:53: warning: 'octave_idx_type Array::length() const [with T = double; octave_idx_type = lon
g long int]' is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
for (int i = 0 ; i < cyclic_polys.length (); i++)
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array-util.h:28:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MSparse.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\MatrixType.h:29,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\mx-base.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Matrix.h:31,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:30,
from cyclpoly.cc:24:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\Array.h:357:19: note: declared here
octave_idx_type length (void) const { return numel (); }
^~~~~~
genqamdemod.cc: In function 'octave_value_list Fgenqamdemod(const octave_value_list&, int)':
genqamdemod.cc:39:23: error: 'empty_arg' was not declared in this scope
int arg_is_empty1 = empty_arg ("genqamdemod", nr1, nc1);
^~~~~~~~~
genqamdemod.cc:39:23: note: suggested alternative: 'warn_empty_arg'
int arg_is_empty1 = empty_arg ("genqamdemod", nr1, nc1);
^~~~~~~~~
warn_empty_arg
genqamdemod.cc:51:29: warning: 'bool octave_value::is_real_type() const' is deprecated: [4.4]: use 'isreal' in
stead [-Wdeprecated-declarations]
if (args(0).is_real_type () && args(1).is_real_type ())
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ovl.h:36:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov-fcn.h:33,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov-builtin.h:32,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\defun-int.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\defun-dld.h:32,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:32,
from genqamdemod.cc:17:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov.h:708:8: note: declared here
bool is_real_type (void) const
^~~~~~~~~~~~
genqamdemod.cc:51:56: warning: 'bool octave_value::is_real_type() const' is deprecated: [4.4]: use 'isreal' in
stead [-Wdeprecated-declarations]
if (args(0).is_real_type () && args(1).is_real_type ())
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ovl.h:36:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov-fcn.h:33,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov-builtin.h:32,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\defun-int.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\defun-dld.h:32,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:32,
from genqamdemod.cc:17:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov.h:708:8: note: declared here
bool is_real_type (void) const
^~~~~~~~~~~~
genqamdemod.cc:73:37: warning: 'bool octave_value::is_complex_type() const' is deprecated: [4.4]: use 'iscompl
ex' instead [-Wdeprecated-declarations]
else if (args(0).is_complex_type () || args(1).is_complex_type ())
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ovl.h:36:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov-fcn.h:33,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov-builtin.h:32,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\defun-int.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\defun-dld.h:32,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:32,
from genqamdemod.cc:17:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov.h:715:8: note: declared here
bool is_complex_type (void) const
^~~~~~~~~~~~~~~
genqamdemod.cc:73:67: warning: 'bool octave_value::is_complex_type() const' is deprecated: [4.4]: use 'iscompl
ex' instead [-Wdeprecated-declarations]
else if (args(0).is_complex_type () || args(1).is_complex_type ())
^
In file included from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ovl.h:36:0,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov-fcn.h:33,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov-builtin.h:32,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\defun-int.h:30,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\defun-dld.h:32,
from d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\oct.h:32,
from genqamdemod.cc:17:
d:\octave\octave1.0\mingw64\include\octave-5.1.0\octave\ov.h:715:8: note: declared here
bool is_complex_type (void) const
^~~~~~~~~~~~~~~
make: *** [Makefile:48: genqamdemod.oct] Error 1
make: Entering directory '/c/Users/allan/AppData/Local/Temp/oct-R1kzuS/communications-1.2.1/src'
D:/Octave/OCTAVE1.0/mingw64/bin/mkoctfile-5.1.0.exe -DGALOIS_DISP_PRIVATES errcore.cc -o errcore.oct
D:/Octave/OCTAVE1.0/mingw64/bin/mkoctfile-5.1.0.exe -DGALOIS_DISP_PRIVATES gfweight.cc -o gfweight.oc
t
D:/Octave/OCTAVE1.0/mingw64/bin/mkoctfile-5.1.0.exe -DGALOIS_DISP_PRIVATES cyclgen.cc -o cyclgen.oct
D:/Octave/OCTAVE1.0/mingw64/bin/mkoctfile-5.1.0.exe -DGALOIS_DISP_PRIVATES cyclpoly.cc -o cyclpoly.oct
D:/Octave/OCTAVE1.0/mingw64/bin/mkoctfile-5.1.0.exe -DGALOIS_DISP_PRIVATES genqamdemod.cc -o genqamdemod.oct
make: Leaving directory '/c/Users/allan/AppData/Local/Temp/oct-R1kzuS/communications-1.2.1/src'

pkg: error running `make' for the communications package.
error: called from
configure_make at line 99 column 9
install at line 184 column 7
pkg at line 441 column 9

Tried the same thing on a different Windows 7 machine and got the same errors. Fortunately, the only thing I use from this package is the noise generator, so I can live without it. Everything else is working great so far.


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 siko1056 (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by allanwright (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-03 siko1056 Severity3 - Normal 2 - Minor
        Priority5 - Normal 3 - Low
        StatusNone Fixed
        Open/ClosedOpen Closed
        Summaryinstalling communications package failed [octave forge] (communications) MS Windows installation from 2015 release fails

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code