Bug 296511 - devel/py-qt{5,6}-sip: does not build with devel/py-setuptools 81.0.0
Summary: devel/py-qt{5,6}-sip: does not build with devel/py-setuptools 81.0.0
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks: 270358
  Show dependency treegraph
 
Reported: 2026-07-04 12:26 UTC by O. Hartmann
Modified: 2026-07-15 08:41 UTC (History)
5 users (show)

See Also:
linimon: maintainer-feedback? (kde)


Attachments
poudriere log of devel/py-qt5-sip (23.84 KB, text/plain)
2026-07-06 13:21 UTC, Hiroo Ono
no flags Details
poudriere log of devel/py-qt6-sip (23.68 KB, text/plain)
2026-07-06 13:22 UTC, Hiroo Ono
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2026-07-04 12:26:45 UTC
The same is for devel/py-qt5-sip@py312: when ports outdated devel/py-setuptools is is upgraded to v81.0.0, building port fails due to:

[...]
removing build/bdist.freebsd-16.0-CURRENT-amd64/wheel
Successfully built pyqt6_sip-13.11.1-cp312-cp312-freebsd_16_0_current_amd64.whl
===>  Staging for py312-PyQt6-sip-13.11.1
===>   py312-PyQt6-sip-13.11.1 depends on file: /usr/local/bin/python3.12 - found
===>   Generating temporary packing list
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/local/lib/python3.12/site-packages/installer/__main__.py", line 115, in <module>
    _main(sys.argv[1:], "python -m installer")
  File "/usr/local/lib/python3.12/site-packages/installer/__main__.py", line 100, in _main
    with WheelFile.open(wheel) as source:
         ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/installer/sources.py", line 179, in open
    with zipfile.ZipFile(path) as f:
         ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/zipfile/__init__.py", line 1352, in __init__
    self.fp = io.open(file, filemode)
              ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/ports/devel/py-qt6-sip/work-py312/pyqt6_sip-13.11.1/dist/PyQt6_sip-13.11.1*.whl'
*** Error code 1
[...]

The missing wheel file exists and is actual

 /usr/ports/devel/py-qt6-sip/work-py312/pyqt6_sip-13.11.1/dist/pyqt6_sip-13.11.1-cp312-cp312-freebsd_16_0_current_amd64.whl
Comment 1 O. Hartmann 2026-07-04 12:30:35 UTC
This might be due to devel/py-wheel, which replaces devel/py-wheel044.
Comment 2 Charlie Li freebsd_committer freebsd_triage 2026-07-04 14:55:37 UTC
You need to apply the entirety of review D46236, which also includes a corresponding change to Mk/Uses/python.mk.
Comment 3 Hiroo Ono 2026-07-06 13:21:07 UTC
Created attachment 272541 [details]
poudriere log of devel/py-qt5-sip
Comment 4 Hiroo Ono 2026-07-06 13:22:15 UTC
Created attachment 272542 [details]
poudriere log of devel/py-qt6-sip

By applying the patch from review D46236, they build fine. See the attached poudriere log.
Comment 5 Max Brazhnikov freebsd_committer freebsd_triage 2026-07-15 08:41:15 UTC
This should be fixed along with setuptools update.