BIND 9.11 fails to build on FreeBSD with devel/jsoncpp installed
9.11
(but not 9_16
and main
) fails to build on FreeBSD when devel/jsoncpp
is installed and JSON is enabled in BIND:
--- app.o ---
In file included from app.c:33:
In file included from ../include/isc/mem.h:20:
In file included from ../include/isc/json.h:36:
In file included from /usr/local/include/json/json.h:9:
/usr/local/include/json/config.h:8:10: fatal error: 'cstddef' file not found
#include <cstddef>
^~~~~~~~~
For the time being I resolved this locally by uninstalling devel/jsoncpp
port.
Here's downstream bug report (for 9.14) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243387 with a link to their solution.