[MacPorts] #53031: macports ncl fails, mac install of ncarg works

MacPorts noreply at macports.org
Wed Aug 8 00:43:08 UTC 2018


#53031: macports ncl fails, mac install of ncarg works
---------------------+----------------------
  Reporter:  basmac  |      Owner:  tenomoto
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.3.5
Resolution:          |   Keywords:
      Port:  ncarg   |
---------------------+----------------------

Comment (by Dave-Allured):

 Here is a more reduced demo for the `setfileoption` bug:

 {{{
 procedure test3 ()
 begin
   setfileoption ("nc", "Format", "Classic")
   x = 99
   print (x+"")
 end

 begin
   test3 ()
 end
 }}}

 This should just print "99" if NCL is working correctly.  With current
 build ncarg.6.4.0_9 it gets this error, which is equivalent to the
 previously reported errors:

 {{{
 > ncl test3.setfileoption.ncl
  NCAR Command Language Version 6.4.0
 fatal:Variable (x) is undefined
 fatal:["Execute.c":8640]:Execute: Error occurred at or near line 5 in file
 test3.setfileoption.ncl
 fatal:["Execute.c":8640]:Execute: Error occurred at or near line 9 in file
 test3.setfileoption.ncl
 }}}

 The previous test script, bar.ncl, is longer than needed, and it contains
 an unrelated bug that can also corrupt NCL execution and print more
 confusing errors.  The problem is a missing "undef" statement at the top,
 not related to the current issue.

 I agree with Takeshi's previous observation that `setfileoption` appears
 to break the symbol table.

-- 
Ticket URL: <https://trac.macports.org/ticket/53031#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list