When merging alsa-plugins, configure fails with meaningless error message if alsa-lib was not compiled with ALSA_PCM_PLUGINS="ioplug". Reproducible: Always Steps to Reproduce: 1. ALSA_PCM_PLUGINS="-ioplug" emerge alsa-lib alsa-plugins Actual Results: Configure step fails with meaningless error message about an SDK. Expected Results: Portage should have stopped and warned me that alsa-lib was not compiled with the correct USE flags. Even better, create a dependency on alsa-lib WITH the ioplug flag, and recompile it automatically. :) Probably useless in this context, but here you go: Portage 2.1.3_rc8 (default-linux/amd64/2007.0/no-multilib, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r1-capernaum x86_64) ================================================================= System uname: 2.6.22-gentoo-r1-capernaum x86_64 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System release 1.12.10 Timestamp of tree: Fri, 13 Jul 2007 08:50:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.chem.wisc.edu/gentoo/ " MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="alsa amd64 aotuv apache2 bluetooth bzip2 cli curl dbus flac ftp gd glibc-omitfp ldap mailwrapper mmx mysql ncurses no-old-linux nptl nptlonly ogg pcre php pulseaudio session sockets speex sse sse2 sse3 ssl truetype urandom usb vorbis" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="ioplug" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > Even better, create a dependency on alsa-lib WITH the > ioplug flag, and recompile it automatically. :) Yeah, poke us when it's actually possible (Bug 2272). Meanwhile, /usr/portage/profiles/desc/alsa_pcm_plugins.desc suggests that disabling this one is a bad idea. :)
(In reply to comment #1) > Yeah, poke us when it's actually possible (Bug 2272). Poke. :)
media-plugins/alsa-plugins also needs ALSA_PCM_PLUGINS="plug" on media-libs/alsa-lib. have to test if extplug is mandatory too.
(In reply to comment #3) > media-plugins/alsa-plugins also needs ALSA_PCM_PLUGINS="plug" on > media-libs/alsa-lib. > have to test if extplug is mandatory too. > ioplug I verified (and fixed in CVS on alsa-plugins-1.0.20), but seems like that's all it requires so far.
(In reply to comment #4) > (In reply to comment #3) > > media-plugins/alsa-plugins also needs ALSA_PCM_PLUGINS="plug" on > > media-libs/alsa-lib. > > have to test if extplug is mandatory too. > > > > ioplug I verified (and fixed in CVS on alsa-plugins-1.0.20), but seems like > that's all it requires so far. > Fixed the rest of em, in CVS