[Bug 262906] net-mgmt/py-pysnmp: abandonned source used

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 18 Jul 2023 14:25:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262906

--- Comment #6 from Alastair Hogge <agh@riseup.net> ---
Hello,

I had a look at updating the Port and switching to lextudio, however, I am
running into the following error when building:

===>  License BSD2CLAUSE accepted by the user
===>   py39-pysnmp-5.0.28 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py39-pysnmp-5.0.28 for building
===>  Extracting for py39-pysnmp-5.0.28
=> SHA256 Checksum OK for lextudio-pysnmp-v5.0.28_GH0.tar.gz.
===>  Patching for py39-pysnmp-5.0.28
===>   py39-pysnmp-5.0.28 depends on package: py39-setuptools>0 - found
===>   py39-pysnmp-5.0.28 depends on package: py39-poetry-core>0 - found
===>   py39-pysnmp-5.0.28 depends on file: /usr/local/bin/python3.9 - found
===>   py39-pysnmp-5.0.28 depends on package: py39-build>=0 - found
===>   py39-pysnmp-5.0.28 depends on package: py39-installer>=0 - found
===>  Configuring for py39-pysnmp-5.0.28
===>  Building for py39-pysnmp-5.0.28
* Getting build dependencies for wheel...
* Building wheel...
Successfully built pysnmp_lextudio-5.0.28-py3-none-any.whl
===>  Staging for py39-pysnmp-5.0.28
===>   py39-pysnmp-5.0.28 depends on package: py39-pyasn1>0 - found
===>   py39-pysnmp-5.0.28 depends on package: py39-pycryptodomex>0 - found
===>   py39-pysnmp-5.0.28 depends on package: py39-pysmi>0 - found
===>   py39-pysnmp-5.0.28 depends on file: /usr/local/bin/python3.9 - found
===>   Generating temporary packing list
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.9/site-packages/installer/__main__.py", line 98,
in <module>
    _main(sys.argv[1:], "python -m installer")
  File "/usr/local/lib/python3.9/site-packages/installer/__main__.py", line 86,
in _main
    with WheelFile.open(args.wheel) as source:
  File "/usr/local/lib/python3.9/contextlib.py", line 119, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.9/site-packages/installer/sources.py", line 162,
in open
    with zipfile.ZipFile(path) as f:
  File "/usr/local/lib/python3.9/zipfile.py", line 1248, in __init__
    self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/py-pysnmp/net/fafnir/git/freebsd/ports/main/net-mgmt/py-pysnmp/work-py39/pysnmp-5.0.28/dist/pysnmp-5.0.28*.whl'
*** Error code 1

Stop.
make[1]: stopped in /net/fafnir/git/freebsd/ports/main/net-mgmt/py-pysnmp
*** Error code 1

Stop.
make: stopped in /net/fafnir/git/freebsd/ports/main/net-mgmt/py-pysnmp

Does that look familiar at all to anyone?

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