Bug 254033 - net/samba413 NO_PYHTON fails in packaging
Summary: net/samba413 NO_PYHTON fails in packaging
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Timur I. Bakeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-05 10:37 UTC by Henrik Rosenke
Modified: 2021-05-04 00:21 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (timur)


Attachments
pkg-plist patch for samba413.1_2 (42.63 KB, patch)
2021-03-05 10:39 UTC, Henrik Rosenke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Rosenke 2021-03-05 10:37:55 UTC
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
Comment 1 Henrik Rosenke 2021-03-05 10:39:49 UTC
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.
Comment 2 Timur I. Bakeyev freebsd_committer 2021-05-04 00:21:14 UTC
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!