Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2022 18:14:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 264657] security/libpwquality:  broken python bindings
Message-ID:  <bug-264657-39348-VJUg4BMK2d@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264657-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264657-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264657-39348-VJUg4BMK2d>