pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/58957: security/qt5-qtkeychain fails without dbus (with -dbus option)



>Number:         58957
>Category:       pkg
>Synopsis:       security/qt5-qtkeychain fails without dbus (with -dbus option)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 03 16:20:00 +0000 2025
>Originator:     Robert Whitlock
>Release:        pkgsrc current,  Jan 3, 2025
>Organization:
>Environment:
NetBSD current, Nov 9, 2024, amd64
>Description:
Building security/qt5-qtkeychain fails when dbus is not installed with the following output:

=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for qtkeychain-0.9.1.tar.gz
=> Checksum SHA512 OK for qtkeychain-0.9.1.tar.gz
===> Installing dependencies for qt5-qtkeychain-0.9.1nb33
==========================================================================
The following variables will affect the build process of this package,
qt5-qtkeychain-0.9.1nb33.  Their current value is shown below:

        * CURSES_DEFAULT = curses
        * JPEG_DEFAULT = jpeg
        * SSLBASE = /usr
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

Based on these variables, the following variables have been set:

        * CURSES_TYPE = curses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.31.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.36: found x11-links-1.36
=> Full dependency qt5-qtbase>=5.15.16: found qt5-qtbase-5.15.16nb1
=> Full dependency qt5-qttools>=5.15.16: found qt5-qttools-5.15.16
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for qt5-qtkeychain-0.9.1nb33
===> Extracting for qt5-qtkeychain-0.9.1nb33
===> Patching for qt5-qtkeychain-0.9.1nb33
===> Creating toolchain wrappers for qt5-qtkeychain-0.9.1nb33
===> Configuring for qt5-qtkeychain-0.9.1nb33
=> Generating pkg-config file for builtin expat package.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is GNU 12.4.0
-- The CXX compiler identification is GNU 12.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/pkgsrc/security/qt5-qtkeychain/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/pkgsrc/security/qt5-qtkeychain/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/pkgsrc/security/qt5-qtkeychain/work/.tools/bin/pkg-config (found version "2.3.0")
CMake Error at CMakeLists.txt:46 (find_package):
  By not providing "FindQt5DBus.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5DBus", but
  CMake did not find one.

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

    Qt5DBusConfig.cmake
    qt5dbus-config.cmake

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


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make[1]: stopped making "install" in /usr/pkgsrc/security/qt5-qtkeychain
*** Error code 1

Stop.
make: stopped making "install" in /usr/pkgsrc/security/qt5-qtkeychain

>How-To-Repeat:
have PKG_DEFAULT_OPTIONS+= -dbus in /etc/mk.conf so that dbus is not installed
cd security/qt5-qtkeychain
make install
>Fix:



Home | Main Index | Thread Index | Old Index