bugGNU Octave - Bugs: bug #65562, [octave-forge] (matgeom)...

 
 

bug #65562: [octave-forge] (matgeom) matgeom-1.2.4 complains about missing subdir polynomialCurves2d

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Fri 05 Apr 2024 09:18:20 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Ready For Test Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Open
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 12 Oct 2024 03:30:45 PM UTC, comment #4: 

In order to fully get rid of the old polynomialCurves2d stuff, please also fix octave_pkg/index.sh, using something like the patch attached to this comment.

(file #56511)

Rafael Laboissière <rlaboiss>
Tue 16 Apr 2024 06:02:03 PM UTC, comment #3: 

I pushed to the changes to the master branch. Please check

Juan Pablo Carbajal <juanpi>
Group Member
Sun 14 Apr 2024 07:36:37 PM UTC, comment #2: 

I had a brief look.
All that is needed is removing "polynomialCurves2d" from the subdirlist in __matgeom_package_register__.m .

Patch attached, incl. some style fixes.
Maybe/hopefully it can be morphed into an mxe-octave cset.

Looking at upstream matGeom (https://github.com/mattools/matGeom/tree/master/matGeom), it is a bit of a hodgepodge with some really old content; e.g., file 'Contents.m' is from 2017 and not up-to date with current matgeom (matGeom) contents. Little wonder this buglet slipped through if  __matgeom_package_register__.m was based on it.



(file #55944)

Philip Nienhuis <philipnienhuis>
Group Member
Sun 07 Apr 2024 05:47:20 PM UTC, comment #1: 

cc'in package maintainer

Philip Nienhuis <philipnienhuis>
Group Member
Fri 05 Apr 2024 09:18:20 PM UTC, original submission:  

Loading the matgeom-1.2.4 package yields an error about a missing subdirectory:

:
warning: addpath: C:\Programs\Octave\Octave-9.1.1_0403-OS\mingw64\share\octave\packages\matgeom-1.2.4\polynomialCurves2d: The system cannot find the file specified.

warning: called from
    __matgeom_package_register__ at line 41 column 5
    C:\Programs\Octave\Octave-9.1.1_0403-OS\mingw64\share\octave\packages\matgeom-1.2.4\PKG_ADD at line 1 column 1
    load_packages_and_dependencies at line 56 column 5
    load_packages at line 53 column 3
    pkg at line 639 column 7
    C:\Users\philip\.octaverc at line 42 column 1
:

(matgeom gets loaded as a dependency when mapping loads geometry that in turn loads matgeom)
That subdirectory was still in matgeom-1.2.3.
This error message is from octave-9.1.1 from octave.space (octave-2024-04-03-04-39-release-w64-64-installer.exe) but I also get it in my own crossbuilds.


Philip Nienhuis <philipnienhuis>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #55944:  matgeom-1.2.4.patch added by philipnienhuis (703B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rlaboiss (Updated the item)
  • -email is unavailable- added by juanpi (Posted a comment)
  • -email is unavailable- added by philipnienhuis
  • -email is unavailable- added by philipnienhuis (Submitted the item)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2024-10-12 rlaboiss Attached File- Added drop-polynomialCurves2d-from-index.patch, #56511
    2024-04-16 juanpi StatusPatch Submitted Ready For Test
    2024-04-14 philipnienhuis Attached File- Added matgeom-1.2.4.patch, #55944
        StatusNone Patch Submitted
    2024-04-07 philipnienhuis Carbon-Copy- Added juanpi

    Back to the top

    Powered by Savane 3.14-3b9d.
    Corresponding source code