#1144017 sol2-dev: architecture-specific contents in binary-all package

Package:
sol2-dev
Source:
sol2-dev
Submitter:
Adrian Bunk
Date:
2026-08-10 19:11:02 UTC
Severity:
normal
Tags:
#1144017#5
Date:
2026-08-09 19:45:14 UTC
From:
To:
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.

#1144017#12
Date:
2026-08-10 19:08:04 UTC
From:
To:
Dear Maintainer,

Please find in attachment a patch that you can drop in the
debian/patches/ directory to fix this issue

Best regards,
Sébastien