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
> On May 23, 2025, at 2:30 AM, Thomas Klausner via gnats <gnats-admin%NetBSD.org@localhost> wrote:
>
> The following reply was made to PR pkg/59187; it has been noted by GNATS.
>
> From: Thomas Klausner <wiz%NetBSD.org@localhost>
> To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
> Cc:
> Subject: Re: pkg/59187: x11/py-qt5: disabling dbus options seems to not
> disable dbus
> Date: Fri, 23 May 2025 08:25:37 +0200
>
> 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.
>>
>> Any ideas about what might be going wrong?
>
> Your change follows the documentation:
>
> https://www.riverbankcomputing.com/static/Docs/PyQt5/installation.html#building-and-installing-from-source
>
> 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
===================================================================
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= yes
.include "../../sysutils/dbus-python-common/buildlink3.mk"
.include "../../sysutils/py-dbus/buildlink3.mk"
+.else
+WHEEL_ARGS+= -C=--disable=QtDBus
.endif
Home |
Main Index |
Thread Index |
Old Index