On 03/06/14 13:08, Daniel Vrátil wrote: > Hi, > > I noticed that in ECM, the generated file in > /usr/share/ECM/cmake/ECMConfigVersion.cmake contains an architecture check: > > # 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 "4") > math(EXPR installedBits "4 * 8") > set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") > set(PACKAGE_VERSION_UNSUITABLE TRUE) > endif() > > However ECM is "noarch" - it installs only non-binary files to /usr/share, > so > it should not matter what architecture it has been "compiled" on and what > arch > it's installed on. However thanks to the arch check, when the package gets > build on an i686 builder (which happened to me in this case), it's not > possible to build any 64bit packages against it:
Ah, this was some unexpected fallout from giving ECM a language. See https://git.reviewboard.kde.org/r/118498/ for a fix. BTW, for future reference, discussion about ECM happens on the kde-buildsystem mailing list. Alex _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel