Python 3.11 fails to package if WITHOUT_NIS=true is defined in /etc/src.conf. pkg-static: Unable to access file /wrkdirs/usr/ports/lang/python311/work/stage/usr/local/lib/python3.11/lib-dynload/nis.cpython-311.so:No such file or directory This is due to the conditional %%NO_NIS%% having been removed from pkg-plist in the case of 3.11. 3.10: %%NO_NIS%%lib/python%%XYDOT%%/lib-dynload/nis.cpython-%%XY%%%%ABI%%.so 3.11: lib/python%%XYDOT%%/lib-dynload/nis.cpython-%%XY%%.so I recommend returning it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e59b196194fc817e4e7cc35db056233f53f90226 commit e59b196194fc817e4e7cc35db056233f53f90226 Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2022-10-28 08:50:56 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2022-10-28 08:50:56 +0000 lang/python311: Fix packaging when WITHOUT_NIS is defined PR: 267399 Reported by: Raivo Hool <raivo@lehma.com> lang/python311/pkg-plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fixed, thanks for reporting!
A commit in branch 2022Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=86d267c8e4662446cc51fa32dd2399fcbfff90f6 commit 86d267c8e4662446cc51fa32dd2399fcbfff90f6 Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2022-10-28 08:50:56 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2022-10-28 09:13:41 +0000 lang/python311: Fix packaging when WITHOUT_NIS is defined PR: 267399 Reported by: Raivo Hool <raivo@lehma.com> (cherry picked from commit e59b196194fc817e4e7cc35db056233f53f90226) lang/python311/pkg-plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)