Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

communications 1.2.1 build failure under Octave.app 4.4.1 #147

Closed
apjanke opened this issue Oct 21, 2019 · 1 comment
Closed

communications 1.2.1 build failure under Octave.app 4.4.1 #147

apjanke opened this issue Oct 21, 2019 · 1 comment
Labels
bug Something isn't working forge package A problem with an Octave Forge package

Comments

@apjanke
Copy link
Contributor

apjanke commented Oct 21, 2019

>> pkg install -forge communications
2019-10-21 00:05 octave-gui[85032] (FSEvents.framework) FSEventStreamFlushSync(): failed assertion '(SInt64)last_id > 0LL'

2019-10-21 00:05 octave-gui[85032] (FSEvents.framework) FSEventStreamFlushSync(): failed assertion '(SInt64)last_id > 0LL'

galois.cc:21:10: fatal error: 'octave/config.h' file not found
#include <octave/config.h>
         ^~~~~~~~~~~~~~~~~
In file included from galoisfield.cc:21:
./galois.h:24:10: fatal error: 'octave/config.h' file not found
#include <octave/config.h>
         ^~~~~~~~~~~~~~~~~
In file included from galois-def.cc:21:
./galois.h:24:10: fatal error: 'octave/config.h' file not found
#include <octave/config.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
1 error generated.
make: *** [galois-def.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [galoisfield.o] Error 1
1 error generated.
make: *** [galois.o] Error 1
cyclpoly.cc:41:17: warning: 'length' is deprecated [-Wdeprecated-declarations]
  int x_len = x.length ();
                ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/Array.h:356:3: note:
      'length' has been explicitly marked deprecated here
  OCTAVE_DEPRECATED (4.4, "use 'numel' instead")
  ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h:73:59: note:
      expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
cyclpoly.cc:220:47: warning: 'length' is deprecated [-Wdeprecated-declarations]
            cyclic_polys.resize (cyclic_polys.length ()+1);
                                              ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/Array.h:356:3: cyclgen.ccnote:: 32:17
:       'length' haswarning : been explicitly marked deprecated 'length'here is
 deprecated [-Wdeprecated-declarations]
  OCTAVE_DEPRECATED (4.4, "use 'numel' instead")
  ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h:73:59: note:
      expanded from   int x_len = x.length ();macro
 'OCTAVE_DEPRECATED'                ^

#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/Array.h:                                              ^356
:3: note:
      'length' has been explicitly marked deprecated here
cyclpoly.cc:221:39: __gfweight__.ccgenqamdemod.cc::71warning39:: :723:: 'length'  is deprecatedwarning warning: [-Wdeprecated-declarations]:
  OCTAVE_DEPRECATED (4.4, "use 'numel' instead")
  ^
'empty_arg''flush_octave_stdout'  isis  deprecateddeprecated  [-Wdeprecated-declarations][-Wdeprecated-declarations]

/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h       cyclic_polys(cyclic_polys.length ()-1) = (double)i;:
73:                                      ^59
: note:
      expanded /Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/Array.hfrom: 356macro:3 :'OCTAVE_DEPRECATED'
note:
      'length' has been explicitly marked      flush_octave_stdout ();  int arg_is_empty1 = empty_arg ("genqamdemod", nr1, nc1);

deprecated here      ^                      ^


#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/pager.h/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/utils.h::16557::11:  OCTAVE_DEPRECATED (4.4, "use 'numel' instead") :
                                                          ^
note  ^note:
:

            'flush_octave_stdout''empty_arg'  hashas  beenbeen /Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h :explicitlyexplicitly73 : marked59marked:   deprecateddeprecated  hereherenote:


expanded from macro 'OCTAVE_DEPRECATED'
OCTAVE_DEPRECATED (4.4, "use 'octave::flush_stdout' instead")
^
OCTAVE_DEPRECATED (4.2, "use 'octave_value::isempty' instead")
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h#  define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__)):^
73
:59                                                          ^:
 note:
      expanded from macro/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h :'OCTAVE_DEPRECATED'73:
59: note:
      expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^cyclpoly.cc
:236:53: warning: 'length' is deprecated [-Wdeprecated-declarations]
                  cyclic_polys.resize (cyclic_polys.length ()+1);
                                                    ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/Array.h:356:3: note:
      'length' has been explicitly marked deprecated here
  OCTAVE_DEPRECATED (4.4, "use 'numel' instead")
  ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h:73:59: note:
      expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
cyclpoly.cc:237:45: warning: 'length' is deprecated [-Wdeprecated-declarations]
genqamdemod.cc:51:                  cyclic_polys(cyclic_polys.length ()-1) = (double)i;
                                            ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/Array.h:356:3: note:
      'length' has been explicitly marked deprecated here
15: warning: 'is_real_type'  OCTAVE_DEPRECATED (4.4, "use 'numel' instead")
is   ^deprecated
 [-Wdeprecated-declarations]
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h:73:59: note:
      expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
  if (args(0).is_real_type () && args(1).is_real_type ())
cyclpoly.cc:247              ^:
20: warning: 'length' is deprecated [-Wdeprecated-declarations]/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/ov.h:
706:3: note:
      'is_real_type' has been explicitly marked deprecated   if (cyclic_polys.length () == 0)here

                   ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/Array.h:356:3: note:
      'length'   OCTAVE_DEPRECATED (4.4, "use 'isreal' instead")has
 been   ^
explicitly/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h:73:59: note : marked
       deprecatedexpanded  herefrom macro 'OCTAVE_DEPRECATED'

  OCTAVE_DEPRECATED (4.4, "use 'numel' instead")#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))

  ^                                                          ^

/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h:73:59: note:
      expanded from macro 'OCTAVE_DEPRECATED'
genqamdemod.cc:51:42: warning: 'is_real_type' is deprecated [-Wdeprecated-declarations]
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
  if (args(0).is_real_type () && args(1).is_real_type ())
                                         ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/ov.h:706:3: note:
      'is_real_type' has been explicitly marked deprecated here
  OCTAVE_DEPRECATED (4.4, "use 'isreal' instead")
  ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h:73:59: note:
      expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
cyclpoly.cc:257:38: warning: 'length' is deprecated [-Wdeprecated-declarations]
          Matrix polys (cyclic_polys.length (), m+1, 0);
                                     ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/Array.h:356:3: note:
      'length' has been explicitly marked deprecated here
  OCTAVE_DEPRECATED (4.4, "use 'numel' instead")
  ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h:genqamdemod.cc73::7359:: 20: note:
warning      : expanded from 'is_complex_type' is deprecated [-Wdeprecated-declarations]
macro 'OCTAVE_DEPRECATED'
  else if (args(0).is_complex_type () || args(1).is_complex_type ())
                   ^
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/ov.h:713:3: note:
      'is_complex_type' has been explicitly marked deprecated here
  OCTAVE_DEPRECATED (4.4, "use 'iscomplex' instead")
cyclpoly.cc  ^:
258:45: warning: /Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h:73:'length' 59is deprecated [-Wdeprecated-declarations]:
 note:
      expanded from macro 'OCTAVE_DEPRECATED'
          for (int i = 0 ; i < cyclic_polys.length (); i++)
                                            ^
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/Array.h:356:3: note:
      'length' has been explicitly marked deprecated here
genqamdemod.cc:73:50: warning:   OCTAVE_DEPRECATED (4.4, "use 'numel' instead")'is_complex_type'
 is   ^deprecated
 [-Wdeprecated-declarations]
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h:73:59: note:
      expanded   else if (args(0).is_complex_type () || args(1).is_complex_type ())from
 macro                                                 ^
'OCTAVE_DEPRECATED'
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/ov.h:713:3: note:
      'is_complex_type' has been explicitly marked deprecated here
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
  OCTAVE_DEPRECATED (4.4, "use 'iscomplex' instead")
  ^
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/include/octave-4.4.1/octave/octave-config.h:73:59: note:
      expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
1 warning generated.
1 warning generated.
5 warnings generated.
8 warnings generated.
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/mkoctfile-4.4.1 -DGALOIS_DISP_PRIVATES __errcore__.cc -o __errcore__.oct
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/mkoctfile-4.4.1 -DGALOIS_DISP_PRIVATES __gfweight__.cc -o __gfweight__.oct
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/mkoctfile-4.4.1 -DGALOIS_DISP_PRIVATES cyclgen.cc -o cyclgen.oct
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/mkoctfile-4.4.1 -DGALOIS_DISP_PRIVATES cyclpoly.cc -o cyclpoly.oct
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/mkoctfile-4.4.1 -DGALOIS_DISP_PRIVATES genqamdemod.cc -o genqamdemod.oct
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/mkoctfile-4.4.1 -DGALOIS_DISP_PRIVATES -c galois-def.cc -o galois-def.o
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/mkoctfile-4.4.1 -DGALOIS_DISP_PRIVATES -c galois.cc -o galois.o
/Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/mkoctfile-4.4.1 -DGALOIS_DISP_PRIVATES -c galoisfield.cc -o galoisfield.o

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 437 column 9
>>
@apjanke apjanke added bug Something isn't working forge package A problem with an Octave Forge package labels Oct 21, 2019
@apjanke
Copy link
Contributor Author

apjanke commented Feb 15, 2020

Looks like this got fixed in communications 1.2.2. Compiles okay for me on both Octave 4.4.1 and 5.2.0 now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forge package A problem with an Octave Forge package
Projects
Archived in project
Development

No branches or pull requests

1 participant