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 FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Olaf TillOpen/Closed: Closed
Release: 3.8.0Operating 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 File(s):
   
   
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
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by i7tiol (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Jan 2014 03:43:22 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 04 Jan 2014 03:36:06 AM UTCrik5Summarypkg can\'t install packages whose names contain hyphens=>pkg can't install packages whose dependency names contain hyphens
    Fri 03 Jan 2014 02:37:30 PM UTCi7tiolAttached File-=>Added fix_depends.changeset, #30172

    Back to the top


    Powered by Savane 3.1-cleanup1