There is a typo in the CMake test call - it should be using the "latest" version of the hdf5 file. This will be fixed in the next release of 1.10.
Allen On Tuesday, June 07, 2016 04:16:51 PM Roger Leigh wrote: > Hi folks, > > I'm looking at the preliminary work needed to add HDF5 to our project > builds, but encountered a few errors which I was hoping someone might be > able to provide pointers or suggestions for. > > Logs are here: > https://gist.github.com/rleigh-dundee/1337ed94f446ba7afc3e1a7a94da6f44 > > On Linux (Ubuntu 16.04) and MacOS X (10.11 with latest Xcode), I get a > single test failure. In both cases, I built with CMake (Unix Makefiles > on Ubuntu, Ninja on MacOS X, to make sure it wasn't a generator-specific > bug), and I didn't specify any hdf5-specific configuration options, just > the install prefix: > > Start 632: H5CLEAR-clear_open_chk-latest_log_v3_F > > 632: Test command: > /Users/rleigh/code/ome-cmake-superbuild/h/hdf5-build/bin/clear_open_chk > "h5clear_log_v3.h5" > 632: Test timeout computed to be: 600 > 632/2317 Test #632: H5CLEAR-clear_open_chk-latest_log_v3_F > > This doesn't look platform- or compiler-specific since it fails in > exactly the same way on both. Is this a known issue? > > On Windows with CMake/Ninja, I get > > [4/1416] Running utility command for h5watch-files > FAILED: cmd.exe /C "cd /D > V:\ome-cmake-superbuild\b\hdf5-build\hl\tools\h5watch && "C:\Program > Files (x86)\CMake\bin\cmake.exe" -E copy_if_different > V:/ome-cmake-superbuild/b/hdf5-source/hl/tools/testfiles/w-help1.ddl > V:/ome-cmake-superbuild/b/hdf5-build/hl/tools/h5watch/testfiles/w-help1.ddl > && ... > [ elided 10 kilobytes of commands! ] > ..."C:\Program Files (x86)\CMake\bin\cmake.exe" -E > copy_if_different > V:/ome-cmake-superbuild/b/hdf5-source/hl/tools/testfiles/w-ext-two-width.ddl > V:/ome-cmake-superbuild/b/hdf5-build/hl/tools/h5watch/testfiles/w-ext-two-w > idth.ddl" The command line is too long. > > (I also had a similar failure on Linux, but don't have a log for it > right now.) > > Is the CMake logic here correct? Or could this be split up into a > number of separate custom commands/targets which are run separately > rather than in a single shot which is exceeding the practical limits of > at least two systems. > > > Kind regards, > Roger Leigh > > -- > Dr Roger Leigh -- Open Microscopy Environment > Wellcome Trust Centre for Gene Regulation and Expression, > School of Life Sciences, University of Dundee, Dow Street, > Dundee DD1 5EH Scotland UK Tel: (01382) 386364 > > The University of Dundee is a registered Scottish Charity, No: SC015096 > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org > Twitter: https://twitter.com/hdf5 _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
