Bug 7972 - master fails to build from source with --enable-s3build
master fails to build from source with --enable-s3build
Status: RESOLVED FIXED
Product: Samba 4.0
Classification: Unclassified
Component: Build
unspecified
Other Linux
: P3 normal
: ---
Assigned To: Andrew Tridgell
samba4-qa@samba.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-24 07:46 UTC by Sean Finney
Modified: 2011-02-25 04:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Finney 2011-02-24 07:46:57 UTC
Given the similarity to Bug#7968 I think the module in question is missing a dependency on talloc:

~/samba4$ env CFLAGS="-g -O0" ./configure --enable-s3build --prefix=/opt/smb  && make
<snip>
WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/home/CORPUSERS/23059934/samba4/bin'
[  76/3275] Generating VERSION
[1631/3275] Compiling libcli/nbt/lmhosts.c
In file included from ../libcli/nbt/lmhosts.c:24:
../source4/include/includes.h:54:20: error: talloc.h: No such file or directory
In file included from ../source4/../lib/util/util.h:24,
                 from ../source4/include/includes.h:61,
                 from ../libcli/nbt/lmhosts.c:24:
<snip>
Waf: Leaving directory `/home/user/samba4/bin'
Build failed:  -> task failed (err #1): 
	{task: cc lmhosts.c -> lmhosts_3.o}
make: *** [all] Error 1

this is in a clean chroot on an ubuntu lucid build system, no talloc packages are installed.
Comment 1 Matthias Dieter Wallnöfer 2011-02-25 04:08:29 UTC
Fixed with 22c407d8bd01d98498c1960b58b5d49d8dda8899.