When I try to emerge =sys-apps/dbus-1.6.18-r1[abi_x86_32] I get the following error: $ emerge -1 =sys-apps/dbus-1.6.18-r1 [...] checking pkg-config is at least version 0.9.0... yes checking for XML_ParserCreate_MM in -lexpat... no checking for LIBXML... no configure: error: Explicitly requested libxml but libxml not found Reproducible: Always Steps to Reproduce: 1. Unmask =sys-apps/dbus-1.6.18-r1 2. emerge -1 =sys-apps/dbus-1.6.18-r1 Actual Results: An error. The ebuild could not configure the source properly. Expected Results: No error. The ebuild should configure, compile and install fine. $ emerge --info =sys-apps/dbus-1.6.18-r1 Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.12.1-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.12.1-gentoo-x86_64-AMD_Athlon-tm-_II_X4_640_Processor-with-gentoo-2.2 KiB Mem: 8180616 total, 4006232 free KiB Swap: 2097148 total, 2097148 free Timestamp of tree: Fri, 29 Nov 2013 18:00:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.5-r4, 3.3.3 dev-util/cmake: 2.8.12.1-r1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.13.4, 1.14 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.7.3-r1, 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0 sys-kernel/linux-headers: 3.12 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo crossdev proaudio lilrc ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=amdfam10 -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=amdfam10 -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ http://mirror.mdfnet.se/gentoo" LANG="sv_SE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/crossdev /home/kalle/overlays/proaudio /home/kalle/overlays/lilrc" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl amd64 aspell avahi bluetooth cairo caps cd cdda cddb cdr consolekit cracklib cups curl dbus dssi dvd dvdr exif ffmpeg fftw filecaps flac fltk gallium gif gimp git glib gmp gnutls gstreamer gtk gtk2 gtkspell gtkstyle gudev hwdb jack javascript jit joystick jpeg keymap kmod ladspa lame libgig libnotify libsamplerate lv2 mad mmx mmxext mp3 mpeg multilib netifrc nls nptl ogg opengl openmp openrc orc pam pdf png policykit pulseaudio qt4 readline spell sse sse2 sse3 sse4_1 ssl startup-notification subversion svg svn theora threads thunar tiff truetype udev unicode usb v4l vorbis webgl x264 xcb xcomposite xfce xml xorg xscreensaver zlib" ABI_X86="64" ALSA_CARDS="ca0106 hda-intel" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en en_GB sv sv_SE" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" XFCE_PLUGINS="trash" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= sys-apps/dbus-1.6.18-r1 was built with the following: USE="X -debug -doc (-selinux) -static-libs -systemd -test" ABI_X86="64 -32 -x32" CFLAGS="-O2 -pipe -march=amdfam10 -O2 -fomit-frame-pointer -pipe -rdynamic" CXXFLAGS="-O2 -pipe -march=amdfam10 -O2 -fomit-frame-pointer -pipe -rdynamic"
Created attachment 364220 [details] Build log
Comment on attachment 364220 [details] Build log !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-apps/dbus-1.6.18-r1/work/dbus-1.6.18-x86/config.log
Created attachment 364270 [details] Config log
The ebuild sets --with-xml=libxml but doesn't set the matching DEPEND for dev-libs/libxml2, it seems.
Created attachment 364340 [details, diff] dbus-1.6.18-r1.patch Hmm, the original ebuild doesn't set libxml anywhere and even in the configure.ac script it's recommended setting expat explicitly (even though this bug is already fixed long time ago): ### expat is the default because libxml can't currently survive ### our brutal OOM-handling unit test setup. ### http://bugzilla.gnome.org/show_bug.cgi?id=109368 Is there a reason for setting libxml on multilib? Anyway, i've created an simple patch which removes this configure option and also adds [${MULTILIB_USEDEP}] on expat which is required for building dbus. I've tested my changes and dbus builds fine now on amd64 with multilib enabled. After all, this bug where introduced with multilib (bug 481830) and i think this one should block bug 454644.
My fault, let's reassign.
--- dbus-1.6.18-r1.ebuild 30 Nov 2013 12:41:21 -0000 1.3 +++ dbus-1.6.18-r1.ebuild 1 Dec 2013 16:18:20 -0000 @@ -129,8 +129,8 @@ # libxml is easier to fake since it uses pkg-config --with-xml=libxml - XML_CFLAGS=' ' - XML_LIBS=' ' + LIBXML_CFLAGS=' ' + LIBXML_LIBS=' ' ) fi Should be correct now.