samba-4.0.0alpha14 build failure

Andrew Bartlett abartlet at samba.org
Mon Jan 3 20:50:13 MST 2011


On Mon, 2011-01-03 at 16:57 -0500, Adam Tauno Williams wrote: 
> openSUSE 11.3
> SMP PREEMPT 2010-10-25 08:40:12 +0200 x86_64 x86_64 x86_64 GNU/Linux
> gcc-4.5-4.2.x86_64
> glibc-2.11.2-3.3.1.x86_64
> 
> after uncompress, 
> cd samba-4.0.0alpha14/source4/
> ./configure --prefix=/opt/ad/samba4
> make 
> 
> samba:/tmp/samba-4.0.0alpha14/source4 # make
> WAF_MAKE=1 ../buildtools/bin/waf build
> Waf: Entering directory `/tmp/samba-4.0.0alpha14/source4/bin'
> [  64/2356] Generating VERSION
> [ 817/2356] Compiling ../nsswitch/nsstest.c
> In file included from ../../nsswitch/nsstest.c:21:0:
> ../include/includes.h:54:20: fatal error: talloc.h: No such file or
> directory
> compilation terminated.
> Waf: Leaving directory `/tmp/samba-4.0.0alpha14/source4/bin'
> Build failed:  -> task failed (err #1): 
> 	{task: cc nsstest.c -> nsstest_4.o}
> make: *** [all] Error 1

It looks like a bug in our wscript_build for nsstest.  The issue is
trickier than it seems, as nsstest does not use or depend on talloc, but
includes.h does.  

I've pushed a fix to autobuild for this and similar issues.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.





More information about the samba-technical mailing list