[MacPorts] #43426: ncarg @6.2.0 +gcc48 Error on Build in ctrans, itrans, rasstat, rasls, rascal, rasps, rasgetpal & ras2ccir601 : hcomp and cszip compression errors on compile

MacPorts noreply at macports.org
Sun Apr 20 09:12:38 PDT 2014


#43426: ncarg @6.2.0 +gcc48  Error on Build in ctrans,  itrans, rasstat, rasls,
rascal, rasps, rasgetpal & ras2ccir601 : hcomp and cszip compression errors
on compile
--------------------------------+--------------------------------
 Reporter:  William.Capehart@…  |      Owner:  macports-tickets@…
     Type:  defect              |     Status:  new
 Priority:  Normal              |  Milestone:
Component:  ports               |    Version:  2.2.1
 Keywords:                      |       Port:  ncarg
--------------------------------+--------------------------------
 On building NCL/NCARG 6.2.0 there is an error that seems to be linked to
 the compression libraries which are an essential part of NCL if you want
 to tackle the primary data formats with which we are expected to work
 (e.g, GRIB2 and netCDF)

 Log is attached

 Sample Errors (it seems to involve cszip.o & hcomp.o in libdf.a

 {{{


 :info:build make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.2.0/ncarview/src/lib/libictrans'
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.2.0/ncarview/src/lib'
 :info:build Making ./ncarview/src/bin
 :info:build make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.2.0/ncarview/src/bin'
 :info:build Making ./ncarview/src/bin/ctrans
 :info:build make[5]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.2.0/ncarview/src/bin/ctrans'
 :info:build /opt/local/bin/gcc-mp-4.8 -fPIC -ansi -D_DARWIN_C_SOURCE  -Os
 -I../../../.././include -I/opt/local/include/freetype2
 -I/opt/local/include/udunits2 -I/opt/local/lib/hdfeos5/include
 -I/opt/local/include    -DSYSV -D_XOPEN_SOURCE -DByteSwapped -D__UNIXOS2__
 -D__JIRA1530__ -DNeedFuncProto    -c -o main.o main.c
 :info:build /opt/local/bin/gcc-mp-4.8 -fPIC -ansi -D_DARWIN_C_SOURCE  -Os
 -o ctrans main.o ../../../.././ncarview/src/lib/libctrans/libctrans.o
 -L../../../.././ncarview/src/lib/libcgm -lcgm
 -L../../../.././ncarview/src/lib/libncarg_ras -lncarg_ras
 -L../../../.././common/src/libncarg_c -lncarg_c
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ncarg/ncarg/work/destroot/opt/local/lib
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.2.0
 -L/opt/local/lib -L/opt/local/lib/hdfeos5/lib -L/opt/local/lib -lXpm -lX11
 -lXext   -lmfhdf -ldf -ljpeg -lz -lm
 :info:build ld: warning: directory not found for option
 '-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ncarg/ncarg/work/destroot/opt/local/lib'
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_SZ_BufftoBuffDecompress", referenced from:
 :info:build       _HCIcszip_decode in libdf.a(cszip.o)
 :info:build   "_SZ_encoder_enabled", referenced from:
 :info:build       _HCIinit_coder in libdf.a(hcomp.o)
 :info:build       _HCget_config_info in libdf.a(hcomp.o)
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build collect2: error: ld returned 1 exit status
 :info:build make[5]: *** [ctrans] Error 1


 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43426>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list