Hi myon,
Cmake files check for matching architecture width now, mark package as Arch: any
* Cmake files check for matching architecture width now, mark package as
Arch: any. (The header files themselves do not change. Closes: #1040191)
* Drop M-A: foreign.
Thanks for the quick fix, but I'm not super happy about this solution.
This package *really* installs only platform-independent header files,
and I think the error is wrong.
But I can see where it's coming from; one of the cmake scripts contains
boilerplate that depends on the installation architecture:
/usr/lib/cmake/Libnest2D/Libnest2DConfigVersion.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()
I'll report this upstream, perhaps this was really unintentional
(copy&paste).
And it looks like we're not the first with this sort of issue:
https://stackoverflow.com/questions/51659082/how-to-skip-32-64bit-ness-check-in-xxxconfigversion-cmake
Regards,
Gregor