Package: libnng-dev
Version: 1.6.0-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

After upgrade to libnng-dev 1.6.0, build program that depends on
libnng-dev with cmake will report error if using:

find_package(nng CONFIG REQUIRED) in cmake.

Output error when cmake:


    CMake Error at /usr/lib/x86_64-linux-gnu/cmake/nng/nng-config.cmake:55 
(find_package):
    By not providing "FindmbedTLS.cmake" in CMAKE_MODULE_PATH this project has
    asked CMake to find a package configuration file provided by "mbedTLS", but
    CMake did not find one.

    Could not find a package configuration file provided by "mbedTLS" with any
    of the following names:

      mbedTLSConfig.cmake
      mbedtls-config.cmake

    Add the installation prefix of "mbedTLS" to CMAKE_PREFIX_PATH or set
    "mbedTLS_DIR" to a directory containing one of the above files.  If
    "mbedTLS" provides a separate development package or SDK, be sure it has
    been installed.


Ref to file nng-config.cmake lines:

    # Make sure we find packages for our dependencies
    foreach(_PKG IN ITEMS Threads;mbedTLS)
            find_package(${_PKG} REQUIRED)
    endforeach ()


These break program building.




-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libnng-dev depends on:
ii  libmbedtls-dev  2.28.5-1
ii  libnng1         1.6.0-1

libnng-dev recommends no packages.

libnng-dev suggests no packages.

-- no debconf information

Reply via email to