=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Installing for R-xml2-1.3.6nb4
=> Generating pre-install file lists
=> Creating installation directories
* installing *source* package 'xml2' ...
** package 'xml2' successfully unpacked and MD5 sums checked
** using staged installation
Warning in system2(file.path(R.home("bin"), "R"), c("CMD", "config", x),  :
  running command ''/usr/pkg/lib/R/bin/R' CMD config FCFLAGS' had status 1
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/pkg/include/libxml2
Using PKG_LIBS=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 -L/usr/lib -lz -L/usr/lib -llzma -lm
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libxml-2.0 was not found. Try installing:
 * deb: libxml2-dev (Debian, Ubuntu, etc)
 * rpm: libxml2-devel (Fedora, CentOS, RHEL)
 * csw: libxml2_dev (Solaris)
If libxml-2.0 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libxml-2.0.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
ERROR: configuration failed for package 'xml2'
* removing '/pbulk/work/textproc/R-xml2/work/.destdir/usr/pkg/lib/R/library/xml2'
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/textproc/R-xml2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/R-xml2