waf install recompiles another 4k files after waf build built its own 4k?

Michael Tokarev mjt at tls.msk.ru
Thu Mar 31 07:20:39 UTC 2022

31.03.2022 02:47, Stefan Metzmacher wrote:
> Please stop using waf directly!

I don't.  At least not without setting PYTHONHASHSEED :)
(which I learned the hard way).

> Just use './configure' and 'make -j install'.

This fails. Because compile_et and asn1_compile
dependencies are not listed for all the install-related
targets (but are properly listed for build-related).
I ended up with:

         $(WAF) --targets=compile_et,asn1_compile
         $(WAF) install

This works. And this is where the usage of the
Makefile wrapper becomes quite ugly at least.

For an automated build procedure this is enough, tho
it would be better if the missing deps were in place.

Unfortunately I weren't able to figure out how to
fix the dependency prob.



More information about the samba-technical mailing list