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

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

[Octave-bug-tracker] [bug #59164] [octave forge] (stk) install error abo


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #59164] [octave forge] (stk) install error about rmdir
Date: Mon, 24 Jan 2022 10:55:58 -0500 (EST)

Update of bug #59164 (project octave):

                  Status:               Need Info => Confirmed              
                 Release:                     dev => 7.0.90                 

    _______________________________________________________

Follow-up Comment #8:

Adding the package maintainers.

The problem is that Octave 7 and newer are no longer graceful with deleting
non-existing files.


rmdir ("non-exising", "s");


throws an error instead of returning false.

https://hg.savannah.gnu.org/hgweb/octave/file/8c6486ffc1d9/etc/NEWS.7.md#l18

This happens here:

https://sourceforge.net/p/octave/stk/ci/default/tree/stk_init.m#l580


rmdir (fullfile (mole_dir, 'matlab'), 's');


The "matlab" folder is not packaged:


rmdir (fullfile (mole_dir, 'matlab'), 's');


See
https://sourceforge.net/p/octave/stk/ci/default/tree/admin/build_tools/build_octpkg.m#l69


ignore_list = {'.hg', '.pc', 'admin', 'misc/mole/matlab', 'build',
'sandbox'};


Removing those lines in "stk_init.m" should do the trick with another small
bug fix package release.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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