bugGNU Octave - Bugs: bug #39464, Install problem of package fpl due...

 
 

bug #39464: Install problem of package fpl due to bad format in DESCRIPTION file

Submitter:  Kai Torben Ohlhus <siko1056>
Submitted:  Thu 11 Jul 2013 02:09:36 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 14 Feb 2014 03:27:41 AM UTC, comment #3: 

It looks to me like this changeset was pushed to the repository 6 months ago:

http://hg.savannah.gnu.org/hgweb/octave/rev/89acf2cd9149

Closing this report as fixed.

Mike Miller <mtmiller>
Group Member
Sat 20 Jul 2013 11:02:34 AM UTC, comment #2: 

Trying to understand what was wrong,
I found the code for checking versions
in pkg.m was overly complicated and could
be simplified and made more robust.

With the attached changeset the fpl DESCRIPTION
does not cause errors when installing.

Can you please test it a bit?

c.



(file #28624)

Carlo de Falco <cdf>
Group Member
Thu 11 Jul 2013 04:37:52 PM UTC, comment #1: 

I believe this is a symptom of a problem in Octave
as it used to work correctly in the default branch
and in the development branch until last week.

anyway as a workaround I removed the spaces from
fpl/DESCRPTION in the repository.

I don't see it as urgent to update the package release
as this only affects development branch.

A fpl package from the repository is attached below for your convenience.

c.



(file #28543)

Carlo de Falco <cdf>
Group Member
Thu 11 Jul 2013 02:09:36 PM UTC, original submission:  

This bug should be fixed fast, just two spaces too much in the DESCRIPTION file.


octave:1> pkg install -forge fpl
incorrect syntax for dependency 'octave ( >= 3.2.3 )' in the DESCRIPTION file
error: called from 'fix_depends' in file /usr/local/share/octave/3.7.5/m/pkg/private/fix_depends.m near line 44, column 9
error: called from:
error:   /usr/local/share/octave/3.7.5/m/pkg/private/install.m at line 147, column 5
error:   /usr/local/share/octave/3.7.5/m/pkg/pkg.m at line 392, column 9


When you try the parsing separately one can easily see the problem:


octave:9> fix_depends('octave (>= 3.2.3)')
ans =
{
  [1,1] =

    scalar structure containing the fields:

      package = octave
      operator = >=
      version = 3.2.3

}
octave:10> fix_depends('octave ( >= 3.2.3 )')
error: incorrect syntax for dependency 'octave ( >= 3.2.3 )' in the DESCRIPTION file


An alternative to changing the DESCRIPTION file would be changing the behavior of Octaves "/scripts/pkg/private/fix_depends.m"

Kai Torben Ohlhus <siko1056>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #28624:  open_6WD6W6mU.txt added by cdf (4KiB - text/plain - patch to private functions in pkg.m)
file #28543:  fpl.tar.gz added by cdf (45KiB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by cdf (Updated the item)
  • -email is unavailable- added by siko1056 (Submitted the item)
  • -email is unavailable- added by siko1056
  •  

    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
    2014-02-14 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed
    2013-07-20 cdf Attached File- Added open_6WD6W6mU.txt, #28624
    2013-07-11 cdf Attached File- Added fpl.tar.gz, #28543
    2013-07-11 siko1056 Carbon-Copy- Added siko1056

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code