bugGNU Octave - Bugs: bug #57059, [octave forge] (econometrics)...

 
 

bug #57059: [octave forge] (econometrics) installation errors/warnings on Windows

Submitter:  Nicholas Jankowski <nrjank>
Submitted:  Tue 15 Oct 2019 05:16:30 PM UTC
   
 
Category:  Octave Package Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Nicholas Jankowski Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 16 Oct 2019 04:45:50 PM UTC, comment #8: 

For any packages I added to the windows build it has been because it is either  a package that is used a lot ie: io package or has additional dependencies that need to be installed in order for it to work (netcdf needs gdcm libraries, database needs the pgsql libraries etc).

I dont think there's been any real hard and fast rule for reasons it will/wont be included.

Of course the other issue with including packages that when the package fails to compile anymore it breaks the mxe build.

There are several packages in the build now that have been patched heavily in order to keep them, some of which haven't had a new release for years.


John Donoghue <lostbard>
Group Member
Wed 16 Oct 2019 04:20:09 PM UTC, comment #7: 

re:  Comment #5 - I don't know how the decision is made whether to or not to include certain packages in the windows builds. It's important for any that have trouble building/installing under windows, or for ones that are 'very' commonly used.  But as long as 'pkg install' works correctly I don't think default needs to be part of this discussion.

Nicholas Jankowski <nrjank>
Group Member
Wed 16 Oct 2019 02:14:06 PM UTC, comment #6: 

I uploaded a new release to the package tracker.

Nir Krakauer <nir_krakauer>
Wed 16 Oct 2019 01:49:21 PM UTC, comment #5: 

Should we make this also about including econometrics in the Windows build?

Markus Mützel <mmuetzel>
Group administrator
Tue 15 Oct 2019 08:26:59 PM UTC, comment #4: 

Thanks Mike, done.

Nir Krakauer <nir_krakauer>
Tue 15 Oct 2019 08:01:36 PM UTC, comment #3: 

Hi Nir, you should probably also update the Depends to "octave (>= 4.4)" for this change, since the oct file doesn't compile against 4.2 or earlier now.

Mike Miller <mtmiller>
Group Member
Tue 15 Oct 2019 07:52:36 PM UTC, comment #2: 

I pushed a small change that eliminates the warning.

Nir Krakauer <nir_krakauer>
Tue 15 Oct 2019 06:19:54 PM UTC, comment #1: 

Confirmed on Debian with Octave 4.4, 5.1, and 6. These deprecation warnings can be avoided by the user with the following workaround.


setenv CXXFLAGS -Wno-deprecated-declarations
pkg install -forge econometrics


The package will need to be updated at some point to be compatible with the changes in the API, because these warnings will eventually become errors in a future version of Octave.

Mike Miller <mtmiller>
Group Member
Tue 15 Oct 2019 05:16:30 PM UTC, original submission:  

As discussed on the mailing list [1], the econometrics package is not included in the windows build by default.  Installing econometrics v1.1.1 in Octave 5.1.0 on Windows produces the following warning messages:


octave:2> pkg install -forge econometrics
__kernel_weights.cc: In function 'octave_value_list F__kernel_weights(const octave_value_list&, int)':
__kernel_weights.cc:50:38: warning: 'octave_value_list feval(const string&, const octave_value_list&, int)' is deprecated: [4.4]: use 'octave::feval' instead [-Wdeprecated-declarations]
   f_return = feval(kernel, kernelargs);
                                      ^
In file included from __kernel_weights.cc:22:0:
c:\programs\octave\octave~1.0-w\mingw64\include\octave-5.1.0\octave\parse.h:658:1: note: declared here
 feval (const std::string& name,
 ^~~~~
For information about changes from previous versions of the econometrics package, run 'news econometrics'.


this caused some confusion for a user who thought the installation had failed.  it does appear, however, that the package has been installed successfully, as it shows up under a 'pkg list' command, and I can run one of the example functions (gmm_example, for instance.)

I am unaware if the warnings are actually a concern and if any components of the package are not correctly installed.

[1] https://octave.1599824.n4.nabble.com/exception-while-installing-econometrics-pkg-tp4694106.html

Nicholas Jankowski <nrjank>
Group Member

 

(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 lostbard (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by nrjank (Submitted the item)
  • -email is unavailable- added by nrjank (package maintainer)
  •  

    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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-15 mtmiller StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2019-10-15 mtmiller Severity3 - Normal 2 - Minor
        StatusNone Confirmed
        Release5.1.0 dev
        Operating SystemMicrosoft Windows Any
    2019-10-15 nrjank Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code