Summary: | media-sound/pulseaudio-4.0-r1 fails configure w/ multilib ( error: At least one echo canceller implementation must be available. ) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kent Fredric (IRC: kent\n) (RETIRED) <kentnl> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | multilib+disabled, renegart, sound |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=72173 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config.log
patch to ebuild |
Description
Kent Fredric (IRC: kent\n) (RETIRED)
2014-01-05 17:40:23 UTC
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.16.0, 3.12.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.12.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.2 KiB Mem: 8020160 total, 1653384 free KiB Swap: 20478972 total, 14588104 free Timestamp of tree: Sun, 05 Jan 2014 14:00:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.5-r3, 3.2.5-r3, 3.3.3 dev-util/cmake: 2.8.11.2 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.12.6, 1.13.4 sys-devel/binutils: 2.23.1, 2.23.2 sys-devel/gcc: 4.6.3, 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.12 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo virtualization perl-experimental-snapshots mozilla x11 steam-overlay dotnet java bumblebee local-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /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/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs cgroup clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ember./ http://distfiles.gentoo.org/ " LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS=" -j10 --load-average=4" 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="/var/lib/layman/virtualization /var/lib/layman/perl-experimental-snapshots /var/lib/layman/mozilla /var/lib/layman/x11 /var/lib/layman/steam /var/lib/layman/dotnet /var/lib/layman/java /var/lib/layman/bumblebee /usr/local/portage" SYNC="rsync://ember/gentoo-portage" <useflags trimmed because they were completely bogus> ================================================================= Package Settings ================================================================= media-sound/pulseaudio-4.0 was built with the following: USE="X alsa asyncns avahi caps dbus equalizer gdbm glib gnome gtk ipv6 libsamplerate orc qt4 realtime ssl systemd tcpd udev webrtc-aec -bluetooth -doc -jack -lirc (-neon) (-oss) (-system-wide) -test -xen" I think people working on this checked for it working (I remember it took some hard work to migrate) :O, this surprises me. Also, it could involve to need to add multilib support for a bit more stuff The problem is that pulseaudio assumes that you really are building the server (which for non-native we don't) and errors out if you don't have all the deps needed for that component. It looks like there are two possible fixes here, the "quick fix", which is to add a (completely uneeded, except to make configure happy) dependency on speex[${MULTILIB_USEDEP}]] to satisfy the configure check, or the "more correct" fix, which would be to comment out the section of the configure.ac file that makes sure that the proper options are set and run eautoreconf. Alternatively, we *might* be able to get away with just setting exporting LIBSPEEX_CFLAGS="" and LIBSPEEX_LIBS="" for the non-native case, which would cause issues if anything tried to use it, but nothing should. (In reply to Jonathan Callen from comment #4) > Alternatively, we *might* be able to get away with just setting exporting > LIBSPEEX_CFLAGS="" and LIBSPEEX_LIBS="" for the non-native case, which would > cause issues if anything tried to use it, but nothing should. I'd say this would go in line with what we do now. Alternatively, someone could write a patch for the upstream bug :). Created attachment 370594 [details, diff]
patch to ebuild
After a bit of testing, we need LIBSPEEX_CFLAGS=' ' and LIBSPEEX_LIBS=' ' (the empty string doesn't work).
+ 16 Feb 2014; Jonathan Callen <jcallen@gentoo.org> pulseaudio-4.0-r1.ebuild, + pulseaudio-4.99.4.ebuild: + Ensure that configure "finds" libspeex on non-native arches (it isn't used, + but configure can fail if it isn't found). Fixes bug #497158. |