bugGNU Octave - Bugs: bug #41087, pkg can't install packages whose...


bug #41087: pkg can't install packages whose dependency names contain hyphens

Submitted by:  Olaf Till <i7tiol>
Submitted on:  Fri 03 Jan 2014 02:27:31 PM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Olaf Till Open/Closed:  Closed
Release:  3.8.0 Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 04 Jan 2014 03:43:22 AM UTC, comment #3:

I changed the commit message a bit and then checked in your changeset on the stable branch (http://hg.savannah.gnu.org/hgweb/octave/rev/442bca7dea44).

Rik <rik5>
Project Administrator
Fri 03 Jan 2014 03:01:18 PM UTC, comment #2:

Oh no, the bug description was completely wrong ... I mean't the following: If in the dependencies of a package another package is listed whose name contains hyphens, the described error occurs. The rest of the report is valid, though. Sorry, don't know how it happened that I mixed that up ...

Olaf Till <i7tiol>
Project Member
Fri 03 Jan 2014 02:37:30 PM UTC, comment #1:

Small changeset attached. Additionally to the fix, I deleted one seemingly redundant '+' after the parantheses.

(file #30172)

Olaf Till <i7tiol>
Project Member
Fri 03 Jan 2014 02:27:31 PM UTC, original submission:

If packages whose names contain hyphens are attempted to be installed with pkg, the regular expression in fix_depends.m yields multiple matches, causing an error since strcmp is called with two cell-arrays instead of with a string and a cell-array.

The regular expression is easily fixed, a changeset will be attached as soon as I have the bug number.

Olaf Till <i7tiol>
Project Member


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

Attach Files:

Attached Files
file #30172:  fix_depends.changeset added by i7tiol (834B - 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 rik5 (Updated the item)
  • -email is unavailable- added by i7tiol (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-04 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed
    2014-01-04 rik5 Summarypkg can\'t install packages whose names contain hyphens => pkg can't install packages whose dependency names contain hyphens
    2014-01-03 i7tiol Attached File- => Added fix_depends.changeset, #30172

    Back to the top

    Powered by Savane 3.3