octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56171] [octave forge] (control) fails to buil


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #56171] [octave forge] (control) fails to build and install
Date: Sat, 4 May 2019 08:55:25 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #6, bug #56171 (project octave):

Andrew:  yes, they will get email notification if they leave a valid email
address.

The following was posted to the mailing list and so did not appear here:


It appears that I had an old path include mistake within my compiler.  Still
there but it has been patched via CPATH.   So the old error has gone away. 
However a new error has been created within octave's own header files.   I
tries reinstall octave normally and from source which installed fine.  But
when I still try to install the -forge packages I now get this error:


brew uninstall octave
brew install -s octave
octave

octave
GNU Octave, version 5.1.0
Copyright (C) 2019 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-apple-darwin18.5.0".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> pkg install -forge control
warning: LFLAGS is deprecated and will be removed in a future version of
Octave, use LDFLAGS instead
In file included from __control_helper_functions__.cc:1:
In file included from ./is_real_scalar.cc:28:
In file included from
/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/../octave/oct.h:30:
In file included from
/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/Matrix.h:31:
In file included from
/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/mx-base.h:30:
In file included from
/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/MatrixType.h:29:
In file included from
/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/MSparse.h:29:
In file included from
/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/Array-util.h:28:
In file included from
/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/Array.h:37:
In file included from
/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/dim-vector.h:35:
/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/oct-refcount.h:126:80:
error: expected ';' after attributes list
using octave_refcount OCTAVE_DEPRECATED (4.4, "use 'octave::refcount'
instead") = octave::refcount<T>;
                                                                              
^
                                                                              
;
/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/oct-refcount.h:126:1:
error: cannot template a using declaration
using octave_refcount OCTAVE_DEPRECATED (4.4, "use 'octave::refcount'
instead") = octave::refcount<T>;
^
2 errors generated.
make: *** [__control_helper_functions__.oct] Error 1
make: *** Waiting for unfinished jobs....
MA02ID.f:188:21:

MA02ID.f:184:72:

          DO 90 J = 1, N+1
                                                                        2
MA02ID.f:188:21:

                DWORK(J-1) = DWORK(J-1) + TEMP
                     1
Warning: Array reference at (1) out of bounds (0 < 1) in loop beginning at
(2)
MA02ID.f:188:34:

MA02ID.f:184:72:

          DO 90 J = 1, N+1
                                                                        2
MA02ID.f:188:34:

                DWORK(J-1) = DWORK(J-1) + TEMP
                                  1
Warning: Array reference at (1) out of bounds (0 < 1) in loop beginning at
(2)
MA02ID.f:230:21:

MA02ID.f:226:72:

          DO 160 J = 1, N+1
                                                                        2
MA02ID.f:230:21:

                DWORK(J-1) = DWORK(J-1) + TEMP
                     1
Warning: Array reference at (1) out of bounds (0 < 1) in loop beginning at
(2)
MA02ID.f:230:34:

MA02ID.f:226:72:

          DO 160 J = 1, N+1
                                                                        2
MA02ID.f:230:34:

                DWORK(J-1) = DWORK(J-1) + TEMP
                                  1
Warning: Array reference at (1) out of bounds (0 < 1) in loop beginning at
(2)
tar -xzf slicot.tar.gz
/usr/local/Cellar/octave/5.1.0_2/bin/mkoctfile-5.1.0 -Wall
-Wno-deprecated-declarations  __control_helper_functions__.cc
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /usr/local/Cellar/octave/5.1.0_2/bin/mkoctfile-5.1.0 -c *.f
ar -rc slicotlibrary.a ./sltmp/*.o
rm -rf sltmp slicot

pkg: error running `make' for the control package.
error: called from
    configure_make at line 99 column 9
    install at line 184 column 7
    pkg at line 441 column 9
octave:1> exit



the key lines:


/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/oct-refcount.h:126:80:
error: expected ';' after attributes list
using octave_refcount OCTAVE_DEPRECATED (4.4, "use 'octave::refcount'
instead") = octave::refcount<T>;
                                                                              
^
                                                                              
;
/usr/local/Cellar/octave/5.1.0_2/include/octave-5.1.0/octave/oct-refcount.h:126:1:
error: cannot template a using declaration
using octave_refcount OCTAVE_DEPRECATED (4.4, "use 'octave::refcount'
instead") = octave::refcount<T>;
^
2 errors generated.
make: *** [__control_helper_functions__.oct] Error 1
make: *** Waiting for unfinished jobs....


Additional info:


gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

brew list
arpack                  gcc                     graphicsmagick          
libevent                lua                     pixman                  sqlite
cairo                   address@hidden                  graphite2               
libffi                  maxima                  pkg-config              
suite-sparse
clisp                   address@hidden                  gzip                    
libheif                 metis                   plotutils               sundials
cmake                   gd                      harfbuzz                libmpc  
                mpfr                    portaudio               szip
doxygen                 gdbm                    hdf5                    libogg  
                netpbm                  pstoedit                tcl-tk
epstool                 gettext                 icu4c                   libomp  
                ocaml                   python                  texinfo
fftw                    ghostscript             ilmbase                 libpng  
                octave                  qhull                   veclibfort
fig2dev                 gl2ps                   imagemagick             
libsigsegv              open-mpi                qrupdate                webp
flac                    glib                    isl                     
libsndfile              openexr                 qt                      wxmac
fltk                    glpk                    jasper                  libtiff 
                openjpeg                readline                wxmaxima
fontconfig              gmp                     jpeg                    libtool 
                openssl                 rlwrap                  x265
freetype                gnu-sed                 libcerf                 
libvorbis               pango                   shared-mime-info        xz
fribidi                 gnuplot                 libde265                
little-cms2             pcre                    snappy


My CPATH patch is:


CPATH=/Library/Developer/CommandLineTools/usr/include/c++/v1


Any idea’s?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56171>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]