There's no use reporting bugs to the old version of libxml2, which was released in 2002 and since then superseded by the 2.x line of development.
It builds for me in a clean chroot
clean chroots use the devtools makepkg.conf, not the one from the host machine. That's not synced yet.
Consider these reports to be a prediction of future problems once the devtools implement https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/3
Pinned Comments
AchmadFathoni commented on 2021-09-24 08:37 (UTC)
@Nihiii0, I suggest use more up to date libxml2 https://aur.archlinux.org/packages/libxml2-git/ instead.