[MacPorts] #49198: netcdf @4.3.3.1_2 +dap +netcdf4 +gcc49/+gcc5 test fails

MacPorts noreply at macports.org
Thu Nov 26 01:29:33 PST 2015


#49198: netcdf @4.3.3.1_2 +dap +netcdf4 +gcc49/+gcc5 test fails
-------------------------+-----------------------
  Reporter:  dstrubbe@…  |      Owner:  takeshi@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:
      Port:  netcdf      |
-------------------------+-----------------------

Comment (by piergiuseppe.fogli@…):

 I have a similar problem with netcdf @4.3.3.1_4+dap+gcc5+netcdf4 using
 MacPorts 2.3.4 on El Capitan (10.11.1). The installation process seems OK,
 but I have problems running ncdump or other software using the netcdf
 library (nco, cdo, ncview, ...). [[BR]]
 gdb gives the following error:

 {{{
 sudo gdb --args ncdump -h foo.nc
 Reading symbols from ncdump...(no debugging symbols found)...done.
 (gdb) run
 Starting program: /opt/local/bin/ncdump -h foo.nc
 netcdf foo {
 dimensions:
         time = UNLIMITED ; // (120 currently)
         latitude = 180 ;
         longitude = 360 ;
         nv = 2 ;
 variables:

 Program received signal SIGSEGV, Segmentation fault.
 0x00007fff909c12da in stack_not_16_byte_aligned_error () from
 /usr/lib/system/libdyld.dylib
 (gdb) where
 #0  0x00007fff909c12da in stack_not_16_byte_aligned_error () from
 /usr/lib/system/libdyld.dylib
 #1  0x000000000000001c in ?? ()
 #2  0x00000001000b31e8 in ?? () from /opt/local/lib/libnetcdf.7.dylib
 #3  0x0000000000000bbe in ?? ()
 #4  0x0000000100020990 in utf8proc_reencode () from
 /opt/local/lib/libnetcdf.7.dylib
 #5  0x0000000100020a2c in utf8proc_map () from
 /opt/local/lib/libnetcdf.7.dylib
 #6  0x0000000100020a98 in utf8proc_NFC () from
 /opt/local/lib/libnetcdf.7.dylib
 #7  0x000000010002fde2 in NC_finddim () from
 /opt/local/lib/libnetcdf.7.dylib
 #8  0x000000010003027c in NC3_inq_dimid () from
 /opt/local/lib/libnetcdf.7.dylib
 #9  0x000000010001a0e2 in nc_inq_dimid () from
 /opt/local/lib/libnetcdf.7.dylib
 #10 0x0000000100004c25 in do_ncdump_rec.isra ()
 #11 0x000000010000aecb in main ()
 }}}

 This problem does not happen if netcdf is compiled without the gcc5
 variant or with the clang37 variant (I have not tested other versions).

 Might the stack_not_16_byte_aligned_error error be related to the
 [[https://trac.macports.org/ticket/44596#comment:35|Libtool
 MACOSX_DEPLOYMENT_TARGET bug]] happening on El Capitan (10.11)?

-- 
Ticket URL: <https://trac.macports.org/ticket/49198#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list