Skip to content

Build samba4 for a target that also needs Python3

Christian Kellermann buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1samba4: Make python2 dependency for waf explicitpackage/samba4/0002-Make-python-2.7-dependency-in-waf-explicit.patch package/samba4/samba4.mk+31 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/1] Build samba4 for a target that also needs Python3

This patch is necessary to build samba for a target that also needs Python 3. The python 3 installation overwrites the symbolic links for the python target and staging directories. The samba4 waf build tool cannot yet cope with python3.

This patch is meant as a starting point for discussion as I am not sure whether this is the Right Way to do this. Hacking the waf script itself is rather ugly, I have not found a way to make env pick up any other hint to evaluate it as a python2 script. Same goes for the MAKE_ENV manipulation.

Suggestions welcome as always.

King regards,

Christian

Christian Kellermann (1):
samba4: Make python2 dependency for waf explicit

 ...ake-python-2.7-dependency-in-waf-explicit.patch | 27 ++++++++++++++++++++++
 package/samba4/samba4.mk                           |  5 +++-
 2 files changed, 31 insertions(+), 1 deletion(-)
 create mode 100644 package/samba4/0002-Make-python-2.7-dependency-in-waf-explicit.patch
Signature · 1 line
2.12.1