NetBSD Problem Report #58957
From www@netbsd.org Fri Jan 3 16:18:47 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 8BE771A9238
for <gnats-bugs@gnats.NetBSD.org>; Fri, 3 Jan 2025 16:18:47 +0000 (UTC)
Message-Id: <20250103161846.06C9F1A923A@mollari.NetBSD.org>
Date: Fri, 3 Jan 2025 16:18:45 +0000 (UTC)
From: rwhitlock22@gmail.com
Reply-To: rwhitlock22@gmail.com
To: gnats-bugs@NetBSD.org
Subject: security/qt5-qtkeychain fails without dbus (with -dbus option)
X-Send-Pr-Version: www-1.0
>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
>Last-Modified: Tue Jun 10 15:25:01 +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:
>Audit-Trail:
From: Rob Whitlock <rwhitlock22@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org,
gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/58957: security/qt5-qtkeychain fails without dbus (with -dbus
option)
Date: Mon, 13 Jan 2025 00:20:32 -0500
> On Jan 3, 2025, at 11:20 AM, rwhitlock22@gmail.com wrote:
>> How-To-Repeat:
> have PKG_DEFAULT_OPTIONS+=3D -dbus in /etc/mk.conf so that dbus is not =
installed
Correction: this error happens even when dbus is installed.=
From: Rob Whitlock <rwhitlock22@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org,
gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/58957: security/qt5-qtkeychain fails without dbus (with -dbus
option)
Date: Tue, 10 Jun 2025 11:22:44 -0400
> On Jan 13, 2025, at 12:25 AM, Rob Whitlock via gnats =
<gnats-admin@NetBSD.org> wrote:
>=20
> The following reply was made to PR pkg/58957; it has been noted by =
GNATS.
>=20
> From: Rob Whitlock <rwhitlock22@gmail.com>
> To: gnats-bugs@netbsd.org
> Cc: pkg-manager@netbsd.org,
> gnats-admin@netbsd.org,
> pkgsrc-bugs@netbsd.org
> Subject: Re: pkg/58957: security/qt5-qtkeychain fails without dbus =
(with -dbus
> option)
> Date: Mon, 13 Jan 2025 00:20:32 -0500
>=20
>> On Jan 3, 2025, at 11:20 AM, rwhitlock22@gmail.com wrote:
>>> How-To-Repeat:
>> have PKG_DEFAULT_OPTIONS+=3D3D -dbus in /etc/mk.conf so that dbus is =
not =3D
> installed
>=20
> Correction: this error happens even when dbus is installed.=3D
This error happens because qt5-qtkeychain requires the QtDBus module, =
which
is only available when x11/qt5-qtbase is built with the dbus option. So =
if you have
PKG_DEFAULT_OPTIONS+=3D -dbus
in your /etc/mk.conf then you'll also need
PKG_OPTIONS.qt5+=3D dbus
because qt5-qtkeychain currently does not have an option to disable =
dbus.=
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.