Package: sol2-dev
Version: 3.5.0-3
Severity: serious
Tags: ftbfs
Control: affects -1 src:osrm-backend

On 32-bit:

https://buildd.debian.org/status/fetch.php?pkg=osrm-backend&arch=m68k&ver=26.5.0%2Bdfsg1-3&stamp=1785998790&raw=0

...
CMake Error at CMakeLists.txt:364 (find_package):
  Could not find a configuration file for package "sol2" that is compatible
  with requested version "".

  The following configuration files were considered but not accepted:

    /usr/share/cmake/sol2/sol2-config.cmake, version: 3.5.0 (64bit)
      The version found is not compatible with the version requested.
...


This is due to:

$ cat /usr/share/cmake/sol2/sol2-config-version.cmake
...
# 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()
$


If this cannot be easily fixed in the package,
then making sol2-dev binary-any is an option.

Reply via email to