Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77988 - media-video/mpeg4ip does not compile (infamous "unable to infer tagged configuration" error)
Summary: media-video/mpeg4ip does not compile (infamous "unable to infer tagged config...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Olivier Crete (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-14 09:23 UTC by Ingo van Lil
Modified: 2005-04-21 16:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo van Lil 2005-01-14 09:23:57 UTC
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"
Comment 1 Rene Castberg 2005-01-29 06:55:39 UTC
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
Comment 2 Ingo van Lil 2005-01-29 09:33:42 UTC
Yes, removing the mmx use flag did the trick. Thanks a lot.
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2005-01-29 18:15:39 UTC
which version of nasm do you have ? and libtool ?
Comment 4 Ingo van Lil 2005-01-29 18:23:02 UTC
nasm-0.98.38-r1
libtool-1.5.10-r3
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2005-04-21 14:08:24 UTC
Was that using version 1.1? Have you tried 1.2? 
Comment 6 Ingo van Lil 2005-04-21 15:35:37 UTC
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.
Comment 7 Olivier Crete (RETIRED) gentoo-dev 2005-04-21 16:01:37 UTC
that's a bug in the faac ebuild.. emerge faac --nodeps.. I'll fix it
Comment 8 Ingo van Lil 2005-04-21 16:10:15 UTC
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.
Comment 9 Olivier Crete (RETIRED) gentoo-dev 2005-04-21 16:25:36 UTC
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)...
Comment 10 Olivier Crete (RETIRED) gentoo-dev 2005-04-21 16:25:48 UTC
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)...
Comment 11 Olivier Crete (RETIRED) gentoo-dev 2005-04-21 16:43:28 UTC
Sorry, old version of libtools used to build 1.1 ... try 1.2.. it should be fixed.. and 1.3 is coming out soon..