octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39464] Install problem of package fpl due to


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #39464] Install problem of package fpl due to bad format in DESCRIPTION file
Date: Thu, 11 Jul 2013 14:09:37 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?39464>

                 Summary: Install problem of package fpl due to bad format in
DESCRIPTION file
                 Project: GNU Octave
            Submitted by: siko1056
            Submitted on: Thu 11 Jul 2013 02:09:36 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Installation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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"





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39464>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]