When I try to install transcode-0.6.14 it dies with the following error message: i686-pc-linux-gnu-gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=athlon-xp -msse2 -fomit-frame-pointer -pipe -DDCT_YUV_PRECISION=1 -o tcdecode tcdecode-tcdecode.o tcdecode-decode_ac3.o tcdecode-decode_mpeg2.o tcdecode-decode_yuv.o tcdecode-fileinfo.o tcdecode-ioaux.o tcdecode-decode_dv.o tcdecode-decode_mp3.o tcdecode-mpg123.o tcdecode-decode_a52.o tcdecode-decode_af6.o tcdecode-scan_dv.o tcdecode-decode_lavc.o tcdecode-decode_xvid.o tcdecode-decode_ogg.o tcdecode-decode_mov.o tcdecode-decode_lzo.o -L/usr/lib -lavcodec -L/usr//lib /usr/lib/libmp3lame.so ../libac3/.libs/libac3_tc.a ../libmpeg2/.libs/libmpeg2cvs.a ../libvo/.libs/libvout.a /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so /usr/lib/libquicktime.so -lpng /usr/lib/libdv.so -lpthread ../aclib/.libs/libac.a -lm -lz -ldl ../libvo/.libs/libvout.a(yuv2rgb.o)(.text+0x11c): In function `yuv2rgb_init': : undefined reference to `yuv2rgb_init_mmx' ../libvo/.libs/libvout.a(yuv2rgb.o)(.text+0x162): In function `yuv2rgb_init': : undefined reference to `yuv2rgb_init_mmxext' collect2: ld returned 1 exit status make[3]: *** [tcdecode] Error 1 make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.14/work/transcode-0.6.14/import' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.14/work/transcode-0.6.14/import' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.14/work/transcode-0.6.14' make: *** [all] Error 2 !!! ERROR: media-video/transcode-0.6.14 failed. !!! Function src_compile, Line 103, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge transcode Actual Results: The error message described above. Expected Results: Installed. Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 26 2005, 02:15:54)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r2, 1.7.9, 1.9.4, 1.6.3, 1.4_p6, 1.5 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -msse2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/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/X11/xkb /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=athlon-xp -msse2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aim alsa apache2 apm artworkextra audiofile avi berkdb bitmap-fonts bootsplash bzlib canna cdb cddb cdparanoia cdr cdrom cjk codecs crypt cups dedicated dga divx4linux doc dv dvd dvdr dvdread encode esd exif f77 faac faad fam fbcon ffmpeg fla flac font-server foomaticdb fortran freetype freewnn ftp gdbm gif gimp gimpprint gkrellm glut gnome gnomedb gpm gtk gtk2 icq imagemagick imlib inifile jabber java javascript jikes jpeg latex lcms libg++ libwww live lm_sensors mad maildir mbox mikmod mime ming mjpeg mmap mng motif mozilla mp3 mpeg mpeg4 mplayer msn ncurses network nls nptl nvidia offensive oggvorbis openal opengl oscar oss pam pdflib perl php png python quicktime readline real samba sdl sndfile spell sse2 ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb videos wxwindows xine xml2 xosd xpm xv xvid yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
same thing going on here. i686-pc-linux-gnu-gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=pentium3 -O3 -pipe -DDCT_YUV_PRECISION=1 -o tcdecode tcdecode-tcdecode.o tcdecode-decode_ac3.o tcdecode-decode_mpeg2.o tcdecode-decode_yuv.o tcdecode-fileinfo.o tcdecode-ioaux.o tcdecode-decode_dv.o tcdecode-decode_mp3.o tcdecode-mpg123.o tcdecode-decode_a52.o tcdecode-decode_af6.o tcdecode-scan_dv.o tcdecode-decode_lavc.o tcdecode-decode_xvid.o tcdecode-decode_ogg.o tcdecode-decode_mov.o tcdecode-decode_lzo.o -L/usr/lib -lavcodec -L/usr//lib /usr/lib/libmp3lame.so ../libac3/.libs/libac3_tc.a ../libmpeg2/.libs/libmpeg2cvs.a ../libvo/.libs/libvout.a /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so /usr/lib/libquicktime.so -lpng -lpthread ../aclib/.libs/libac.a -lm -lz -ldl ../libvo/.libs/libvout.a(yuv2rgb.o)(.text+0xdbe): In function `yuv2rgb_init': : undefined reference to `yuv2rgb_init_mmxext' ../libvo/.libs/libvout.a(yuv2rgb.o)(.text+0x11ea): In function `yuv2rgb_init': : undefined reference to `yuv2rgb_init_mmx' collect2: ld returned 1 exit status make[3]: *** [tcdecode] Error 1 make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.14/work/transcode-0.6.14/import' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.14/work/transcode-0.6.14/import' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.14/work/transcode-0.6.14' make: *** [all] Error 2 !!! ERROR: media-video/transcode-0.6.14 failed. !!! Function src_compile, Line 103, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge transcode Actual Results: The error message described above. Expected Results: Installed. Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-rc3 i686) ================================================================= System uname: 2.6.9-rc3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4,dev-lang/python-2.2.3-r5 [2.3.4 (#1, Jun 8 2004, 23:24:42)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4, 2.2.3-r5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib innodb ipv6 java jpeg libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb videos xml xml2 xmms xv zeroconf zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Created attachment 49722 [details, diff] Transcode misbuild patch (portage tree) This is a bug in transcode. At some place they use ??? to "shield" MMX stuff instead of HAVE_MMX so it is failing when configure sees X86 without MMX. Use the provided patch to fix your portage tree so it will no longer fail. Usage: "patch -p1 <portage.patch" while standing in the root of the portage tree. Other versions of transcode were not tested/updated so they may also suffer from this bug.
Yeah I figured that out last night I was going to report it and close the bug but you already submitted the patch
*** Bug 83197 has been marked as a duplicate of this bug. ***
I got the exact same errors but I now transcode builds just great on my system. I set some more "USE Flags" but I forgot witch ones ;-( - sorry. This is my system info - I recommend to compare the "USE-Flage": ================================================================= System uname: 2.6.8.1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.3-r1 [2.3.3 (#1, Jul 11 2004, 19:39:29)] dev-lang/python: 2.3.3-r1 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.3 sys-devel/binutils: 2.14.90.0.8-r1 sys-devel/libtool: 1.4.3-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X apm arts avi berkdb bitmap-fonts cdr crypt cups curl divx4linux dvd emboss encode esd f77 fam ffmpeg flac font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad matroska mikmod mjpeg mmx mmx2 motif mozilla mp3 mpeg mpeg4 mplayer ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real samba sdl slang spell sse2 ssl svga tcpd tiff transcode truetype truetype-fonts type1-fonts v4l vcd xml xml2 xmms xv xvid yv12 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY