Hi,

Adrian Bunk wrote:
> ...
> Build type set to 'RelWithDebInfo'
> -- Version: 0.6.1
> -- Boost version: 1.67.0
> -- Found the following Boost libraries:
> --   atomic
> --   chrono
> --   date_time
> --   iostreams
> --   random
> --   regex
> --   system
> --   thread
> -- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.11") 
> -- Found OpenSSL: /usr/lib/aarch64-linux-gnu/libcrypto.so (found version 
> "1.1.1")  
> CMake Error at CMakeLists.txt:251 (find_package):
>   By not providing "FindMatrixClient.cmake" in CMAKE_MODULE_PATH this project
>   has asked CMake to find a package configuration file provided by
>   "MatrixClient", but CMake did not find one.
> 
>   Could not find a package configuration file provided by "MatrixClient"
>   (requested version 0.1.0) with any of the following names:
> 
>     MatrixClientConfig.cmake
>     matrixclient-config.cmake

The cause for this might be much earlier:

[...]
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   atomic
--   chrono
--   date_time
--   iostreams
--   random
--   regex
--   system
--   thread
CMake Warning at CMakeLists.txt:200 (export):
  Cannot create package registry file:

    
/sbuild-nonexistent/.cmake/packages/MatrixClient/217899eff9ecbd2457b9e7580f99b5aa

  No such file or directory



-- Configuring done
-- Generating done
[...]

At least it's very suspicious that a build tries to write to a user's
home directory (which does not exist on purpose on build daemons). So
CMake not finding such a package file could be a result of not being
able to create a file (or directory) containing ".cmake/packages/" in
its path.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to