<html>
    <head>
      <base href="https://issues.openmandriva.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Many octave packages are outdated or can't be installed"
   href="https://issues.openmandriva.org/show_bug.cgi?id=2117">2117</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Many octave packages are outdated or can't be installed
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Openmandriva Lx 3.0
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Software
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>cris@beebgames.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mandian@openmailbox.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>tpgxyz@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>itchka@compuserve.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Many octave packages are outdated or can't be installed at all, as reported in
repoclosure. Moreover some of the actual octave packages are outdated now and
some now are missing so I provided a general update for all them for all active
branches of OpenMandriva. I used the new octave rpm macro and I write a modern
spec file for all the packages in Octave Forge repository. Actually Octave
Forge grouped the packages in three main groups: community, external and
unmaintained. First tow groups contain actual supported packages and the latest
contains packages not more updated from many times or not more needed now, but
some of this may be still work.

Moreover some packages (octave-control and linear-algebra) requires some
functions (for instance dggsvd_) not provided by blas, but they compile against
atlas. I guess this is why some distributions, such as fedora, compile octave
with atlas in place of lapack/blas. Here is an example of the failure for
linear.algebra:

/usr/bin/mkoctfile-4.2.1 --verbose -DHAVE_OCTAVE_42 -v -DHAVE_CONFIG_H -Wall
gsvd.o dbleGSVD.o CmplxGSVD.o  -o gsvd.oct -llapack
  g++ -I/usr/include/octave-4.2.1/octave/.. -I/usr/include/octave-4.2.1/octave 
-pthread -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe - Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4  -fPIC  -shared -Wl,-Bsymbolic  -Wall -o gsvd.oct 
gsvd.o dbleGSVD.o CmplxGSVD.o   -llapack -L/usr/lib64/octave/4.2.1 -L/usr/lib64
-llapack -lblas -loctinterp -loctave -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4  -fPIC  -Wl,-O2  -Wl,--no-undefined   
dbleGSVD.cc:195: error: undefined reference to 'dggsvd_'
CmplxGSVD.cc:200: error: undefined reference to 'zggsvd_'
collect2: error: ld returned 1 exit status

Some packages have been merged into others and can be safety removed:
combinatorics - merged into miscellaneous and specfun;
java - part of Octave core (no longer a separate package) since Octave 3.8;
openmpi_ext - renamed mpi;
physicalconstants - merged into miscellaneous;
time - merged into financial. 

So the following packages can be safety from the repo
octave-forge
octave-physicalconstants
octave-time
octave-ident
octave-es
octave-combinatorics
octave-java

All the specs are on my github repo. I haven't done pull requests for now
neither uploaded sources on file-store (all sources occupy about 24Mb). If you
are interested in my work please let me know and I'll do.

Here is a recap of my tests:

* community:
cgi                             ok 
communications                  failed, error: octave/base-lu.h: No such file
or directory,  (<a href="https://savannah.gnu.org/bugs/?func=detailitem&item_id=47267">https://savannah.gnu.org/bugs/?func=detailitem&item_id=47267</a>)
control                         failed, FIXME: use atlas for blas
data-smoothing                  ok
database                        ok
dataframe                       ok
dicom                           failed,  GDCM... CMake Error: Problem
processing arguments. Aborting. FIXME: libGDCM is not in repo
doctest                         ok
econometrics                    ok
fem-fenics                      failed,  error: dolfin required to install
Fem-fenics Package. FIXME: dolfin is not in repo
financial                       ok
fuzzy-logic-toolkit             ok
ga                              ok
general                         ok 
generate_html                   ok
geometry                        ok 
gsl                             ok
image                           ok 
image-acquisition               ok
instrument-control              ok
interval                        ok
io                              ok
level-set                       ok,
linear-algebra                  ok FIXME: use atlas for blas
lssa                            ok
mapping                         ok
miscellaneous                   ok
mpi                             ok
mvn                             ok
optics                          ok
optim                           ok 
parallel                        ok
quaternion                      ok
queueing                        ok
signal                          ok
sockets                         ok
sparsersb                       failed,  error: octave sparsersb package
SPARSERSB_CXXFLAGS (librsb not detected)! FIXME: librsb is not in repo
splines                         ok
statistics                      ok 
strings                         ok
struct                          ok 
symbolic                        ok 
video                           ok
vrml                            ok
windows                         not needed.
zeromq                          ok

* external:
bim                             ok
bsltl                           ok
divand                          ok
fits                            ok
fpl                             ok
ltfat                           ok
msh                             ok
nan                             ok
ncarray                         ok
netcdf                          ok
nurbs                           ok
ocs                             ok
octclip                         ok
octproj                         ok
odepkg                          failed, error: 'GCC_ATTR_UNUSED' has not been
declared. FIXME: use development version (<a href="https://savannah.gnu.org/bugs/?50684">https://savannah.gnu.org/bugs/?50684</a>)
optiminterp                     ok
secs1d                          ok
secs2d                          ok
secs3d                          ok
stk                             ok
tisean                          ok
tsa                             ok
vibes                           ok

* unmaintained:
actuarial                       ok
ad                              failed, error: 'static int
octave_gradient::static_type_id()' is private within this context
(<a href="https://savannah.gnu.org/bugs/?func=detailitem&item_id=41089">https://savannah.gnu.org/bugs/?func=detailitem&item_id=41089</a>)
ann                             failed, error: 'curr_sym_tab' was not declared
in this scope
audio                           failed, error: undefined reference to
'endpointer::getendpoint(short*)
benchmark                       ok
bioinfo                         ok
civil-engineering               ok
engine                          ok
fenv                            failed, No rule to make target 'configure.in'. 
Stop.
fl-core                         ok
gnuplot                         ok
informationtheory               ok
integration                     ok
irsa                            ok
mechanics                       failed, malformed arch dependant package
missing-functions               ok
multicore                       ok
nlwing2                         ok
nnet                            ok
oct2mat                         ok
octcdf                          ok
octgpr                          failed,  error: 'Octave_map' was not declared
in this scope
odebvp                          ok
outliers                        ok
pdb                             failed, error: 'Octave_map' was not declared in
this scope
plot                            ok
simp                            ok
specfun                         ok
special-matrix                  ok
symband                         ok
tcl-octave                      ok
xraylib                         failed,  error: no matching function for call
to 'Array<int>::Array(int)'
zenity                          ok


My opinion is the unmaintained packages may be removed from the rpm repo and
added only if users require for them but specs may be kept in github repo.
Other packages may be pushed in repo directly.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>