Bind compiled with USE=xml does not include support of XML-statistics and configure says it did not find libxml2. Reproducible: Always
Created attachment 317498 [details] config.log (see lines around 1682) configure:15340: checking for libxml2 library configure:15385: result: no
Extract from configure, starting at line 15337. It seems like bind does not like the now stable libxml2-2.8.0 I have installed, see the xml2-config --version check. # # was --with-libxml2 specified? # { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2 library" >&5 $as_echo_n "checking for libxml2 library... " >&6; } # Check whether --with-libxml2 was given. if test "${with_libxml2+set}" = set; then : withval=$with_libxml2; use_libxml2="$withval" else use_libxml2="auto" fi case "$use_libxml2" in no) DST_LIBXML2_INC="" ;; auto|yes) case X`(xml2-config --version) 2>/dev/null` in X2.[67].*) libxml2_libs=`xml2-config --libs` libxml2_cflags=`xml2-config --cflags` ;; *) libxml2_libs= libxml2_cflags= ;; esac ;; *) if test -f "$use_libxml2/bin/xml2-config" ; then libxml2_libs=`$use_libxml2/bin/xml2-config --libs` libxml2_cflags=`$use_libxml2/bin/xml2-config --cflags` fi ;; esac if test "X$libxml2_libs" != "X" then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } CFLAGS="$CFLAGS $libxml2_cflags" LIBS="$LIBS $libxml2_libs" $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi
Created attachment 317504 [details, diff] Fix bind configure script to accept libxml2-2.8.x
same problem with the the recently stabilized net-dns/bind-9.9.1_p2
This has been fixed in bind-9.9.1_p2-r1. The patch has also been sent to ISC. Thanks!