Bug#815683: liburdfdom-headers-dev: gratuitous pointer size check

Aaron M. Ucko amu at alum.mit.edu
Tue Feb 23 17:34:41 UTC 2016


Package: liburdfdom-headers-dev
Version: 0.4.1-1
Severity: serious
Justification: makes urdfdom FTBFS on 32-bit architectures

/usr/share/urdfdom_headers/cmake/urdfdom_headers-config.cmake refuses
to support systems with different pointer sizes than the (64-bit)
system on which it was built:

  # check that the installed version has the same 32/64bit-ness as the one which is currently searching:
  if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
    math(EXPR installedBits "8 * 8")
    set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
    set(PACKAGE_VERSION_UNSUITABLE TRUE)
  endif()

This logic appears to come from cmake's
BasicConfigVersion-SameMajorVersion.cmake.in, but is uncalled for
here.

Please either formally change this package's architecture to any or
arrange to suppress this spurious logic.  As it stands, 32-bit builds
of urdfdom are failing:

  CMake Error at CMakeLists.txt:41 (find_package):
    Could not find a configuration file for package "urdfdom_headers" that is
    compatible with requested version "0.4".
  
    The following configuration files were considered but not accepted:
  
      /usr/share/urdfdom_headers/cmake/urdfdom_headers-config.cmake, version: 0.4.0 (64bit)
  
  
  
  -- Configuring incomplete, errors occurred!
  See also "/«PKGBUILDDIR»/obj-i586-linux-gnu/CMakeFiles/CMakeOutput.log".

Could you please take a look?

Thanks!



More information about the debian-science-maintainers mailing list