[Bug 262129] devel/py-qt5-pyqt Build error "'super' object has no attribute 'get_platform_tag'"

2022-05-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262129

Adriaan de Groot  changed:

   What|Removed |Added

 CC||adr...@freebsd.org

--- Comment #3 from Adriaan de Groot  ---
In 2022Q1, the port `devel/py-qt5-pyqt` does not exist, so I went looking in
2022Q2 instead,

```
$ make -V BUILD_DEPENDS
/usr/local/bin/python3.8:lang/python38
py38-qt5-sip>=12.9.1:devel/py-qt5-sip@py38
py38-qtbuilder>=1.12.2:devel/py-qtbuilder@py38
py38-sip>=6.5.1:devel/py-sip@py38 qt5-buildtools>=5.15.2:devel/qt5-buildtools
/usr/local/lib/qt5/bin/designer:devel/qt5-designer
/usr/local/lib/qt5/plugins/imageformats/libqtiff.so:graphics/qt5-imageformats
qt5-qmake>=5.15.2:devel/qt5-qmake
```

Notice how py38-sip is specified as a version. I'm going to assume that the
version check actually works (since I have no sensible way of swapping out sip
for an older one), and then I don't understand how you're hitting this
situation. All the versions were updated in 2022Q2 at the same time on February
2nd. In main, the situation is the same.

.. except that some careful breakage of my **own** Mk/Uses/pyqt.mk shows that
this problem does exist.

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

[Bug 262129] devel/py-qt5-pyqt Build error "'super' object has no attribute 'get_platform_tag'"

2022-05-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262129

Adriaan de Groot  changed:

   What|Removed |Added

 Status|New |In Progress

--- Comment #4 from Adriaan de Groot  ---
- Build and install py-sip, current version (for me, that's py38-sip-6.5.1,1)
- Check what is installed
  ```
  devel/py-qt5-pyqt # pkg info | grep sip
  py38-qt5-sip-12.9.1Python to C and C++ bindings generator
  py38-sip-6.5.1,1   Python to C and C++ bindings generator
  ```
- Bump the py-sip version in Uses/Mk/pyqt.mk
- Check what BUILD_DEPENDS says
  ```
  devel/py-qt5-pyqt # make -V BUILD_DEPENDS
  py38-dbus>1:devel/py-dbus pkgconf>=1.3.0_1:devel/pkgconf
/usr/local/bin/python3.8:lang/python38
py38-qt5-sip>=12.9.1:devel/py-qt5-sip@py38
py38-qtbuilder>=1.12.2:devel/py-qtbuilder@py38
py38-sip>=7.6.1:devel/py-sip@py38 qt5-buildtools>=5.15.2:devel/qt5-buildtools
/usr/local/lib/qt5/bin/designer:devel/qt5-designer
/usr/local/lib/qt5/plugins/imageformats/libqtiff.so:graphics/qt5-imageformats
qt5-qmake>=5.15.2:devel/qt5-qmake
  ```
- Notice "py38-sip>=7.6.1:devel/py-sip@py38" in there; in principle that's
greater, right?

Except it isn't: PORTEPOCH counts, as well, and 7.6.1 is a PORTEPOCH behind
6.5.1, so the check passes. I'm going to have to fix this in pyqt.mk.

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

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

2022-05-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261717

--- Comment #3 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

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

commit 78e416d826472fd8eca9f3cf702e171914443273
Author: Adriaan de Groot 
AuthorDate: 2022-05-24 11:55:14 +
Commit: Adriaan de Groot 
CommitDate: 2022-05-29 11:16:33 +

devel/py-qt5-pyqt: add DBus dependency

This makes DBus explicitly available when installing py-qt5-pyqt,
which is good for desktop use. Previously, building this with
DBus installed **and** pkgconfig and the Python DBus bindings
would trip up in `check-plist`.

PR: 261717
Reported by:John Hein

 devel/py-qt5-pyqt/Makefile  | 7 +--
 devel/py-qt5-pyqt/pkg-plist | 1 +
 2 files changed, 6 insertions(+), 2 deletions(-)

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

[Bug 262129] devel/py-qt5-pyqt Build error "'super' object has no attribute 'get_platform_tag'"

2022-05-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262129

--- Comment #5 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

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

commit c289bc6278504bd2dd455851a5de8de4bf48af4e
Author: Adriaan de Groot 
AuthorDate: 2022-05-29 11:02:53 +
Commit: Adriaan de Groot 
CommitDate: 2022-05-29 11:16:44 +

Uses/pyqt.mk: repair PORTEPOCH of py-sip dependency

When using BUILD_DEPENDS with a dependency-version, as described
in section 5.9.9 of the Porters Handbook, a desired-version can be
compared with an installed-version, e.g.:

py38-sip>=6.5.1:devel/py-sip@py38

The version is compared fully with all the ports-versioning
parts included. That includes the PORTEPOCH, which isn't
visible (because =0 in the specification above). Since py-sip
was epoched at some point, the installed version of py-sip might
be this:

py38-sip-5.5.0,1   Python to C and C++ bindings
generator

Because of the epoch, the version 5.5.0,1 > 6.5.1, even though
visually it seems like it wouldn't be. Massage the dependency generation
in pyqt.mk to take that epoch into account.

PR: 262129
Reported by:Rafael Grether

 Mk/Uses/pyqt.mk | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

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

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

2022-05-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261717

Adriaan de Groot  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|In Progress |Closed

--- Comment #4 from Adriaan de Groot  ---
Answering #c2: Yes, I did install the relevant package in my poudriere builder.
However, you also need to have `pkgconfig` installed, otherwise the DBus bits
aren't found even if they **are** installed. All those dependencies are now
added, so there is explicit dbus support in pyqt now.

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

[Bug 262129] devel/py-qt5-pyqt Build error "'super' object has no attribute 'get_platform_tag'"

2022-05-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262129

Adriaan de Groot  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|In Progress |Closed

--- Comment #6 from Adriaan de Groot  ---
This went from "nah, can't happen" to "not our problem" to "oh, there is a real
issue and let's fix it", thanks for reporting!

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

Problem reports for k...@freebsd.org that need special attention

2022-05-29 Thread bugzilla-noreply
To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status  |Bug Id | Description
+---+---
New |258293 | www/firefox (1729109) The preferred default font  

1 problems total for which you should take action.