From nobody Sat Oct 15 18:14:37 2022 X-Original-To: desktop@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 4MqWcZ5BMFz4fQ22 for ; Sat, 15 Oct 2022 18:14:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqWcZ3y2yz44VZ for ; Sat, 15 Oct 2022 18:14:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqWcZ32wBz1Bmm for ; Sat, 15 Oct 2022 18:14:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FIEcQS041657 for ; Sat, 15 Oct 2022 18:14:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FIEceC041656 for desktop@FreeBSD.org; Sat, 15 Oct 2022 18:14:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 264657] security/libpwquality: broken python bindings Date: Sat, 15 Oct 2022 18:14:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alt2600@icloud.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665857678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hUneZT0FbZ1Z7+enPnuNN4FBTKYDnQNK7gA2FznHCTk=; b=bWkU4+5H3Z6z3jFeghBnpeYYwIpRHVa3B2z3guGvJi9BVlP7o9UTBu9FrbM3avfq38Ga7f mJX3OZpgJSpQuxhT7GlTqYpFEjouCCInaKgix3XPrZ998wBswzX2i3JnSrq1lM4HR38nV4 Q98jFi7K5lyyQXP3Aua9aMOP2IS5/q4mdW98vc9zy0yMHO+65xIYHONpmA72SkANOQ79hK pb0QwlDq7rWJcrjhrDSGRtI5+sUJi49AUIE/lRsD6aZV1EJl5atc7Gn5uFpl8ISlprL3j2 67dJh7MDgpYV02ZGhYRErQmvEoRPewRGco1C216hyiCANdqk9eGlrVDi69/j0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665857678; a=rsa-sha256; cv=none; b=r+kI1iA743LUJ2bJ2JXoT1uMhTivRR21V09jorcg4I84xCXPvUm8yoj5ijXX9dQIE1NKx1 PibdvdciLcLX1bLnzNoy3XsF/5c2HkwabIerciRQ2NTbnKY/j+dz9R187756DpT5xTebro 2BJMz9r4LAwdM6znBaPvuKZuvri76JHeCkpSuzMyyXSnRRHTp7oG7UoOJ7Mqfs+uY8F3lq uwnYLxSjJeM0LzcvQOWB/RiQECSzZYKiBBVQ8sy1zXA0Hblww4+urM7iLPmHYcFb9WOLp8 iLiD8SW747ayesM7KJnt4k8jFiAp5ayBB3S5IXaw6VKUsbJbw6XeT7ukWSbpmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264657 --- Comment #19 from alt2600@icloud.com --- (In reply to Chad Jacob Milios from comment #18) applying the Fix Packaging Stage attachment: the post-stage hooks do not wo= rk, and it still throws errors about installing using setup.py during the normal staging of the port. I cannot even get to checking orphans. I don't think adding setuptools to the dependency will help, this port seemingly cannot u= se them at all to stage properly. Thinking we have too old a version of setuptools, it seems the version we have is marked deprecated and slated for removal at python 3.12 if I'm reading things right online and in the logs. = We are on 0.63.1.0 and they are on 0.65.5.0 upstream. its presence is the issu= e, as it works fine without it under a clean poudriere jail. Not sure if gnome wants python bindings or not, but I sure don't care to have my password critiqued so I might just get rid of the python bindings to keep going. I m= ight also see if I can bump my py-setuptools version without too much hassle, bu= t I would imagine that could be a huge ordeal for all the dependent modules if = they are version locked instead of minimally chosen as done in your patch. And n= ot sure if they would like the new version, and not looking to brick my desktop testing, nor having to roll back zfs snapshots. I'll surely continue to help testing, to the extent it doesn't put my production system at risk. time for more scotch, and I'll look into if bumping setuptools resolves this issue at least, it seemingly will be needed for ports in the long run as python 3 marches on minor revs. fortunately i have a wide number of py-setuptools dependent py- ports I can test in poudriere without risk to my production system if the bump process goes smooth. cp -f -R /usr/ports/security/libpwquality/work/stage/usr/local/lib/python3.9/site-pa= ckages/pwquality-1.4.4_1-py3.9-freebsd-13.1-RELEASE-p2-amd64.egg/EGG-INFO /usr/ports/security/libpwquality/work/stage/usr/local/lib/python3.9/site-pa= ckages/pwquality-1.4.4_1-py3.9.egg-info cp: /usr/ports/security/libpwquality/work/stage/usr/local/lib/python3.9/site-pa= ckages/pwquality-1.4.4_1-py3.9-freebsd-13.1-RELEASE-p2-amd64.egg/EGG-INFO: No such file or directory *** Error code 1 when I delete the post-stage hooks in the there are now more orphans, there= are no orphans or plist issues if setuptools is not installed at all. so I don't think the plist has issue, its the inability to easily disable/exclude site-packages from build environments that is the problem. Reading about suggest no one in the python project ever considered needing to do anything= but add modules, not delete/block them from pythons execution scope, as there a= re only include and similar directives, no excludes. python alone might be what drives me to full time poudriere instead of just for i386 wine, and occasio= nal aarch64 cross compiling... :^) =3D=3D=3D=3D> Checking for pkg-plist issues (check-plist) =3D=3D=3D> Parsing plist =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%-freebsd-13.1-RELEASE= -p2-amd64.egg/EGG-INFO/PKG-INFO Error: Orphaned: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%-freebsd-13.1-RELEASE= -p2-amd64.egg/EGG-INFO/SOURCES.txt Error: Orphaned: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%-freebsd-13.1-RELEASE= -p2-amd64.egg/EGG-INFO/dependency_links.txt Error: Orphaned: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%-freebsd-13.1-RELEASE= -p2-amd64.egg/EGG-INFO/native_libs.txt Error: Orphaned: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%-freebsd-13.1-RELEASE= -p2-amd64.egg/EGG-INFO/not-zip-safe Error: Orphaned: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%-freebsd-13.1-RELEASE= -p2-amd64.egg/EGG-INFO/top_level.txt Error: Orphaned: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%-freebsd-13.1-RELEASE= -p2-amd64.egg/__pycache__/pwquality%%PYTHON_EXT_SUFFIX%%.pyc Error: Orphaned: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%-freebsd-13.1-RELEASE= -p2-amd64.egg/pwquality%%PYTHON_EXT_SUFFIX%%.so Error: Orphaned: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%-freebsd-13.1-RELEASE= -p2-amd64.egg/pwquality.py =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%.egg-info/PKG-INFO Error: Missing: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%.egg-info/SOURCES.txt Error: Missing: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%.egg-info/dependency_= links.txt Error: Missing: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%.egg-info/native_libs= .txt Error: Missing: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%.egg-info/not-zip-safe Error: Missing: %%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%.egg-info/top_level.t= xt Error: Missing: %%PYTHON_SITELIBDIR%%/pwquality%%PYTHON_EXT_SUFFIX%%.so =3D=3D=3D> Error: Plist issues found. *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=