I tried to emerge mpeg4ip on my two independent Gentoo boxes and they both exited with the same error message: [...] /bin/sh ../../../../libtool --mode=compile --tag=CXX sh ../../../../strip_fPIC.sh /usr/bin/nasm -f elf reconmmx.asm libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make[5]: *** [mmxidct.lo] Error 1 [...] I found loads of references to similar problems, but for most people re-emerging libtool seems to do the trick. Not for me, though. I'm not using the ~x86 keyword except for a few selected packages, my libtool version is 1.5.2-r7 in both cases. Reproducible: Always Steps to Reproduce: 1. emerge mpeg4ip "emerge info" output: Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 Intel(R) Pentium(R) M processor 1.50GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -msse2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -msse2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.tu-chemnitz.de/pub/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dga dvd encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 java jpeg junit kde ldap libwww mad maildir mbox mikmod mmx motif mozilla moznoirc moznomail mozsvg mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline ruby samba sasl sdl slang spell ssl tcltk tcpd tetex tiff truetype usb xaw3d xml2 xmms xosd xv zlib"
Have you tried to compile without the mmx use flag? I think i managed to compile it by prepending USE="-mmx", ie USE="-mmx" emerge mpeg4ip
Yes, removing the mmx use flag did the trick. Thanks a lot.
which version of nasm do you have ? and libtool ?
nasm-0.98.38-r1 libtool-1.5.10-r3
Was that using version 1.1? Have you tried 1.2?
Yes, it was using 1.1 (and it still happens). I can't tell about 1.2 because that version doesn't even start to emerge: * libfaac is compiled against libmp4v2 * Please remove faad2 and mpeg4ip and recompile faac Unmerging faad2 doesn't do any good because faac depends on it and it will be reinstalled on recompilation of faac.
that's a bug in the faac ebuild.. emerge faac --nodeps.. I'll fix it
I just tried something similar myself: I removed faad2 and installed an older available faac version (1.23.5) that does not depend on faad2. And, lo and behold: mpeg4ip 1.2 compiles just fine.
ok great, the original bug was a bug in the old version of libtool... and I've fixed the faac dep (in a hour or so it should be in public rsync mirrors)...
Sorry, old version of libtools used to build 1.1 ... try 1.2.. it should be fixed.. and 1.3 is coming out soon..