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

Bug 69444

Summary: media-libs/xine-lib-1_rc6 fails to build
Product: Gentoo Linux Reporter: Ian Truelsen <ian.truelsen>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal CC: genstef
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ian Truelsen 2004-10-29 12:38:35 UTC
when trying to update to xine-lib-1_rc6, it fails with the following:

 i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I/usr/include/libpng12 -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer -fno-web -funit-at-a-time -mno-sse2 -mno-sse3 -ffunction-sections -c image.c -MT xineplug_decode_image_la-image.lo -MD -MP -MF .deps/xineplug_decode_image_la-image.TPlo
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
mv -f xineplug_decode_image_la-image.o .libs/xineplug_decode_image_la-image.o
mv: cannot stat `xineplug_decode_image_la-image.o': No such file or directory
make[3]: *** [xineplug_decode_image_la-image.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a/src/libxinevdec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1_rc6 failed.
!!! Function src_compile, Line 147, Exitcode 2
!!! Parallel make failed


Reproducible: Always
Steps to Reproduce:
1. emerge xine-lib -u
2.
3.




Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20041021-r0,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.4
distcc 2.18 i486-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i486-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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
/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="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.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://dark-lord.ihtruelsen.dyndns.org/gentoo-portage"
USE="3dnow X aalib acpi aim alsa apm arts avi berkdb bitmap-fonts cdr crypt cups
dillo directfb dvd encode esd f77 fbcon flash foomaticdb gdbm gif gnome gpm gtk
gtk2 icq imap imlib jabber java jpeg kde ldap libg++ libwww mad maildir mikmod
motif moznocompose moznoirc moznomail mpeg msn mysql ncurses nls oggvorbis
opengl oscar oss pam pdflib perl png python qt quicktime readline sdl slang slp
spell ssl svga tcltk tcpd tetex tiff truetype usb x86 xface xml2 xmms xv yahoo
zlib video_cards_nvidia"
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-29 12:48:28 UTC
Did you try to change -mcpu=athlon-xp to -march=athlon-xp in CFLAGS?
Comment 2 Ian Truelsen 2004-10-29 13:58:19 UTC
That worked. Is that because of the deprecation of the mcpu flag? I have seen that error a lot, but this is the first time that I have seen it cause a crash.

Thanks.