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

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

[Octave-bug-tracker] [bug #41691] pkg does not support packages with upp


From: Orion Poplawski
Subject: [Octave-bug-tracker] [bug #41691] pkg does not support packages with upper case characters in their name
Date: Tue, 25 Feb 2014 18:06:16 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

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

                 Summary: pkg does not support packages with upper case
characters in their name
                 Project: GNU Octave
            Submitted by: opoplawski
            Submitted on: Tue 25 Feb 2014 06:06:15 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Trying to build ncArray I get:

+ octave -H -q --no-window-system --no-site-file --eval 'pkg build
'''-verbose''' /tmp/rpm/octave-ncarray-1.0.2-1.fc20.x86_64
/export/home/orion/redhat/octave-ncarray-1.0.2/ncArray'
package name 'ncarray' doesn't correspond to its filename 'ncArray'
error: called from 'pkg>install' in file /usr/share/octave/3.6.4/m/pkg/pkg.m
near line 744, column 11
error: called from:
error:   /usr/share/octave/3.6.4/m/pkg/pkg.m at line 772, column 5
error:   /usr/share/octave/3.6.4/m/pkg/pkg.m at line 636, column 3
error:   /usr/share/octave/3.6.4/m/pkg/pkg.m at line 493, column 7
error: Bad exit status from /tmp/rpm/rpm-tmp.bIjCCk (%build)

In pkg.m parsing the DESCRIPTION file:

  desc.name = tolower (desc.name);

And in all dep handling:

  deps = split_by (tolower (depends), ",");

So as written it seems like all octave packages really should be all lower
case.  Or we need another tolower() in the install check of directory file
name.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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