Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51927 - xine-lib won't build
Summary: xine-lib won't build
Status: RESOLVED DUPLICATE of bug 45393
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-24 07:51 UTC by Frank Hollenbach
Modified: 2005-07-17 13:06 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 Frank Hollenbach 2004-05-24 07:51:46 UTC
xine-lib won't build

Reproducible: Always
Steps to Reproduce:
1.emerge =media-libs/xine-lib-1_rc4-r1
2.
3.

Actual Results:  
/libavcodec' 
make[4]: Entering directory 
`/var/tmp/portage/xine-lib-1_rc4-r1/work/xine-lib-1-rc4a/src/libffmpeg' 
if /bin/sh ../../ 
.... 
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 -O2 -mcpu=7400 
-pipe -fno-pic -Wa,-m7400 -O3 -pipe -fomit-frame-pointer 
-fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math 
-funroll-loops -funroll-all-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 -O2 -mcpu=7400 -pipe -fno-pic -MT idct_altivec.lo -MD -MP 
-MF .deps/idct_altivec.Tpo -c idct_altivec.c  -fPIC -DPIC 
-o .libs/idct_altivec.o 
idct_altivec.c:629: error: syntax error before "signed" 
idct_altivec.c:630: error: `vector' undeclared here (not in a function) 
idct_altivec.c:630: error: syntax error before "signed" 
idct_altivec.c:630: error: initializer element is not constant 
idct_altivec.c:630: error: (near initialization for `constants[0]') 
idct_altivec.c:631: error: `vector' undeclared here (not in a function) 
 
 
.... 
idct_altivec.c:693: error: syntax error before "signed" 
idct_altivec.c:693: error: syntax error before "unsigned" 
idct_altivec.c:693: error: syntax error before "unsigned" 
make[3]: *** [idct_altivec.lo] Fehler 1 
make[3]: Leaving directory 
`/var/tmp/portage/xine-lib-1_rc4-r1/work/xine-lib-1-rc4a/src/libmpeg2' 
make[2]: *** [all-recursive] Fehler 1 
make[2]: Leaving directory 
`/var/tmp/portage/xine-lib-1_rc4-r1/work/xine-lib-1-rc4a/src' 
make[1]: *** [all-recursive] Fehler 1 
make[1]: Leaving directory 
`/var/tmp/portage/xine-lib-1_rc4-r1/work/xine-lib-1-rc4a' 
make: *** [all] Fehler 2 
 
!!! ERROR: media-libs/xine-lib-1_rc4-r1 failed. 
!!! Function src_compile, Line 115, Exitcode 2 
!!! Parallel make failed 
 


emerge info 
Portage 2.0.50-r6 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 
2.4.21-ben2) 
================================================================= 
System uname: 2.4.21-ben2 ppc 7450, altivec supported 
Gentoo Base System version 1.4.15 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="ppc ~ppc" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -mcpu=7400 -pipe -maltivec -mabi=altivec " 
CHOST="powerpc-unknown-linux-gnu" 
COMPILER="gcc3" 
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/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/generic/config/ /usr/share/texmf/tex/platex/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 -mcpu=7400 -pipe -maltivec -mabi=altivec " 
DISTDIR="/usr/portage/distfiles" 
FEATURES="ccache" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://www.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="X aalib arts berkdb bonobo cdr cups dvd esd foomaticdb gdbm gif gnome 
gnome-libs gpm gtk gtk2 gtkhtml guile imlib jpeg kde libwww mitshm motif 
mozilla mysql nls oggvorbis opengl oss pam perl png ppc python qt qtmt 
readline ruby scanner sdl slang ssl tcltk tcpd tetex truetype xv"
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-05-24 08:03:35 UTC
take a look at bug #45393 
Comment 2 Frank Hollenbach 2004-05-25 13:29:51 UTC
The a.m. Bug was for the 7450, right ?
Also the same for the 7400 ? 
(could  be minimum diffs between 7450 and 7400)
krgds, Frank
Comment 3 Nicolai Langfeldt 2004-06-08 12:31:15 UTC
I'm seeing the exact same problem (same error in same file) with xine-lib on ppc, all ebuilds currently available: xine-lib-1_rc4-r1, xine-lib-1_rc4, xine-lib-1_rc3-r3, xine-lib-1_rc3-r2, xine-lib-1_rc2. 

 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 -O2 -pipe -mcpu=7400 -Wa,-m7400 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-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 -O2 -pipe -mcpu=7400 -MT idct_altivec.lo -MD -MP -MF .deps/idct_altivec.Tpo -c idct_altivec.c  -fPIC -DPIC -o .libs/idct_altivec.o
idct_altivec.c:629: error: syntax error before "signed"
idct_altivec.c:630: error: `vector' undeclared here (not in a function)
idct_altivec.c:630: error: syntax error before "signed"
idct_altivec.c:630: error: initializer element is not constant
idct_altivec.c:630: error: (near initialization for `constants[0]')

Regards,
  Nicolai
Comment 4 SpanKY gentoo-dev 2004-06-23 07:44:30 UTC

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