Hi,

Please, send the error, or better yet the whole log.

Rutherther 

On May 18, 2025 11:59:08 PM GMT+02:00, Kjartan Oli Agustsson 
<kjartan...@outlook.com> wrote:
>I have been attempting to update Jami and its dependencies (libjami,
>opendht, dhtnet, etc.).  Currently I am facing a build failure of dhtnet
>where pkg-config does not seem to find opendht.  I can see
>/gnu/store/hw71kmr819yn7zwb9ysx7k8qwrmndxgs-opendht-3.3.1-0.c3669cf/lib/pkgconfig
>in PKG_CONFIG_PATH in the environment-variables file left by 'guix build
>--keep-failed' and it does contain a opendht.pc file.  Does anyone have
>any idea what is going wrong?
>
>Here is my definition for dhtnet if it helps.  It just bumps the
>revision number and commit, and updates the hash accordingly.
>
>(define-public dhtnet
>  ;; There is no tag nor release; use the latest available commit.
>  (let ((revision "4")
>        (commit "36630fa2bc8145cd57a5b4d53ae1d6eff0b6d8f3"))
>    (package
>      (name "dhtnet")
>      ;; The base version is taken from the CMakeLists.txt file (see:
>      ;;
>https://review.jami.net/plugins/gitiles/dhtnet/+/master/CMakeLists.txt#3).
>      (version (git-version "0.0.1" revision commit))
>      (source (origin
>                (method git-fetch)
>                (uri (git-reference
>                      (url "https://github.com/savoirfairelinux/dhtnet";)
>                      (commit commit)))
>                (file-name (git-file-name name version))
>                (sha256
>                 (base32
>                  "0fwngx99h0s4a3b6wx62vwnksi5v14y9q05lkq3h8xgx9fdvzpla"))))
>      (outputs (list "out" "debug"))
>      (build-system cmake-build-system)
>      (arguments
>       (list
>        #:configure-flags #~(list "-DBUILD_DEPENDENCIES=OFF"
>                                  "-DBUILD_SHARED_LIBS=ON"
>                                  "-DBUILD_TESTING=ON")
>        #:phases
>        #~(modify-phases %standard-phases
>            (add-after 'unpack 'delete-problematic-tests
>              (lambda _
>                (substitute* "CMakeLists.txt"
>                  ;; The connectionaMnager, the ICE and turnCache tests fail
>                  ;; inside the containerized build environment, due to
>                  ;; relying on a name resolver (see:
>                  ;;
>https://git.jami.net/savoirfairelinux/dhtnet/-/issues/25).
>                  ((".*tests_connectionManager.*") "")
>                  ((".*tests_ice.*") "")
>                  ((".*tests_turnCache.*") "")
>                  ;; The peerDiscovery test fails for unknown reasons, on an
>                  ;; assertion that checks the value of 'isBobRecvChanlReq'.
>                  ((".*tests_peerDiscovery.*") "")))))))
>      (native-inputs (list cppunit pkg-config))
>      ;; This library depends on the Jami fork of pjproject that adds ICE
>      ;; support.
>      (inputs
>       (list asio
>             fmt
>             msgpack-cxx
>             opendht
>             libupnp
>             pjproject-jami
>             readline
>             yaml-cpp))
>      (home-page "https://github.com/savoirfairelinux/dhtnet/";)
>      (synopsis "OpenDHT network library for C++")
>      (description "The @code{dhtnet} is a C++ library providing
>abstractions
>for interacting with an OpenDHT distributed network.")
>      (license license:gpl3+))))

Reply via email to