[MacPorts] #64361: ncarg @6.6.2_7: setfileoption segmentation fault

MacPorts noreply at macports.org
Tue Nov 22 18:36:33 UTC 2022


#64361: ncarg @6.6.2_7: setfileoption segmentation fault
-----------------------+----------------------
  Reporter:  cmstuber  |      Owner:  tenomoto
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:            |   Keywords:
      Port:  ncarg     |
-----------------------+----------------------

Comment (by Dave-Allured):

 This might have little or nothing to do with **HDF5**.  The basic
 `setfileoption` function seems to be broken.  This is with my own
 **ncarg** built from source, including `-DH5_USE_110_API` (hence the fake
 rev 16 on the portfile).
 {{{
   hdf5 @1.12.2_1+cxx+hl (active)
   ncarg @6.6.2_16+accelerate+gfortran (active)
 }}}
 {{{
 > ncl -Q
 ncl 0> setfileoption ("bin", "ReadByteOrder", "LittleEndian")
 Segmentation fault
 }}}
 I got the same result with the original rev 15 portfile, also with
 `-DH5_USE_18_API`.

 Changing the first arg to "bin" should result in no calls at all to
 **HDF5**, unless someone is doing something too clever under the hood.

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


More information about the macports-tickets mailing list