Bugzilla Automation <[email protected]> has asked freebsd-desktop (Team)
<[email protected]> for maintainer-feedback:
Bug 293326: x11-toolkits/py-wxpython: fails not finding whl file during install
stage
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293326



--- Description ---
Scenario:
- FreeBSD stable/15 and stable/14 as of Dec. 30
- ports latest
- using portmaster to upgrade ports
- portmaster tries to upgrade py-wxpython to 4.2.5

Result:
- The following errors are output:

...
adding 'wx/tools/wxget_docs_demo.py'
adding 'wxPython-4.2.5.dist-info/LICENSE.txt'
adding 'wxPython-4.2.5.dist-info/METADATA'
adding 'wxPython-4.2.5.dist-info/WHEEL'
adding 'wxPython-4.2.5.dist-info/entry_points.txt'
adding 'wxPython-4.2.5.dist-info/top_level.txt'
adding 'wxPython-4.2.5.dist-info/RECORD'
removing build/bdist.freebsd-15.0-STABLE-amd64/wheel
Successfully built wxPython-4.2.5-cp311-cp311-freebsd_15_0_stable_amd64.whl
===>>> Building the port required 161 seconds
===>  Staging for py311-wxpython-4.2.5
===>   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.11/site-packages/installer/__main__.py", line
98, in <module>
    _main(sys.argv[1:], "python -m installer")
  File "/usr/local/lib/python3.11/site-packages/installer/__main__.py", line
86, in _main
    with WheelFile.open(args.wheel) as source:
  File "/usr/local/lib/python3.11/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/installer/sources.py", line
162, in open
    with zipfile.ZipFile(path) as f:
         ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/zipfile.py", line 1311, in __init__
    self.fp = io.open(file, filemode)
              ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/x11-toolkits/py-wxpython/work-
py311/wxpython-4.2.5/dist/wxpython-4.2.5*.whl'
*** Error code 1

Stop.
make[1]: stopped making
"/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/x11-toolkits/py-wxpython/work-
py311/.stage_done.wxpython._usr_local"
in /net/orion/z/SRC/FreeBSD/ports/MBi/main/x11-toolkits/py-wxpython
*** Error code 1

Stop.
make: stopped making "stage" in
/net/orion/z/SRC/FreeBSD/ports/MBi/main/x11-toolkits/py-wxpython

===>>> make stage failed for x11-toolkits/py-wxpython@py311
===>>> Aborting update

===>>> Update for x11-toolkits/py-wxpython@py311 failed
===>>> Aborting update

===>>> The following actions were performed:
        Upgrade of py311-rich-14.3.2 to py311-rich-14.3.3


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> x11-toolkits/py-wxpython@py311 databases/sqlcipher
mail/thunderbird 

This command has been saved to ~/portmasterfail.txt

Note:
- There is a file with a different case in the directory shown above:

[0]# ll
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/x11-toolkits/py-wxpython/work-p
y311/wxpython-4.2.5/dist
total 138436
-rw-r--r--  1 root wheel 141758088 Feb 21 11:51
wxPython-4.2.5-cp311-cp311-freebsd_15_0_stable_amd64.whl
[0]# 

-- Martin

Reply via email to