waf build make error

Andrew Bartlett abartlet at samba.org
Fri Apr 30 02:01:49 MDT 2010


On Fri, 2010-04-30 at 09:08 +0530, Rohit Rajan wrote:
> Dear All,
> 
> Today i ran the git pull and downloaded the latest git as follows, and 
> after that upgraded the provision by upgradeprovision command which 
> finished successfully. but when i did make install i gave and error.
> 
> git pull
> remote: Counting objects: 734, done.
> remote: Compressing objects: 100% (533/533), done.
> Indexing 533 objects...
> remote: Total 533 (delta 423), reused 0 (delta 0)
>   100% (533/533) done
> Resolving 423 deltas...
>   100% (423/423) done
> 112 objects were added to complete this thin pack.
> * refs/remotes/origin/master: fast forward to branch 'master' of 
> git://git.samba.org/samba
>    old..new: 3c585e9..e904443
> * refs/remotes/origin/v3-5-test: fast forward to branch 'v3-5-test' of 
> git://git.samba.org/samba
>    old..new: a356b04..1c39ce1
> Updating 3c585e9..e904443
> 
> *Make install error* after upgrade provision:
> make install
> WAF_MAKE=1 ../buildtools/bin/waf install
> Waf: Entering directory `/root/samba-master/source4/bin'
> * creating /usr/local/samba/var/locks
> * creating /usr/local/samba/etc
> * creating /usr/local/samba/var/locks
> * creating /usr/local/samba/var/run
> * creating /usr/local/samba/var/lib
> * creating /usr/local/samba/private/smbd.tmp/messaging
> Checking project rules ...
> Project rules pass
> Waf: Leaving directory `/root/samba-master/source4/bin'
> find_or_declare cannot return a build node (build files in the source 
> directory ['..', 'gen_ndr', 'rap.h']?)
> make: *** [install] Error 1
> 
> Then i did the clean install and got the following error, the same error 
> after doing make clean and rebuilding.
> 
> Waf: Entering directory `/root/samba-master/source4/bin'
> Waf: Leaving directory `/root/samba-master/source4/bin'
> find_or_declare cannot return a build node (build files in the source 
> directory ['..', 'gen_ndr', 'rap.h']?)
> make: *** [all] Error 1
> 
> Please guide.

Sorry for the bother this has caused.  You need to remove
librpc/gen_ndr/rap.h before you build again. 

We are discussing longer-term solutions to this issue - hopefully by
keeping these generated files out of the GIT checkout. 

Andrew Bartlett

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100430/8d74373f/attachment.pgp>


More information about the samba-technical mailing list