Maintained by: NLnet Labs

unbound and meson build

W.C.A. Wijngaards
Mon Jan 8 12:07:18 CET 2018


Hi Sami,

On 07/01/18 21:08, Sami Kerola via Unbound-users wrote:
> Hello Wouter, and others,
> 
> Would Unbound project be interested moving away from hand-written
> Makefile.am and other autotool stuff to meson? Here is a preview
> (hopefully to future) how things could look with meson:

Thanks for the offer and sample code.  However, no, we are not looking
for a new build system.

Meson has heavy build requirements (python3 and ninja are listed), and
this may not work for FreeBSD base system.  We already avoid build
dependencies on gmake, and gcc.

Otherwise, the autoconf system neatly fits onto package managers'
systems and expectations.  We also worry about all built details for
compromises and portability fixes that we had accrued so far that would
be lost.  We appreciate a build system that may be better, but are
invested in the legacy system for now...

Best regards, Wouter

> 
> https://github.com/kerolasa/unbound/tree/build-sys
> 
> I admit that the snapshot is not 100% done, as it compiles only
> libunbound and unbound-anchor command, but it gives an idea how
> compilations are done. Assuming there is apetite for new build tooling
> then the todo list before sending change to review includes
> 
> * making all commands to compile
> * change optional code to be optional in source lists (see pythonmod)
> * make build system to generate dnstap and dnscrypt configs
> * make tests to work
> * compare old config.h to new meson that nothing is missed (I know few
> defines are)
> * make manuals and doxygen work
> * add include, configure, licence, and such files to distribution
> * try to convince someone to try meson on something else than linux,
> and fix issues
> 
> Unarguably that is reasonable amount of work. To avoid wasting time
> and effort could you inform if this sort of change has hope of be
> merged, assuming all the obvious stuff if pitch perfect in the change?
> 
> Reference: http://mesonbuild.com/
> 
> p.s. My demo build-sys branch was made to convince I am serious about
> this proposal, and I want to avoid 'talk is cheap' feedback.
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20180108/6cdeee83/attachment.sig>