Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 87246

Summary: avifile-0.7.43.20050224-r1 failed
Product: Gentoo Linux Reporter: baso <andreabaso>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description baso 2005-03-30 03:39:36 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused -I../../include -march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c mmx.cpp -MT mmx.lo -MD -MP -MF .deps/mmx.TPlo  -fPIC -DPIC -o .libs/mmx.o
{standard input}: Assembler messages:
{standard input}:230: Error: symbol `x2' is already defined
{standard input}:267: Error: symbol `x2' is already defined
{standard input}:305: Error: symbol `x2' is already defined
{standard input}:340: Error: symbol `x2' is already defined
{standard input}:374: Error: symbol `x2' is already defined
{standard input}:411: Error: symbol `x2' is already defined
{standard input}:904: Error: symbol `x2' is already defined
make[2]: *** [mmx.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused -I../../include -march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c Registry.cpp -MT Registry.lo -MD -MP -MF .deps/Registry.TPlo  -fPIC -DPIC -o .libs/Registry.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused -I../../include -march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c Registry.cpp -MT Registry.lo -MD -MP -MF .deps/Registry.TPlo -o Registry.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r1/work/avifile-0.7-0.7.43/lib/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r1/work/avifile-0.7-0.7.43/lib'make: *** [all-recursive] Error 1


I also tried with USE="-O2" but it fails.

emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 00:18:53)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops -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 /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops -fomit-frame-pointer -pipe"
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"
LANG="it_IT.UTF-8"
MAKEOPTS="-j3"
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 3dnow S3TC X acl acpi adns aim alsa antlr apache2 apm audiofile avi bitmap-fonts bluetooth cairo cdr cdrom cross crypt cscope cups curl dbx dedicated devfs26 dga divx4linux doc dvb dvd dvdr emboss encode esd evo exif expat faac faad fam fastcgi fbcon fdftk ffmpeg fftw flac flash font-server foomaticdb fortran freetds gb gd gif gimp gimpprint gkrellm glade glut gmp gnome gnomedb gpm graphviz gs gstreamer gtk gtk2 gtkhtml iconv icq ide image imagemagick imap imlib innodb ipv6 jabber java jikes joystick jpeg jpeg2k junit kde ladcca latex lcms ldap libg++ libgd libgda libwww lirc lm_sensors lzo lzw lzw-tiff mad maildir matroska mbox mbrola mcal md5sum memlimit mikmod mime ming mmx mng monkey mono motif mozcalendar mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mssql mysql nas ncurses nls nptl ntlm nvidia oav odbc offensive oggvorbis ooo-kde openal opengl oscar oss pam pcre pda pdflib pear-db perl php physfs plotutils png postgres postgresql ppds prelude python qt quicktime readline rrdtool rtc samba scanner sdk sdl serial sharedmem silc simplexml slp smartcard sms sndfile snmp sox spamassassin speedo speex spell spl sqlite sse ssl svg svga tcltk tcpd tetex tga theora tidy tiff timidity tokenizer transcode truetype truetype-fonts type1 type1-fonts uim unicode usb uudeview v4l v4l2 videos vnc wmf wsconvert wxwindows xchattext xemacs xfs xgetdefault xine xinerama xml xml2 xmms xosd xrandr xv xvid xvmc yahoo yv12 zlib linguas_it"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Rodney Brown 2005-03-30 10:12:49 UTC
duplicate of bug 86320

see a post I made regarding ths 'x2' error on another bug:  http://bugs.gentoo.org/show_bug.cgi?id=86743#c14

watering down CFLAGS options fixed it for me...
Comment 2 baso 2005-03-30 10:43:35 UTC
I tried with USE="-02 -march=athlonXP -pipe" emerge avifile but it fails again
Comment 3 Rodney Brown 2005-03-31 06:28:35 UTC
Another fix from bug 86743 was to re-emerge ffmpeg and a52dec, then re-emerge avifle.

Give that a try, it didn't fix it for me (only watering down CFLAGS did) but that may fix it for you, or maybe a combination of both?
Comment 4 baso 2005-03-31 08:03:22 UTC
I tried re-emerging emerge ffmpeg and emerge a52dec, then I emerged again avifile with USE="-02 -march=athlonXP -pipe" but it still fails and the error is always the same.
Comment 5 John5788 2005-04-01 20:37:32 UTC
I get errors too when compiling with sane CFLAGS or without.

/usr/lib/gcc-lib/../libavcodec.so: undefined reference to `a52_syncinfo'
collect2: ld returned 1 exit status
make[2]: *** [avicat] Error 1
/usr/lib/gcc-lib/../libavcodec.so: undefined reference to `a52_syncinfo'
collect2: ld returned 1 exit status
make[2]: *** [avibench] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r1/work/avifile-0.7-0.7.43/samples'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.43.20050224-r1 failed.
!!! Function src_compile, Line 130, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-03 11:46:34 UTC
About comment #5, this should be fixed with latest ffmpeg revision bump.
Comment 7 Juergen Kaetzler 2005-04-10 02:48:14 UTC
I think this is a duplicate of bug 86320.

In bug 86320 a patch and an ebuild applying that patch is provided. Downloading patch an ebuild fixed the problem for me.

But there is another strange thing: when I do an "emerge sync", why is the patch from bug 86320  in the ebuild of avifile-0.7.43.20050224-r1 not applied? There are confirmations, that the patch solves the problem...
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-17 15:44:23 UTC

*** This bug has been marked as a duplicate of 86320 ***