Bug 267645 - devel/py-qt5-pyqt: fAILS TO PACKAGE: Error: Orphaned: %%PYTHON_SITELIBDIR%%/PyQt5/bindings/QtCore/pyqt-gpl.sip5
Summary: devel/py-qt5-pyqt: fAILS TO PACKAGE: Error: Orphaned: %%PYTHON_SITELIBDIR%%/P...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-08 17:12 UTC by Guido Falsi
Modified: 2022-11-15 09:30 UTC (History)
3 users (show)

See Also:
tcberner: maintainer-feedback+
madpilot: merge-quarterly-


Attachments
patch v1 (1023 bytes, patch)
2022-11-08 17:12 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Falsi freebsd_committer freebsd_triage 2022-11-08 17:12:48 UTC
Created attachment 237947 [details]
patch v1

While testing for the py-qt6 import a plist error came out for pyqt5:

```
====> Running Q/A tests (stage-qa)
Warning: 'lib/python3.9/site-packages/dbus/mainloop/pyqt5.abi3.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Error: /usr/local/lib/python3.9/site-packages/PyQt5/QtBluetooth.abi3.so is linked to /usr/local/lib/libGL.so.1 from graphics/libglvnd but it is not declared as a dependency
Warning: you need USE_GL+=gl
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PYTHON_SITELIBDIR%%/PyQt5/bindings/QtCore/pyqt-gpl.sip5
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-qt5-pyqt
=>> Error: check-plist failures detected
```

I'm attaching a fix for the plist error.

The gl issue requires further investigation, but the plist issue is easy to fix.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2022-11-08 18:07:17 UTC
Feel free to fix :)
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-11-09 08:51:02 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c162f8025170a7226d953398abec933407a1146b

commit c162f8025170a7226d953398abec933407a1146b
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2022-11-09 08:47:51 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2022-11-09 08:47:51 +0000

    devel/py-qt5-pyqt: Fix plist issue

    PR:             267645
    Approved by:    kde (tcberner)

 devel/py-qt5-pyqt/Makefile  | 1 +
 devel/py-qt5-pyqt/pkg-plist | 1 +
 2 files changed, 2 insertions(+)
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2022-11-09 08:53:50 UTC
Committed. Thanks!
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2022-11-09 22:34:36 UTC
^Triage: Assign to committer that resolved.

@Guido Is quarterly affected?
Comment 5 Guido Falsi freebsd_committer freebsd_triage 2022-11-09 23:18:40 UTC
(In reply to Kubilay Kocak from comment #4)

SHould not be affected.

The error appeared in my tests after the qt update to 5.15.7 in commit 9f4f33134a3169bcdf10b13a8e208877d62bf2f9 on November 2nd.

The version included in quarterly was unaffected.
Comment 6 Guido Falsi freebsd_committer freebsd_triage 2022-11-15 09:30:32 UTC
I'm closing this, since it does not need merging to quarterly.