Development version of BIND 9 - 9.21.10 with meson build system

Petr Špaček pspacek at isc.org
Wed Sep 3 10:44:56 UTC 2025


On 03. 09. 25 12:31, Havard Eidnes via bind-users wrote:
>> as previously announced, the BIND 9.21 (development branch) has
>> changed the build system from venerable autotools to meson
>> build system. If you build BIND 9 from sources now would be a
>> good time to try building the development version from sources
>> and report any issues you find to our GitLab issue tracker or
>> raise any questions here.
>>
>> Packagers might want to pull patch 0002 and 0003 from here:
>> https://salsa.debian.org/dns-team/bind9/-/tree/debian/9.21/debian/patches?ref_type=heads
>>
>> The patch 0002 removes the RUNPATH/RPATH from the binaries and
>> the 0003 patch restores the previous naming of the libraries
>> where upstream version is part of the library name.  There
>> might be more tweaks coming related to SONAME and SOVERSION.
> 
> I extracted BIND 9.21.11, and ... since meson is "new to me", I
> tried looking around for the replacement of the backbone reflex
> of doing
> 
> sh ./configure ....
> make
> make install
> 
> But by the looks of it, none can be found anywhere inside the
> BIND distribution.  Yes, I also tried a cursory glance in the
> doc/ subdirectory.
> 
> It would have been nice if a few lines of hints for how this is
> customarily done or "what is the minimum you can get away with"
> (which isn't necessarily the same as what is customarily done)
> was provided somewhere easily accessible.
> 
> Some false starts:
> 
> : {142} ; meson setup
> 
> ERROR: Must specify at least one directory name.
> : {143} ; meson setup .
> 
> ERROR: Source and build directories must not be the same. Create a pristine build directory.
> : {144} ; pwd
> /usr/local/src/bind-9.21.11
> : {145} ;
> 
> at which point I simply gave up and decided instead to expose my
> own inexperience with meson by asking for help, hence this message.

Does
https://bind9.readthedocs.io/en/latest/chapter10.html#building-bind-9
help?

-- 
Petr Špaček


More information about the bind-users mailing list