[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
#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
#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: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ncarg | ---------------------------------+----------------------- Changes (by ryandesign@…): * cc: takeshi@… (removed) * owner: macports-tickets@… => takeshi@… -- Ticket URL: <https://trac.macports.org/ticket/43426#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#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: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ncarg | ---------------------------------+----------------------- Comment (by smasson@…): I have the same error that seems to be related to the use of the variant +szip in hdf5-18, hdfeos and hdfeos5. [[BR]] I also have another error that seams to be related to the use on the +openmpi variant of hdf5-18: {{{ :info:build In file included from /opt/local/include/hdf5.h:24:0, :info:build from FileSupport.c:37: :info:build /opt/local/include/H5public.h:61:20: fatal error: mpi.h: No such file or directory :info:build # include <mpi.h> :info:build ^ :info:build compilation terminated. :info:build make[5]: *** [FileSupport.o] Error 1 }}} I attach my main.log file. -- Ticket URL: <https://trac.macports.org/ticket/43426#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#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: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ncarg | ---------------------------------+----------------------- Comment (by takeshi@…): Sorry for extremely slow response. It seems that this is a hdf4 problem. Are szip and hdf4 +szip built correctly? What is the output of the following? ${prefix} is usually /opt/local {{{ otool -L ${prefix}/lib/libdf.dylib }}} I fixed the problem when hdf5 is installed with a MPI variant in r124290. I hope this helps. -- Ticket URL: <https://trac.macports.org/ticket/43426#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#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: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ncarg | ---------------------------------+----------------------- Comment (by smasson@…): It works for me. I have been able to install ncarg @6.2.0_0+gcc48+openmpi [[BR]] thank you so much. Seb -- Ticket URL: <https://trac.macports.org/ticket/43426#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#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: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: ncarg | ---------------------------------+----------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed Comment: Close the ticket for now. Reopen or file a new if you see a problem. -- Ticket URL: <https://trac.macports.org/ticket/43426#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts