Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90525 - emerge xine-lib 1.0.1 fails:
Summary: emerge xine-lib 1.0.1 fails:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 90532 90596 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-26 12:13 UTC by Jurek Bartuszek (RETIRED)
Modified: 2005-04-27 03:26 UTC (History)
3 users (show)

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 Jurek Bartuszek (RETIRED) gentoo-dev 2005-04-26 12:13:29 UTC
hell root # emerge -pv xine-lib

These are the packages that I would merge, in order:

Calculating dependencies   ...done!
[ebuild     U ] media-libs/xine-lib-1.0.1 [1.0-r4] +X -aac +aalib +alsa (-altivec) +arts -cle266 -debug -directfb +dvd -dxr3 +esd +fbcon -ffmpeg +flac -gnome -i8x0 +ipv6 -libcaca -mng +nls -nvidia +opengl +oss +png +samba +sdl -speex -theora -v4l -vcd -vidix +vorbis -win32codecs -xinerama +xv -xvmc 0 kB 

Total size of downloads: 0 kB

hell root # emerge -v xine-lib
[CUT]
make[3]: Entering directory `/var/tmp/portage/xine-lib-1.0.1/work/xine-lib-1.0.1/src/libspeex'
/bin/sh ../../libtool-nofpic --mode=compile i686-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../../lib    -mcpu=pentiumpro -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 -DENABLE_IPV6 -march=pentium4 -pipe -O2 -frename-registers -UHAVE_MMX -mno-sse2 -mno-sse3 -ffunction-sections -c -o xine_decoder.lo `test -f 'xine_decoder.c' || echo './'`xine_decoder.c
mkdir .libs
 i686-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../../lib -mcpu=pentiumpro -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 -DENABLE_IPV6 -march=pentium4 -pipe -O2 -frename-registers -UHAVE_MMX -mno-sse2 -mno-sse3 -ffunction-sections -c xine_decoder.c -o .libs/xine_decoder.o
xine_decoder.c:46:19: speex.h: No such file or directory
xine_decoder.c:47:26: speex_header.h: No such file or directory
xine_decoder.c:48:29: speex_callbacks.h: No such file or directory
xine_decoder.c:49:26: speex_stereo.h: No such file or directory
xine_decoder.c:78: error: syntax error before "SpeexBits"
xine_decoder.c:78: warning: no semicolon at end of struct or union
xine_decoder.c:79: warning: type defaults to `int' in declaration of `stereo'
xine_decoder.c:79: warning: data definition has no type or storage class
xine_decoder.c:88: error: syntax error before '}' token
xine_decoder.c:88: warning: type defaults to `int' in declaration of `speex_decoder_t'
xine_decoder.c:88: warning: data definition has no type or storage class
xine_decoder.c: In function `speex_reset':
xine_decoder.c:93: error: `this' undeclared (first use in this function)
xine_decoder.c:93: error: (Each undeclared identifier is reported only once
xine_decoder.c:93: error: for each function it appears in.)
xine_decoder.c:93: error: syntax error before ')' token
xine_decoder.c:95: warning: implicit declaration of function `speex_bits_init'
xine_decoder.c: In function `speex_discontinuity':
xine_decoder.c:100: error: `this' undeclared (first use in this function)
xine_decoder.c:100: error: syntax error before ')' token
xine_decoder.c: At top level:
xine_decoder.c:125: error: syntax error before '*' token
xine_decoder.c: In function `read_metadata':
xine_decoder.c:127: error: `comments' undeclared (first use in this function)
xine_decoder.c:131: error: `this' undeclared (first use in this function)
xine_decoder.c:133: error: `length' undeclared (first use in this function)
xine_decoder.c: In function `speex_decode_data':
xine_decoder.c:204: error: `this' undeclared (first use in this function)
xine_decoder.c:204: error: syntax error before ')' token
xine_decoder.c:216: error: `SpeexMode' undeclared (first use in this function)
xine_decoder.c:216: error: `spx_mode' undeclared (first use in this function)
xine_decoder.c:217: error: `SpeexHeader' undeclared (first use in this function)
xine_decoder.c:217: error: `spx_header' undeclared (first use in this function)
xine_decoder.c:223: warning: implicit declaration of function `speex_packet_to_header'
xine_decoder.c:231: error: syntax error before ')' token
xine_decoder.c:238: warning: implicit declaration of function `speex_decoder_init'
xine_decoder.c:245: warning: implicit declaration of function `speex_decoder_ctl'
xine_decoder.c:245: error: `SPEEX_SET_SAMPLING_RATE' undeclared (first use in this function)
xine_decoder.c:251: error: `SpeexCallback' undeclared (first use in this function)
xine_decoder.c:251: error: syntax error before "callback"
xine_decoder.c:253: error: `callback' undeclared (first use in this function)
xine_decoder.c:253: error: `SPEEX_INBAND_STEREO' undeclared (first use in this function)
xine_decoder.c:254: error: `speex_std_stereo_request_handler' undeclared (first use in this function)
xine_decoder.c:256: error: `SPEEX_SET_HANDLER' undeclared (first use in this function)
xine_decoder.c:262: error: `SPEEX_GET_FRAME_SIZE' undeclared (first use in this function)
xine_decoder.c:264: error: `SPEEX_GET_BITRATE' undeclared (first use in this function)
xine_decoder.c:323: warning: implicit declaration of function `speex_bits_read_from'
xine_decoder.c:330: warning: implicit declaration of function `speex_decode'
xine_decoder.c:338: warning: implicit declaration of function `speex_bits_remaining'
xine_decoder.c:344: warning: implicit declaration of function `speex_decode_stereo'
xine_decoder.c: In function `speex_dispose':
xine_decoder.c:382: error: `this' undeclared (first use in this function)
xine_decoder.c:382: error: syntax error before ')' token
xine_decoder.c:385: warning: implicit declaration of function `speex_decoder_destroy'
xine_decoder.c:387: warning: implicit declaration of function `speex_bits_destroy'
xine_decoder.c: In function `open_plugin':
xine_decoder.c:398: error: `this' undeclared (first use in this function)
xine_decoder.c:399: error: syntax error before "init_stereo"
xine_decoder.c:401: error: syntax error before ')' token
xine_decoder.c:417: error: `init_stereo' undeclared (first use in this function)
xine_decoder.c:417: error: `SpeexStereoState' undeclared (first use in this function)
make[3]: *** [xine_decoder.lo] Błąd 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.0.1/work/xine-lib-1.0.1/src/libspeex'
make[2]: *** [all-recursive] Błąd 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.0.1/work/xine-lib-1.0.1/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.0.1/work/xine-lib-1.0.1'
make: *** [all] Błąd 2

Something's wrong with speex. Please, help

Reproducible: Always
Steps to Reproduce:
1. emerge -v =media-libs/xine-lib-1.0.1




hell root # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 16:20:50)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium4 -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/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="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi acpi4linux alsa arts audiofile autofs avi berkdb bidi
bitmap-fonts cdparanoia cdr crypt cups curl devfs dga divx4linux doc dvb dvd
dvdr dvdread emboss encode escreen esd fam fbcon flac flash foomaticdb fortran
gcj gdbm gif gimpprint gphoto2 gpm gtk gtk2 imagemagick imlib ipv6 jack java
jpeg junit kadu-modules kadu-voice kde libg++ libwww lirc mad md5sum midi mikmod
mmx motif mozilla mp3 mpeg ncurses nls nptl nptlonly objc ogg oggvorbis opengl
oss pam pda pdflib perl png pnp ppds python qt quicktime readline real ruby
samba scanner sdl slang spell sqlite sse sse2 ssl svga tcltk tcpd tetex tiff
timidity truetype truetype-fonts type1 type1-fonts usb videos vim-with-x vorbis
wxwindows xine xml xml2 xmms xv xvid zlib linguas_pl"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Juergen Kaetzler 2005-04-26 12:39:15 UTC
Same here for me!

 emerge --info
Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-nitro2 i686)
=================================================================
System uname: 2.6.11-nitro2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.11
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
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.97
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -mmmx -msse -msse2 -ffast-math -mfpmath=sse -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -mmmx -msse -msse2 -ffast-math -mfpmath=sse -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gentoo-de /usr/local/overlays/bmg-main"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl directfb divx4linux dvd dvdr emboss encode esd fam flac foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 jabber java joystick jpeg kde libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline real scanner sdl slang spell sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb videos vorbis wmf wxwindows xml2 xmms xv zlib linguas_de"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-26 13:00:47 UTC
Ok found out, when I copied the patch on dev.gentoo.org I used the wrong file, I'm testing an incremental patch to fix this. Builds fine if you use speex useflag to enable speex support, else wait a bit till I fix it.
Comment 3 Juergen Kaetzler 2005-04-26 13:05:02 UTC
OK, seems to be a problem with speex:
xine_decoder.c:46:19: speex.h: No such file or directory
xine_decoder.c:47:26: speex_header.h: No such file or directory
xine_decoder.c:48:29: speex_callbacks.h: No such file or directory
xine_decoder.c:49:26: speex_stereo.h: No such file or directory

I checked my system, but there is no speex installed. So I did an "emerge speex" (which gave me speex-1.1.7 and now xine-lib-1.0.1 compiles fine.

Could it be this line with "$(use_enable speex) in the xine-1.0.1 ebuild:
econf \
                $(use_enable nls) \
                <snip>
                $(use_enable speex) \

I can't find "$(use_enable speex)" in the other ebuilds (xine-lib-1.0-r1-r4).
Comment 4 Raffi Chaglassian 2005-04-26 13:08:31 UTC
i got the same error on my amd64 box (speex.h deficiency); and got over it by adding speex to use and emerging with the -DN.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-26 13:40:39 UTC
I've fixed the problem in CVS, wait for rsync and the problem should disappear.
Comment 6 Juergen Kaetzler 2005-04-26 13:59:41 UTC
Thank you Diego! I'll try out tomorrow!
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-26 23:39:16 UTC
*** Bug 90532 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-04-27 03:26:00 UTC
*** Bug 90596 has been marked as a duplicate of this bug. ***