On 10/15/21 9:27 PM, Andreas Tille wrote:
Hi Flavien, Am Fri, Oct 15, 2021 at 09:46:46AM +0200 schrieb Flavien Bridault:Cmake 21 reached testing, so that's all clear for me. You may upload the new version of the package.I'm afraid you have installed some Build-Depends on your testing system which are not mentioned in Build-Depends. The proper way to develop a package is to use a chroot environment (either pbuilder or sbuild) which will fail if some Build-Depends is missing. If I try to build in
The error seems to stem from camp package. It seems to some prefix value wrong, which then references "/usr/lib/include" (which does not exist) as shown in the error log. I tried setting the prefix right with a patch (see below) but now it fails with CMake Error at /usr/lib/x86_64-linux-gnu/camp/cmake/CAMPTargets.cmake:79 (message): The imported target "camp::camp" references the file "/usr/lib/lib/x86_64-linux-gnu/libcamp.so.0.8.4" again some path setting problem, but at this point, my cmake-foo/cmake-skills ends -- hence I'd appreciate help. Nilesh --- a/cmake/CAMPConfig.cmake.in +++ b/cmake/CAMPConfig.cmake.in @@ -2,6 +2,7 @@@PACKAGE_INIT@ +set(PACKAGE_PREFIX_DIR "/usr")
set_and_check(CAMP_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include")include("${CMAKE_CURRENT_LIST_DIR}/CAMPTargets.cmake")
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature