[MacPorts] #45195: ncarg @6.2.1 +gcc49 Compile Error (includes +mpich) and also cannot find "_HE5_EHHEisHE5"
MacPorts
noreply at macports.org
Sun Sep 28 09:03:53 PDT 2014
#45195: ncarg @6.2.1 +gcc49 Compile Error (includes +mpich) and also cannot find
"_HE5_EHHEisHE5"
--------------------------------+--------------------------------
Reporter: William.Capehart@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Keywords: | Port: ncarg
--------------------------------+--------------------------------
In updating NCAR Command Language (ncarg) I am not able to complete the
build: The error is
{{{
:info:build mpicc-mpich-gcc49 -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 -DDarwin -DMAJOR=13
-DBuildHDFEOS -DBuildHDF4 -DBuildHDFEOS5
-DBuildHDF5 -DBuildGRIB2 -D__64BIT__ -DBuildGDAL
-DUSE_NETCDF4_FEATURES
-DSYSV -D_XOPEN_SOURCE -DByteSwapped -D__UNIXOS2__ -D__JIRA1530__
-DNeedFuncProto -c -o Ncl.o Ncl.c
:info:build mpicc-mpich-gcc49 -fPIC -ansi -D_DARWIN_C_SOURCE -Os -o
ncl Ncl.o io.o NclHLUObj.o NclApi.o guiFuncs.o NclDriver.o
scanner.o parser.o MathFuncs.o NclTypedouble.o NclTypefloat.o
NclTypeint.o NclTypelogical.o NclTypelong.o NclTypeobj.o
NclTypeshort.o NclTypestring.o NclTypeint64.o
NclTypeuint64.o NclTypeubyte.o
NclTypeushort.o NclTypeuint.o NclTypeulong.o
NclTypebyte.o NclTypechar.o TypeSupport.o
NclMultiDValData.o AddFileFormats.o AttSupport.o DataSupport.o
FileSupport.o Formats.o GetGrids.o
AdvancedFileSupport.o NclAdvancedFile.o
NclAdvancedGroup.o InitData.o Memory.o NclAtt.o
NclCCM.o NclCoordVar.o NclData.o NclGroup.o NclFile.o
NclFileVar.o NclGRIB.o NclMultiDValnclfileData.o
NclNetCdf.o NclOneDValCoordData.o NclType.o
NclTypelist.o NclVar.o VarSupport.o ctoiee.o date.o
qu2reg3.o rowina3.o scm0.o ncepcode.o NclHDFEOS.o
NclHDF.o NclHDFEOS5.o NclNewHDFEOS5.o NclNewHDF5.o
NclHDF5.o h5reader.o h5writer.o
NclNetCDF4.o NclGRIB2.o NclOGR.o NclAdvancedOGR.o
AddBuiltIns.o AddHLUObjs.o AddIntrinsics.o
Execute.o Machine.o OpsFuncs.o SrcTree.o
Symbol.o Translate.o NclHLUVar.o HLUSupport.o
NclMultiDValHLUObjData.o BuiltInSupport.o
BuiltInFuncs.o javaAddProto.o javaAddFuncs.o
userAddProto.o userAddFuncs.o HLUFunctions.o yywrap.o
craybin.o complete.o editline.o sysunix.o
ListSupport.o NclList.o NclMultiDVallistData.o
NclProf.o NclTime.o fortranio.o -L../../.././ni/src/lib/nfp -lnfp
-L../../.././ni/src/lib/nfpfort -lnfpfort -L../../.././ni/src/lib/hlu
-lhlu -L../../.././ncarg2d/src/libncarg -lncarg
-L../../.././ncarg2d/src/libncarg_gks -lncarg_gks
-L../../.././common/src/libncarg_c -lncarg_c -L../../.././ngmath/src/lib
-lngmath
-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.1
-L/opt/local/lib -L/opt/local/lib/hdfeos5/lib -L/opt/local/lib -lnetcdf
-lhe5_hdfeos -lGctp -lhdf5 -lhdf5_hl -lhdf5 -lhdfeos -lGctp -lmfhdf -ldf
-ljpeg -lz -lhdf5_hl -lhdf5 -lz -lgdal -lproj -ljpeg -ludunits2 -lexpat
-lv5d -lgrib2c -ljasper -lpng -lz -ljpeg -lpng -lz -lcairo -lfontconfig
-lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2
-L../../.././external/sphere3.1_dp
../../.././external/sphere3.1_dp/libsphere3.1_dp.a
-L../../.././external/fftpack5_dp
../../.././external/fftpack5_dp/libfftpack5_dp.a
-L../../.././external/lapack ../../.././external/lapack/liblapack_ncl.a
-L../../.././external/blas ../../.././external/blas/libblas_ncl.a -lXpm
-lX11 -lXext -lgfortran -lgomp -lquadmath -lm -ldl
: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 "_HE5_EHHEisHE5", referenced from:
:info:build import-atom in libhe5_hdfeos.dylib
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: error: ld returned 1 exit status
:info:build make[4]: *** [ncl] Error 1
: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.1/ni/src/ncl'
}}}
Also since my netcdf, hdf4, hdf5 and hdfeos5 are enabled for mpich, it is
also building with mpich. I am not sure that that is the problem.
--
Ticket URL: <https://trac.macports.org/ticket/45195>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list