I have a Gentoo and an openSUSE system, that both have various dpkg* tools installed for $reasons.
I know that I need to disable the CPackDEB tests, they create a dynamic executable and check the deb afterwards. Since this is no Debian like system the libc this links to is not covered by any dep. When running the CPackComponentsDEB-components-depend2 test I get this output: 152: CPack Verbose: Install configuration: "NoConfig" 152: CPack Verbose: Installing: /home/ebeer/repos/build/CMake/Tests/ CPackComponentsDEB/buildDEB-components-depend2/_CPack_Packages/Linux/DEB/ MyLib-1.0.2-Linux/headers/usr/include/mylib.h 152: CPack: Create package 152: CPack Verbose: Package files to: /home/ebeer/repos/build/CMake/Tests/ CPackComponentsDEB/buildDEB-components-depend2/_CPack_Packages/Linux/DEB/ MyLib-1.0.2-Linux.deb 152: -- CPACK_DEBIAN_PACKAGE_DEPENDS not set, the package will have no dependencies. 152: CPack Verbose: Copying final package(s) [3]: 152: CPack: - package: /home/ebeer/repos/build/CMake/Tests/CPackComponentsDEB/ buildDEB-components-depend2/mylib-applications_1.0.2_amd64.deb generated. 152: CPack: - package: /home/ebeer/repos/build/CMake/Tests/CPackComponentsDEB/ buildDEB-components-depend2/mylib-headers_1.0.2_amd64.deb generated. 152: CPack: - package: /home/ebeer/repos/build/CMake/Tests/CPackComponentsDEB/ buildDEB-components-depend2/mylib-libraries_1.0.2_amd64.deb generated. 152: 152: -- CPack_error=CPackDeb: - Generating dependency list 152: 152: -- package='mylib-applications', dependencies='' 152: -- package='mylib-headers', dependencies='mylib-libraries (= 1.0.2), depend-headers' 152: -- package='mylib-libraries', dependencies='depend-default' 152: CMake Error at /home/ebeer/repos/upstream/CMake/Tests/CPackComponentsDEB/ RunCPackVerifyResult-components-depend2.cmake:93 (message): 152: dpkg-deb checks failed: 152: 152: ;dpkg-deb: 152: /home/ebeer/repos/build/CMake/Tests/CPackComponentsDEB/buildDEB- components-depend2/mylib-applications_1.0.2_amd64.deb: 152: Incorrect dependencies for package mylib-applications: '' does not contain 152: any 'lib' Is this the same reason and I should just filter this test out (in contrast to the other CPackComponentsDEB tests, which work fine), do we need some sort of automatic detection, or what? Eike -- -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers