pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/59187: x11/py-qt5: disabling dbus options seems to not disable dbus
The following reply was made to PR pkg/59187; it has been noted by GNATS.
From: Rob Whitlock <rwhitlock22%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/59187: x11/py-qt5: disabling dbus options seems to not
disable dbus
Date: Sat, 24 May 2025 19:13:27 -0400
> On May 23, 2025, at 2:30 AM, Thomas Klausner via gnats =
<gnats-admin%NetBSD.org@localhost> wrote:
>=20
> The following reply was made to PR pkg/59187; it has been noted by =
GNATS.
>=20
> From: Thomas Klausner <wiz%NetBSD.org@localhost>
> To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
> Cc:=20
> Subject: Re: pkg/59187: x11/py-qt5: disabling dbus options seems to =
not
> disable dbus
> Date: Fri, 23 May 2025 08:25:37 +0200
>=20
> On Fri, May 23, 2025 at 12:11:14AM -0400, Rob Whitlock wrote:
>> It seems like the following patch should fix it, but it doesn't. I =
know this is the right option because when I misspell it, the build =
stops with an error saying it's an incorrect option, and it lists =
--no-dbus-python as an option. But when I build it, the dbus files still =
get built and it still ends with a PLIST error.
>>=20
>> Any ideas about what might be going wrong?
>=20
> Your change follows the documentation:
>=20
> =
https://www.riverbankcomputing.com/static/Docs/PyQt5/installation.html#bui=
lding-and-installing-from-source
>=20
> and I see the same, so I suggest contacting upstream - perhaps it's a
> bug in their build system.
According to upstream I was using the wrong option. I was using the =
option to disable
support for the dbus-python package whereas I wanted to disable support =
for Qt's
QtDBus module. Here's a patch that works:
Index: options.mk
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/x11/py-qt5/options.mk,v
retrieving revision 1.1
diff -u -r1.1 options.mk
--- options.mk 2 Dec 2022 15:31:58 -0000 1.1
+++ options.mk 24 May 2025 23:05:42 -0000
@@ -11,4 +11,6 @@
PLIST.dbus=3D yes
.include "../../sysutils/dbus-python-common/buildlink3.mk"
.include "../../sysutils/py-dbus/buildlink3.mk"
+.else
+WHEEL_ARGS+=3D -C=3D--disable=3DQtDBus
.endif=
Home |
Main Index |
Thread Index |
Old Index