[MacPorts] #50911: netcdf +gcc5 Segmentation fault: 11 on El Capitan
#50911: netcdf +gcc5 Segmentation fault: 11 on El Capitan ---------------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: gcc5 segfault | Port: netcdf ---------------------------+-------------------------------- The default build works, but ncarg requires a +gcc5 build which does not work: {{{ $ port installed netcdf The following ports are currently installed: netcdf @4.3.3.1_4+dap+gcc5+netcdf4 netcdf @4.3.3.1_4+dap+netcdf4 (active) $ /opt/local/bin/ncdump -h /opt/local/lib/ncarg/data/cdf/ocean.nc netcdf ocean { dimensions: z_t = 25 ; lat_t = 66 ; variables: float T(z_t, lat_t) ; T:lon_t = 199.8f ; T:time = 69715. ; T:long_name = "Potential Temperature" ; T:units = "Celsius" ; T:time_rep = "averaged" ; T:missing_value = 9.999999e+29f ; T:_FillValue = 9.999999e+29f ; float z_t(z_t) ; z_t:long_name = "Depth (T grid)" ; z_t:units = "centimeters" ; z_t:minimum = 600.f ; z_t:maximum = 477529.f ; z_t:positive = "down" ; float lat_t(lat_t) ; lat_t:long_name = "Latitude (T grid)" ; lat_t:units = "degrees_north" ; lat_t:minimum = -78.92963f ; lat_t:maximum = 90.f ; } }}} After activating the {{{+gcc5}}} version, ncdump fails: {{{ $ /opt/local/bin/ncdump -h /opt/local/lib/ncarg/data/cdf/ocean.nc netcdf ocean { dimensions: z_t = 25 ; lat_t = 66 ; variables: Segmentation fault: 11 }}} Other programs (e.g., ncl) also give the {{{Segmentation fault: 11}}}. Upstream has a report of problems on 10.11 at [https://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg13497.html] -- Ticket URL: <https://trac.macports.org/ticket/50911> MacPorts <https://www.macports.org/> Ports system for OS X
#50911: netcdf +gcc5 Segmentation fault: 11 on El Capitan -----------------------+----------------------- Reporter: gnwiii@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: netcdf | -----------------------+----------------------- Changes (by ryandesign@…): * cc: takeshi (removed) * keywords: gcc5 segfault => * owner: macports-tickets@… => takeshi@… Comment: The Cc field requires complete email addresses. -- Ticket URL: <https://trac.macports.org/ticket/50911#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50911: netcdf +gcc5 Segmentation fault: 11 on El Capitan -----------------------+----------------------- Reporter: gnwiii@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: netcdf | -----------------------+----------------------- Comment (by takeshi@…): ncdump indeed fails with gcc5 (but not with gcc49). I'll see what I can. -- Ticket URL: <https://trac.macports.org/ticket/50911#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50911: netcdf +gcc5 Segmentation fault: 11 on El Capitan -----------------------+----------------------- Reporter: gnwiii@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: netcdf | -----------------------+----------------------- Comment (by gnwiii@…): Replying to [comment:3 takeshi@…]:
ncdump indeed fails with gcc5 (but not with gcc49). I'll see what I can.
I just built netcdf-4.4.0 (stable release of Jan 2016) with gcc5 on El Capitan and ncdump is working, so one option could be to move up 4.4.0. The ports used here that broke were: gdal @2.0.2 +expat+hdf4+hdf5+netcdf vis5d @1.3.0-beta wgrib2 @2.0.0 netcdf-fortran @4.4.2 +gcc5 esmf @6_3_0rp1 +accelerate+gcc5 nco @4.5.5 +accelerate ncarg @6.3.0 +gcc5 -- Ticket URL: <https://trac.macports.org/ticket/50911#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50911: netcdf +gcc5 Segmentation fault: 11 on El Capitan -----------------------+----------------------- Reporter: gnwiii@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: netcdf | -----------------------+----------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed Comment: Committed in r147086 and r147087. Rev bumps in r147088. Thank you for reporting and testing. -- Ticket URL: <https://trac.macports.org/ticket/50911#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts