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

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

[Octave-bug-tracker] [bug #62554] [octave forge] (nan) pkg update with n


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #62554] [octave forge] (nan) pkg update with nan 3.7.0 produces long series of warnings
Date: Tue, 31 May 2022 22:18:38 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62554>

                 Summary: [octave forge] (nan) pkg update with nan 3.7.0
produces long series of warnings
                 Project: GNU Octave
               Submitter: nrjank
               Submitted: Tue 31 May 2022 10:18:37 PM EDT
                Category: Octave Forge Package
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Nicholas Jankowski
        Originator Email: 
             Open/Closed: Open
                 Release: 7.1.0
         Discussion Lock: Any
        Operating System: Microsoft Windows


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 31 May 2022 10:18:37 PM EDT By: Nicholas Jankowski <nrjank>
with a fresh install of Octave 7.1.0 on Windows 10 (using 7z package and after
running the post-install.bat script), calling 

pkg update -global

produces the following set of warnings/errors. The warnings are clearly from
the nan package. although not as clear, the first set of messages also appear
to be from the nan package, based on there being no intermediate 'for
information about changes from previous...' message, but I haven't confirmed
this.


octave:1> pkg update -global
For information about changes from previous versions of the generate_html
package, run 'news generate_html'.
For information about changes from previous versions of the optim package, run
'news optim'.
For information about changes from previous versions of the struct package,
run 'news struct'.
warning: pkg: package biosig not found on Octave Forge - skipping update
For information about changes from previous versions of the zeromq package,
run 'news zeromq'.
For information about changes from previous versions of the signal package,
run 'news signal'.
ls: cannot access './bin/mexext': No such file or directory
svm.cpp: In constructor 'Cache::Cache(int, long int)':
svm.cpp:136:14: warning: conversion from 'long long unsigned int' to 'long
int' may change value [-Wconversion]
  136 |         size -= l * sizeof(head_t) / sizeof(Qfloat);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svm.cpp: In function 'decision_function svm_train_one(const svm_problem*,
const svm_parameter*, double, double)':
svm.cpp:1710:13: warning: 'si.Solver::SolutionInfo::rho' may be used
uninitialized [-Wmaybe-uninitialized]
 1710 |         info("obj = %f, rho = %f\n",si.obj,si.rho);
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svm.cpp:1690:30: note: 'si' declared here
 1690 |         Solver::SolutionInfo si;
      |                              ^~
svm.cpp:1710:13: warning: 'si.Solver::SolutionInfo::obj' may be used
uninitialized [-Wmaybe-uninitialized]
 1710 |         info("obj = %f, rho = %f\n",si.obj,si.rho);
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svm.cpp:1690:30: note: 'si' declared here
 1690 |         Solver::SolutionInfo si;
      |                              ^~
warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\center.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\corrcoef.m
shadows a core library function
warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\cov.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\detrend.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\iqr.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\kurtosis.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\mad.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\mean.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\meansq.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\median.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\moment.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\prctile.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\quantile.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\range.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\ranks.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\skewness.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\spearman.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\std.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\sumsq.m
shadows a built-in function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\var.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

warning: function
C:\Programs\Octave\octave-7.1.0-w64\mingw64\share\octave\packages\nan-3.7.0\zscore.m
shadows a core library function
warning: called from
    doc_cache_create>gen_doc_cache_in_dir at line 146 column 5
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 603 column 9
    pkg at line 779 column 11

For information about changes from previous versions of the nan package, run
'news nan'.


The latter warnings are generally inconsequential, but is it expected to get
all such shadow warnings on install versus just on pkg load? I would suggest
that a flood of such warnings are not necessarily useful there, perhaps unless
-verbose has been requested.

The former warning may be more concerning, but it didn't seem to prevent
package install.







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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