Package: occt-misc
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: franc...@mzf.fr

Dear Maintainer,

the package occt-misc ships the OpenCASCADEConfig.cmake and
OpenCASCADEConfigVersion.cmake files which contains architecture dependent
information like the build flags or checking the pointer size (32/64 bits).

The package is marked as "Architecture: all" which means the amd64 package is
installed on all architecture. This makes the package unusable for other
architecture than x86_64, especially 32bits architectures where a
find_package(OpenCASCADE) fails with the following message:

Could not find a configuration file for package "OpenCASCADE" that is
  compatible with requested version "".
  The following configuration files were considered but not accepted:
    /usr/lib/cmake/opencascade/OpenCASCADEConfig.cmake, version: 7.6.3 (64bit)
    /lib/cmake/opencascade/OpenCASCADEConfig.cmake, version: 7.6.3 (64bit)


A simple fix is to change the Architecture to "any". Another fix is to move
these CMake files to an other binary package of opencascade which is
Architecture "any" (like libocct-foundation-dev for example).

François

Reply via email to