I was updating my system while the upgrade of libechonest from 2.2.0-r1 to 2.3.0 failed with the message "MULTIBUILD_VARIANTS need to be set". An important information, I use the default/linux/amd64/13.0/desktop/gnome/systemd and Gnome. I've just installed clementine. Reproducible: Always Steps to Reproduce: emerge -1uv media-libs/libechonest Actual Results: The following packages are causing rebuilds: (media-libs/libechonest-2.3.0:0/2.3::gentoo, ebuild scheduled for merge) causes rebuilds for: (media-sound/clementine-1.2.3:0/0::gentoo, ebuild scheduled for merge) >>> Verifying ebuild manifests >>> Emerging (1 of 2) media-libs/libechonest-2.3.0::gentoo >>> Failed to emerge media-libs/libechonest-2.3.0, Log file: >>> '/var/tmp/portage/media-libs/libechonest-2.3.0/temp/build.log' >>> Jobs: 0 of 2 complete, 1 failed Load avg: 0.95, 0.81, 0.81 * Package: media-libs/libechonest-2.3.0 * Repository: gentoo * Maintainer: nikoli@gmx.us ssuominen@gentoo.org,sound@gentoo.org,proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: ccache preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libechonest-2.3.0.tar.bz2 to /var/tmp/portage/media-libs/libechonest-2.3.0/work >>> Source unpacked in /var/tmp/portage/media-libs/libechonest-2.3.0/work >>> Preparing source in /var/tmp/portage/media-libs/libechonest-2.3.0/work/libechonest-2.3.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/libechonest-2.3.0/work/libechonest-2.3.0 ... * ERROR: media-libs/libechonest-2.3.0::gentoo failed (configure phase): * MULTIBUILD_VARIANTS need to be set * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2774: Called multibuild_foreach_variant 'myconfigure' * environment, line 2214: Called die * The specific snippet of code: * [[ -n ${MULTIBUILD_VARIANTS} ]] || die "MULTIBUILD_VARIANTS need to be set"; * * If you need support, post the output of `emerge --info '=media-libs/libechonest-2.3.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/libechonest-2.3.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-libs/libechonest-2.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/libechonest-2.3.0/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/libechonest-2.3.0/work/libechonest-2.3.0' * S: '/var/tmp/portage/media-libs/libechonest-2.3.0/work/libechonest-2.3.0' % emerge --info '=media-libs/libechonest-2.3.0::gentoo' Portage 2.2.17 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.4, glibc-2.19-r1, 3.12.35-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.12.35-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.2 KiB Mem: 4054644 total, 1920912 free KiB Swap: 3071996 total, 3071996 free Timestamp of repository gentoo: Fri, 13 Feb 2015 07:00:01 +0000 sh bash 4.3_p33-r1 ld GNU ld (Gentoo 2.24 p1.4) 2.24 ccache version 3.2.1 [enabled] app-shells/bash: 4.3_p33-r1::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.1-r4::gentoo dev-lang/python: 2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.2::gentoo dev-util/ccache: 3.2.1-r1::gentoo dev-util/cmake: 3.1.0::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.9::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.5::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.19-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-j4 --load-average 3.5" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news 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="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5 -l3.75" 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" USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 iconv introspection ipv6 jpeg lcms ldap libav libnotify libsecret mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline scanner sdl session socialweb spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-minimizer wiki-publisher" LINGUAS="en fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 396320 [details] build.log
Created attachment 396322 [details] environment
Workaround, add a use file (eg /etc/portage/package.use/libechonest) : media-libs/libechonest qt4 I propose to add in the ebuild : REQUIRED_USE="|| ( qt4 qt5 )"
Created attachment 398874 [details, diff] libechonest-2.3.1.ebuild.patch
Attached patch works fine for me, please commit. Yoann, you are correct, thank you for report.
Commited, thanks.