[Bug 261717] devel/py-qt5-pyqt: 'make check-plist' fails if devel/py-dbus is installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 04 Feb 2022 19:26:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261717

            Bug ID: 261717
           Summary: devel/py-qt5-pyqt: 'make check-plist' fails if
                    devel/py-dbus is installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
                CC: desktop@FreeBSD.org, kde@FreeBSD.org
                CC: desktop@FreeBSD.org, kde@FreeBSD.org

If you build devel/py-qt5-pyqt with devel/py-dbus already installed, 'make
check-plist' fails:

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned:
%%PYTHON_SITELIBDIR%%/dbus/mainloop/pyqt5.abi%%PYTHON_MAJOR_VER%%.so
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1


devel/py-qt5-pyqt should probably be more explicit about whether to build with
dbus support or not.  Maybe the right move is to disable building that.  Or
maybe it's better to just include a build/run dependency on py-dbus.  I don't
think it's worthwhile to make dbus support an option.  It's probably just
better to explicitly enable or disable it (so it's not an implicit detection
that changes the build - which then might break the installed py-qt5-pyqt if
the py-dbus pkg is removed later because the dependency is not recorded)

-- 
You are receiving this mail because:
You are the assignee for the bug.