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

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

[Octave-bug-tracker] [bug #53561] pkg install reports an error when file


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53561] pkg install reports an error when filename doesn't match package name
Date: Wed, 4 Apr 2018 15:47:07 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

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

                 Summary: pkg install reports an error when filename doesn't
match package name
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Wed 04 Apr 2018 12:47:06 PM PDT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: mtmiller
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When a valid Octave package is extracted, the directory renamed, and packaged
up into a different tar file name, pkg reports an error


>> pkg install foo.tar.gz 
package name 'signal' doesn't correspond to its filename 'foo.tar'
error: called from
    install at line 119 column 11
    pkg at line 436 column 9


I don't understand the reason for this error. The 'Name' field in the package
DESCRIPTION should be the only name that matters. If the names do not match,
pkg should just silently overwrite the name that it guessed from the file
name.

I can look at fixing this, but I would appreciate it if someone who knows more
about pkg could tell me if there is a good reason for this error. As I see it
the tar file is just a container, its name doesn't matter.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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