Created attachment 223443 [details] angrysearch-fix-packaging-with-py38.patch Hi Alexey, the exp-run (PR #253815) revealed that the port sysutils/angrysearch fails in the run-depends phase with PYTHON3_DEFAULT=3.8: > ===> angrysearch-1.0.2_5 depends on file: /usr/local/lib/python3.8/lib-dynload/_sqlite3.so - not found > *** Error code 1 This is because since Python 3.8.7 the "_sqlite3.so" file got an extension added and is now named "_sqlite3.cpython-38.so". Attached is a patch that fixes the above mentioned issue by checking for the presence of the py38-sqlite3 package instead of the actual .so file itself as it's done in many other ports. QA: ~~~ - poudriere -> OK (12.2-RELEASE amd64 with PYTHON3_DEFAULT=3.7) - poudriere -> OK (12.2-RELEASE amd64 with PYTHON3_DEFAULT=3.8)
Sure, go ahead!
Comment on attachment 223443 [details] angrysearch-fix-packaging-with-py38.patch ^ Triage: Set maintainer-approval flag to '+' as the approval was given in comment #1.
A commit references this bug: Author: kai Date: Sun Mar 21 08:53:36 UTC 2021 New revision: 568909 URL: https://svnweb.freebsd.org/changeset/ports/568909 Log: sysutils/angrysearch: Adjust RUN_DEPENDS for Python 3.8.7 and onward * Since Python 3.8.7 (and also 3.9.2), .so files get an extension, e.g. ".cpython-38.so" if built with Python 3.8. Thus check for the presence of the package from databases/py-sqlite3 instead of the actual .so file itself. PR: 254425 Approved by: danfe (maintainer) Changes: head/sysutils/angrysearch/Makefile
(In reply to Alexey Dokuchaev from comment #1) Committed, thank you for the review and approval!