[Bug 264657] security/libpwquality: broken python bindings

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Oct 2022 22:56:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264657

--- Comment #22 from alt2600@icloud.com ---
(In reply to Chad Jacob Milios from comment #21)


I appreciate that so I gave it one more go, as it should work for 3.9 if it
worked for you under 3.10, and I'll admit I did not use your patch exactly. In
my laziness of wanting to test poudriere next I added PORTREVISION=1 before
trying not thinking of your post-stage hook to force an update without wiping
my whole dependency tree out. That is what broke your patch, it was me. It
still is showing orphan staged files, but your patch as is stages and packages
ok. So I think it may just need the tweaks to accommodate PORTREVISION being
set in the future. There are still these orphaned staged files, but not
orphaned plist files. not sure the name to use, and I'm only mangling hacking
PORTREVISION into your hook myself.

but it installs, and it still builds in poudriere, with basically identical
build logs to ports. only future issue is if PORTREVISION is introduced. but
that is arguably tomorrows problem, as its working now. Thank you for getting
this working for me though.

====> Compressing man pages (compress-man)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> 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
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/libpwquality

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