Closed stuartcampbell closed 8 years ago
Running with -DENABLE_FORTRAN77=0 -DENABLE_FORTRAN90=0
seems to build
@stuartcampbell Hi if you remove ${NAPI_LINK_LIBS} from the target_link_libraries line for NXtestf90 in test/CMakeLists.txt does that help?
Removing ${NAPI_LINK_LIBS}
did the job as Freddy expected (see also my commit message). However, the Fortran 77 tests for HDF4 and MXML are still causing segfaults on Fedora 23.
XML works for me after Eugen's fix, crash in HDF4 is in Vattach() - stopping the crash requires a patch to the hdf4 source code
In Vattach() at hdf/src/vgp.c line 1248 where the code looks like
/* convert file id to file record and check for write-permission */
file_rec = HAatom_object(f);
if((file_rec==NULL || acc_mode=='w') && !(file_rec->access&DFACC_WRITE))
HGOTO_ERROR(DFE_BADACC, FAIL);
You need to change the middle line to:
if ( (file_rec==NULL) || ((acc_mode=='w') && !(file_rec->access&DFACC_WRITE)) )
To avoid a NULL pointer dereference. After that, the test no longer crashes but instead prints "ERROR: HDF could not create Vgroup". Not sure why it can't create a vgroup at the moment, but I've report the above incorrect logic issue to the HDF group
OK, for me "make test" now works but if I run the test by hand it fails. @eugenwintersberger I believe you were seeing this the other way around?
@FreddieAkeroyd Yes, I saw this the other way around. It failed during make test
.
Looks good for me. Tests are passing now on Fedora 23.
Looks good by me too
Myself and @peterfpeterson have the same problem. Grabbing the 4.4.1-rc2 tarball and building with
-DENABLE_HDF5=1 -DENABLE_HDF4=1 -DENABLE_MXML=1 -DENABLE_CXX=1 -DENABLE_FORTRAN77=1 -DENABLE_FORTRAN90=1 -DENABLE_APPS=1
You end up with lots of errors...
4.4.1-rc1 builds ok on the same machine.