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

 
 

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

Submitter:  Olaf Till <i7tiol>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group 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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    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 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.13-02a9.
    Corresponding source code