> On 17 Mar 2022, at 10:41, Petr Špaček <pspa...@isc.org> wrote: >>>> *** Error code 2 >>> Interesting! >>> >>> How do you build it? >> Pretty straightforward. >> ./configure with some options, >> ./configure --disable-linux-caps --localstatedir=/var >> --sysconfdir=/usr/local/etc/namedb --with-dlopen=yes --with-libxml2 >> --with-openssl=/usr --enable-dnsrps --with-readline=libedit --enable-dnstap >> --disable-fixed-rrset --disable-geoip --without-maxminddb --without-gssapi >> --with-libidn2=/usr/local --with-json-c --disable-largefile >> --with-lmdb=/usr/local --disable-querytrace --enable-tcp-fastopen >> --prefix=/usr/local --mandir=/usr/local/man --disable-silent-rules >> --infodir=/usr/local/share/info/ --build=amd64-portbld-freebsd13.0 >> make >> I built 9.18.0 without any issues, it was as straightforward as it can be! >> Make is the FreeBSD version, not GNU Make. > > This is even more interesting. Can you retry with GNU Make to see if the > substitution will work?
Sure! So “make” was making war instead of love. With GNU Make (latest version in ports) it compiled and Sphinx didn’t complain. And of course I ran configure after installing Sphinx. -------- Making all in man gmake[3]: Entering directory '/usr/home/borjam/src/bind-9.18.1/doc/man' echo ".. |rndc_conf| replace:: ``@sysconfdir@/rndc.conf``\n.. |rndc_key| replace:: ``@sysconfdir@/rndc.key``\n.. |named_conf| replace:: ``@sysconfdir@/named.conf``\n.. |bind_keys| replace:: ``@sysconfdir@/bind.keys``\n.. |named_pid| replace:: ``@runstatedir@/named.pid``\n.. |session_key| replace:: ``@runstatedir@/session.key``" .. |rndc_conf| replace:: @sysconfdir@/rndc.conf\n.. |rndc_key| replace:: @sysconfdir@/rndc.key\n.. |named_conf| replace:: @sysconfdir@/named.conf\n.. |bind_keys| replace:: @sysconfdir@/bind.keys\n.. |named_pid| replace:: @runstatedir@/named.pid\n.. |session_key| replace:: @runstatedir@/session.key /usr/local/bin/sphinx-build -b man -d ./_build/.doctrees/man -W -c . -a -n -D version="@""PACKAGE_VERSION@" -D today="@""RELEASE_DATE@" -D release="@""PACKAGE_VERSION@" -D rst_epilog="$(printf "${man_RST_EPILOG}")" . ./_build/man Running Sphinx v4.3.1 making output directory... done building [mo]: all of 0 po files building [man]: all source files updating environment: [new config] 34 added, 0 changed, 0 removed reading sources... [100%] tsig-keygen looking for now-outdated files... none found pickling environment... done checking consistency... done writing... arpaname.1 { } ddns-confgen.8 { } delv.1 { } dig.1 { } dnssec-cds.1 { } dnssec-dsfromkey.1 { } dnssec-importkey.1 { } dnssec-keyfromlabel.1 { } dnssec-keygen.1 { } dnssec-revoke.1 { } dnssec-settime.1 { } dnssec-signzone.1 { } dnssec-verify.1 { } dnstap-read.1 { } filter-aaaa.8 { } filter-a.8 { } host.1 { } mdig.1 { } named-checkconf.1 { } named-checkzone.1 { } named-compilezone.1 { } named-journalprint.1 { } named-nzd2nzf.1 { } named-rrchecker.1 { } named.conf.5 { } named.8 { } nsec3hash.1 { } nslookup.1 { } nsupdate.1 { } rndc-confgen.8 { } rndc.conf.5 { } rndc.8 { } tsig-keygen.8 { } done build succeeded. The manual pages are in _build/man. ------- And for comparison this is what happened with FreeBSD stock make. ———— Making all in man echo "" /usr/local/bin/sphinx-build -b man -d ./_build/.doctrees/man -W -c . -a -n -D version="@""PACKAGE_VERSION@" -D today="@""RELEASE_DATE@" -D release="@""PACKAGE_VERSION@" -D rst_epilog="$(printf "${man_RST_EPILOG}")" . ./_build/man Running Sphinx v4.3.1 making output directory... done building [mo]: all of 0 po files building [man]: all source files updating environment: [new config] 34 added, 0 changed, 0 removed reading sources... [100%] tsig-keygen Warning, treated as error: ../../bin/delv/delv.rst:99:Undefined substitution referenced: "bind_keys". *** Error code 2 Stop. make[3]: stopped in /usr/home/borjam/src/bind-9.18.1/doc/man *** Error code 1 Stop. make[2]: stopped in /usr/home/borjam/src/bind-9.18.1/doc *** Error code 1 Stop. make[1]: stopped in /usr/home/borjam/src/bind-9.18.1 *** Error code 1 Stop. make: stopped in /usr/home/borjam/src/bind-9.18.1 -------- Cheers, Borja. -- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users