Re: Development version of BIND 9 - 9.21.10 with meson build system

Havard Eidnes via bind-users <[email protected]>
Newsgroups gmane.network.dns.bind9.user
Message-ID <20250903.162636.1034268128175430879.he__37324.2130199046$1756909619$gmane$org@uninett.no>
Thanks for the suggestions!

I did a local upgrade of userspace-rcu to 0.15.3, and then BIND
9.21.11 configured and built.  But turning back to the original
question:

$ meson setup build-dir
$ meson compile -C build-dir

gets me the equivalent of

configure
make

But what gets me the equivalent of

make install

?

An attempt with (as root, as I'm expecting root-only-writable
destination directories to be touched):

# meson install -C build-dir

is not entirely successful.  For some reason the build system
decides to re-do parts of the build, and parts of it now
complains, and it starts with

[4/58] Generating lib/dns/dns-probe with a custom command
dtrace: target object (lib/dns/dns-probes.o) already exists. Please remove the target
dtrace: object and rebuild all the source objects if you wish to run the DTrace
dtrace: linking process again
[5/58] Generating lib/isc/isc-probe with a custom command
dtrace: target object (lib/isc/isc-probes.o) already exists. Please remove the target
dtrace: object and rebuild all the source objects if you wish to run the DTrace
dtrace: linking process again

and then the linking of libisc.so fails with lots of undefined
dtrace symbols:

ld: lib/isc/isc-probes.o:(.SUNW_dof+0x160): undefined reference to `$dtrace31496.isc__job_cb'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x190): undefined reference to `$dtrace31496.isc__job_cb'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x1c0): undefined reference to `$dtrace31548.isc_rwlock_destroy'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x1f0): undefined reference to `$dtrace31548.isc_rwlock_downgrade'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x220): undefined reference to `$dtrace31548.isc_rwlock_init'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x250): undefined reference to `$dtrace31548.isc_rwlock_rdlock'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x280): undefined reference to `$dtrace31548.isc_rwlock_rdlock'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x2b0): undefined reference to `$dtrace31548.isc_rwlock_rdunlock'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x2e0): undefined reference to `$dtrace31548.isc_rwlock_tryrdlock'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x310): undefined reference to `$dtrace31548.isc_rwlock_tryupgrade'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x340): undefined reference to `$dtrace31548.isc_rwlock_trywrlock'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x370): undefined reference to `$dtrace31548.isc_rwlock_wrlock'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x3a0): undefined reference to `$dtrace31548.isc_rwlock_wrlock'
ld: lib/isc/isc-probes.o:(.SUNW_dof+0x3d0): undefined reference to `$dtrace31548.isc_rwlock_wrunlock'
ld: lib/isc/libisc-probe-target.a.p/job.c.o: in function `isc__job_cb':
/usr/local/src/bind-9.21.11/build-dir/../lib/isc/job.c:71: undefined reference to `__dtrace_libisc___job_cb_before'
ld: /usr/local/src/bind-9.21.11/build-dir/../lib/isc/job.c:73: undefined reference to `__dtrace_libisc___job_cb_after'
ld: lib/isc/libisc-probe-target.a.p/rwlock.c.o: in function `isc_rwlock_rdlock':
/usr/local/src/bind-9.21.11/build-dir/../lib/isc/rwlock.c:142: undefined reference to `__dtrace_libisc___rwlock_rdlock_req'

etc. etc. (full log available if that's needed, omitted for a
modicum of brevity here)

Can some of this be ascribed to a mistake on my part?

Regards,

- Håvard
-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.