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

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

[Octave-bug-tracker] [bug #48096] build.m doesn't handle package tar wit


From: marco atzeri
Subject: [Octave-bug-tracker] [bug #48096] build.m doesn't handle package tar without directory entries
Date: Thu, 2 Jun 2016 12:31:09 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0

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

                 Summary: build.m doesn't handle package tar without directory
entries
                 Project: GNU Octave
            Submitted by: matzeri
            Submitted on: Thu 02 Jun 2016 12:31:06 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

As discussed on:

http://lists.gnu.org/archive/html/octave-maintainers/2016-05/msg00318.html
http://lists.gnu.org/archive/html/octave-maintainers/2016-06/msg00001.html

"pkg build" fails for some type of tar files.

It is due to changeset 
http://hg.savannah.gnu.org/hgweb/octave/rev/2ee20a290d61

that assumes that all tar files has directory entries

generate_html-0.1.11/
generate_html.0.1.11/COPYING
generate_html.0.1.11/DESCRIPTION
generate_html.0.1.11/INDEX
generate_html.0.1.11/NEWS
generate_html-0.1.11/inst/
..

but can not manage when only files are present:
 
generate_html.0.1.11/COPYING
generate_html.0.1.11/DESCRIPTION
generate_html.0.1.11/INDEX
generate_html.0.1.11/NEWS
generate_html.0.1.11/inst/generate_html_manual.m
...

Attached patch to solve the issue. 
Better formulation is likely possible.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 02 Jun 2016 12:31:06 PM GMT  Name: build.m.patch  Size: 685B   By:
matzeri

<http://savannah.gnu.org/bugs/download.php?file_id=37354>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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