[Debian-med-packaging] Bug#781294: fw4spl: FTBFS: trouble finding HDF5

Aaron M. Ucko ucko at debian.org
Fri Mar 27 03:39:51 UTC 2015

Source: fw4spl
Version: 0.9.2-1
Severity: serious
Justification: fails to build from source

Automated builds of fw4spl have been failing to detect HDF5 fully:

  -- Configuring fwAtomsHdf5IO: /«PKGBUILDDIR»/SrcLib/io/fwAtomsHdf5IO
  CMake Warning (dev) at CMakeLists.txt:135 (get_target_property):
    Policy CMP0026 is not set: Disallow use of the LOCATION target property.
    Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
    command to set the policy and suppress this warning.
    The LOCATION property should not be read from target "fwAtomsHdf5IO".  Use
    the target name directly with add_custom_command, or use the generator
    expression $<TARGET_FILE>, as appropriate.
  Call Stack (most recent call first):
    CMakeLists.txt:300 (configureProject)
    CMakeLists.txt:537 (fwLib)
    SrcLib/io/fwAtomsHdf5IO/CMakeLists.txt:1 (fwLoadProperties)
  This warning is for project developers.  Use -Wno-dev to suppress it.
  #### : /usr/include/hdf5/serial
  -- Found HDF5: HDF5_LIBRARY-NOTFOUND;/usr/lib/i386-linux-gnu/libhdf5_cpp.so  

I'm not sure what the problem is, since fw4spl properly declares a
build dependency on libhdf5-dev, and CMake is able to locate

Could you please take a look?

Incidentally, there are a lot of warnings about the LOCATION property
cluttering up CMake's output; please also consider either addressing
or at least suppressing them.


More information about the Debian-med-packaging mailing list