Attempting to emerge app-emulation/libvirt-0.4.6-r1 without pkgconfig causes autoconf to fail. Reproducible: Always Steps to Reproduce: Without pkgconfig installed: 1. emerge -av =app-emulation/libvirt-0.4.6-r1 Actual Results: * Failed Running autoconf ! * * Include in your bugreport the contents of: * * /var/tmp/portage/app-emulation/libvirt-0.4.6-r1/temp/autoconf-25797.out * * ERROR: app-emulation/libvirt-0.4.6-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2547: Called eautoreconf * environment, line 839: Called eautoconf * environment, line 782: Called autotools_run_tool 'autoconf' * environment, line 327: Called die * The specific snippet of code: * die "Failed Running $1 !"; * The die message: * Failed Running autoconf ! Contents of /var/tmp/portage/app-emulation/libvirt-0.4.6-r1/temp/autoconf-25797.out: ***** autoconf ***** ***** autoconf configure.in:52: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:340: error: possibly undefined macro: PKG_CHECK_MODULES Expected Results: Successful emerge. Emerging pkgconfig before libvirt appears to resolve the issue.
Fixed in the tree cause I ran into this myself.