Hello, when building samba with NO_PYTHON defined in make.conf, packaging fails. a few lines of the failure: [00:09:06] =======================<phase: package >============================ [00:09:06] ===> Building package for samba413-4.13.1_1 [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/man/man8/samba-gpupdate.8.gz:No such file or directory [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/lib/python3.7/site-packages/samba/__init__.py:No such file or directory [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/lib/python3.7/site-packages/samba/_glue.so:No such file or directory [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/lib/python3.7/site-packages/samba/_ldb.so:No such file or directory [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/lib/python3.7/site-packages/samba/auth_util.py:No such file or directory [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/lib/python3.7/site-packages/samba/auth.so:No such file or directory [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/lib/python3.7/site-packages/samba/colour.py:No such file or directory [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/lib/python3.7/site-packages/samba/common.py:No such file or directory [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/lib/python3.7/site-packages/samba/compat.py:No such file or directory [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/lib/python3.7/site-packages/samba/credentials.so:No such file or directory [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/lib/python3.7/site-packages/samba/crypto.so:No such file or directory [00:09:07] pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba413/work/stage/usr/local/lib/python3.7/site-packages/samba/dbchecker.py:No such file or directory Samba47 build without this problem, this seems to affect any samba version above this change: https://svnweb.freebsd.org/ports/head/net/samba410/pkg-plist?r1=505445&r2=505446&pathrev=554445
Created attachment 222997 [details] pkg-plist patch for samba413.1_2 With this patch, i was able to build samba413.1_2 successfully with NO_PYTHON set.
I believe that splitting pkg-plist into smaller chunks accidentally fixed that issue for 4.13. I've applied the fix to 4.12 though. Thank you!