[Samba] creating an ubuntu package of version 4.1.0

bugblatterbeast samba at bugblatterbeast.de
Sun Nov 3 14:39:20 MST 2013

Am 03.11.2013 21:11, schrieb Andrew Bartlett:
> On Sun, 2013-11-03 at 14:03 +0100, bugblatterbeast wrote:
>> Thank you Harry. I've stopped posting my progress because it's somehow
>> off topic here.
>> I've already found a far less sophisticated solution than you did, by
>> just adding the dependency to the util-target in "lib/util/wscript_build".
> Does this help even without disabling ntdb?  If so, then please submit
> this patch upstream.  This is meant to work, and if we are just missing
> a dependency, then great!  I was assuming it was a much more messy
> situation around linker rules and internal-to-build-system issues.
> Thanks,
> Andrew Bartlett
I'm very sorry, but I wasn't able, to find that out. Unfortunately I'm 
not so good with waf and without disabling ntdb I don't get the 
compiling process to start in the debuilder... it always wants ntdb to 
be already installed (>= 0.9).

I will try again tomorrow and see if I can do more. I was about to 
narrow down the problem and then ask the #debian-mentors and the 
packaging team for help.

I attach the patch to this mail - maybe someone who is more familar with 
waf scripts can find out easily, if it helps without disabling ntdb.

Nice regards, bbb
-------------- next part --------------
Index: samba4/lib/util/wscript_build
--- samba4.orig/lib/util/wscript_build	2013-10-30 14:53:38.349604855 +0000
+++ samba4/lib/util/wscript_build	2013-10-30 15:24:36.921646001 +0000
@@ -9,7 +9,7 @@
                     util_str.c util_str_common.c substitute.c ms_fnmatch.c
                     server_id.c dprintf.c parmlist.c bitmap.c pidfile.c
                     tevent_debug.c util_process.c''',
-                  deps='DYNCONFIG',
+                  deps='DYNCONFIG ccan-hash',
                   public_deps='talloc tevent execinfo uid_wrapper pthread LIBCRYPTO charset util_setid',
                   public_headers='debug.h attr.h byteorder.h data_blob.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h samba_util.h string_wrappers.h',
                   header_path= [ ('dlinklist.h samba_util.h', '.'), ('*', 'util') ],

More information about the samba mailing list