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

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

[Octave-bug-tracker] [bug #39520] Syntax bugs related to fresh pkg.m scr


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #39520] Syntax bugs related to fresh pkg.m scripts
Date: Thu, 18 Jul 2013 21:37:43 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

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

                 Summary: Syntax bugs related to fresh pkg.m scripts
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Thu 18 Jul 2013 11:37:42 PM CEST
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

parent: 17005:b3d4edc991c0 tip
Noted a bunch of pkg fixed when doing hg -v update

Trying build_packages.m on a freshly built MXE Window binary gives a few minor
yet showstopper errors.

First one concerns a stray closing parenthesis:


pkg ('install', 'general-1.3.2.tar.gz')
parse error near line 175 of file
X:\Octave\octave-3.7.5_MXE\share\octave\3.7.5\m\pk
g\private\install.m

  syntax error

>>>                         dep.package " " dep.operator " " dep.version
"\n"]);
                                                   ^

error: called from:
error:   X:\Octave\octave-3.7.5_MXE\share\octave\3.7.5\m\pkg\pkg.m at line
392, column 9
error:   X:\Octave\octave-3.7.5_MXE\src\build_packages.m at line 3, column 1
>>



Then we get a lacking comma:


pkg ('install', 'general-1.3.2.tar.gz')
parse error near line 50 of file
X:\Octave\octave-3.7.5_MXE\share\octave\3.7.5\m\pkg\private\configure_make.m

  syntax error

>>>         flags = [flags ' AR="' mkoctfile("-p" "AR") '"'];
                                                   ^
error: called from 'install' in file
X:\Octave\octave-3.7.5_MXE\share\octave\3.7.5\m\pkg\private\install.m near
line 192, column 7
>>


(seems to also apply to L.53)

After fixing these three syntax errors pkg.m works fine.

My cross-build box has just been shut down; if no one beats me to it I might
prepare a changeset tomorrow night at the earliest.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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