From nobody Thu Jul 20 03:00:06 2023 X-Original-To: freebsd-python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R5y9K6fhZz4nQ5Y for ; Thu, 20 Jul 2023 03:00:21 +0000 (UTC) (envelope-from agh@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx1.riseup.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R5y9J35pRz4GNJ for ; Thu, 20 Jul 2023 03:00:20 +0000 (UTC) (envelope-from agh@riseup.net) Authentication-Results: mx1.freebsd.org; none Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4R5y9G39M2zDqZr; Thu, 20 Jul 2023 03:00:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1689822018; bh=Hxu0WtIOeZB1wrNdhT2hrkEMSeYcMV/bmQjtRiztlUc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UdwQkZq9GKf30qEJDVMKax20DvCHrFdJbvb9sgywmFUoRUaeiSens6Dnt8KKikpiC R0eWqk3i2lDGp6VNCppZHj13ivuZDeqX3KUjelKJdc232PAxz8YZJ35yN7FLV54nWr Mpk4Iohnb2ojTZe4nQKieQp2ksYRHOVBtHW+prhk= X-Riseup-User-ID: 5236A0C9E2B7314DB736FAC6EC55D71DE9DD02E7C9CE46366DB2BDBF5AFC1083 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4R5y931qPbzFpcn; Thu, 20 Jul 2023 03:00:07 +0000 (UTC) List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 Date: Thu, 20 Jul 2023 03:00:06 +0000 From: Alastair Hogge To: "John W. O'Brien" Cc: freebsd-python@freebsd.org Subject: Re: [Bug 262906] net-mgmt/py-pysnmp: abandonned source used In-Reply-To: <64c83c5c-220e-82b0-5cf3-896318d0c788@radioprosciutto.org> References: <5d5efd920ac8c4cee835a529e528c98a@riseup.net> <64c83c5c-220e-82b0-5cf3-896318d0c788@radioprosciutto.org> Message-ID: <6460e4d98d753b9cafc6db75f5e2a0a1@riseup.net> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4R5y9J35pRz4GNJ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On 2023-07-19 20:52, John W. O'Brien wrote: > On 7/19/23 01:49, Alastair Hogge wrote: >> Hello, >> >> I am attempting to update the Port mentioned in the Subject[1], however, >> am running into the following build issue: >> =========================================================================== >> =>> Recording filesystem state for prestage... done >> =======================>> ============================ >> ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0 >> ===> 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 >> _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: >> '/wrkdirs/usr/ports/net-mgmt/py-pysnmp/work-py39/pysnmp_lextudio-5.0.28/dist/pysnmp-5.0.28*.whl' >> *** Error code 1 >> >> Stop. >> make: stopped in /usr/ports/net-mgmt/py-pysnmp >> >> That is an edited log from poudriere-testport. Attached is my Work In >> Progress diff. >> >> Contents of dist: >> $ ls >> /wrkdirs/usr/ports/net-mgmt/py-pysnmp/work-py39/pysnmp_lextudio-5.0.28/dist >> pysnmp_lextudio-5.0.28-py3-none-any.whl >> >> So, a .whl file exists, and has name similar to the DISTNAME set in the >> attached diff. I have set the DISTNAME based on advice from John[1], >> this is how I managed to get the Port to fetch from PYPI. How is this >> meant to be handled? Is renaming the .whl OK? >> >> 1: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262906 > > For net-mgmt/py-pysmi, I also had to patch pyproject.toml [2] to match the port name [3]. Oh of course! I forgot to check files/!!!!111!! Thanks, John.