--disable-python again for the standalone libs is broken

Andrew Bartlett abartlet at samba.org
Thu May 17 02:43:10 UTC 2018


On Thu, 2018-05-10 at 18:43 +0200, Timur I. Bakeyev wrote:
> Hi, all!
> 
> I patched that for ldb-1.3.0 in the FreeBSD ports, when it was released, as we also have people who don't want Python to be introduced on there systems, but forgot/didn't yet have time to send the patch to the list.
> 
> So, here how I did it.

Could you make that a proper git commit, test it in gitlab (fork theĀ 
https://gitlab.com/samba-team/samba repo) or github with this applied?

Then I'll look at it.

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba



-------------- next part --------------
From 2773a63a140b9525a542230b12734b4f3419a0dc Mon Sep 17 00:00:00 2001
From: Andrew Bartlett <abartlet at samba.org>
Date: Thu, 10 May 2018 09:09:56 +1200
Subject: [PATCH] autobuild: cover the Gentoo case with python disabled all
 down the stack

Signed-off-by: Andrew Bartlett <abartlet at samba.org>
---
 script/autobuild.py | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/script/autobuild.py b/script/autobuild.py
index 0ac65f138f1..3cc91289c2a 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -275,6 +275,29 @@ tasks = {
                       ("install", "make install", "text/plain"),
                       ("check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
                       ("clean", "make clean", "text/plain")
+
+                      ("talloc-configure", "cd lib/talloc && " + samba_libs_configure_libs + ' --disable-python', "text/plain"),
+                      ("talloc-make", "cd lib/talloc && make", "text/plain"),
+                      ("talloc-install", "cd lib/talloc && make install", "text/plain"),
+
+                      ("tdb-configure", "cd lib/tdb && " + samba_libs_configure_libs + ' --disable-python', "text/plain"),
+                      ("tdb-make", "cd lib/tdb && make", "text/plain"),
+                      ("tdb-install", "cd lib/tdb && make install", "text/plain"),
+
+                      ("tevent-configure", "cd lib/tevent && " + samba_libs_configure_libs + ' --disable-python', "text/plain"),
+                      ("tevent-make", "cd lib/tevent && make", "text/plain"),
+                      ("tevent-install", "cd lib/tevent && make install", "text/plain"),
+
+                      ("ldb-configure", "cd lib/ldb && " + samba_libs_configure_libs + ' --disable-python', "text/plain"),
+                      ("ldb-make", "cd lib/ldb && make", "text/plain"),
+                      ("ldb-install", "cd lib/ldb && make install", "text/plain"),
+
+                      # retry against installed library packages
+                      ("libs-configure", "./configure.developer --picky-developer ${PREFIX} --with-profiling-data --disable-python --without-ad-dc " + samba_libs_configure_libs, "text/plain"),
+                      ("libs-make", "make -j", "text/plain"),
+                      ("libs-install", "make install", "text/plain"),
+                      ("libs-check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
+                      ("libs-clean", "make clean", "text/plain")
                       ],
 
 
-- 
2.11.0



More information about the samba-technical mailing list