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

Bug 196183

Summary: media-libs/xine-lib-1.1.8 does not compile ffmpeg-0.4.9_p20070330
Product: Gentoo Linux Reporter: Chan Min Wai <dcmwai>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build Log

Description Chan Min Wai 2007-10-17 15:55:42 UTC
media-libs/xine-lib-1.1.8 does not compile ffmpeg-0.4.9_p20070330
At the end it show.

Very Similar to bug 183692 in Error message but after the patch apply.

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -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 -I../../lib -fvisibility=hidden -I/usr/include/ffmpeg -I/usr/include/postproc -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -O2 -march=nocona -fomit-frame-pointer -pipe -mmmx -msse -falign-functions=64 -frename-registers -ffunction-sections -DNDEBUG -c ff_audio_decoder.c  -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ff_audio_decoder.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -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 -I../../lib -fvisibility=hidden -I/usr/include/ffmpeg -I/usr/include/postproc -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -O2 -march=nocona -fomit-frame-pointer -pipe -mmmx -msse -falign-functions=64 -frename-registers -ffunction-sections -DNDEBUG -c ff_video_decoder.c  -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ff_video_decoder.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -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 -I../../lib -fvisibility=hidden -I/usr/include/ffmpeg -I/usr/include/postproc -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -O2 -march=nocona -fomit-frame-pointer -pipe -mmmx -msse -falign-functions=64 -frename-registers -ffunction-sections -DNDEBUG -c ffmpeg_decoder.c  -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ffmpeg_decoder.o
In file included from ffmpeg_decoder.h:32,
                 from ff_audio_decoder.c:48:
/usr/include/ffmpeg/avcodec.h:2460: warning: 'ImgReSampleContext' is deprecated
/usr/include/ffmpeg/avcodec.h:2463: warning: 'ImgReSampleContext' is deprecated
In file included from ffmpeg_decoder.h:32,
                 from ff_audio_decoder.c:48:
/usr/include/ffmpeg/avcodec.h:2825:45: warning: no newline at end of file
/usr/include/ffmpeg/avcodec.h:21:1: error: unterminated #ifndef
In file included from ff_audio_decoder.c:48:
ffmpeg_decoder.h:37: error: expected ';', ',' or ')' before 'typedef'
make[3]: *** [xineplug_decode_ff_la-ff_audio_decoder.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ffmpeg_decoder.h:32,
                 from ff_video_decoder.c:48:
/usr/include/ffmpeg/avcodec.h:2460: warning: 'ImgReSampleContext' is deprecated
/usr/include/ffmpeg/avcodec.h:2463: warning: 'ImgReSampleContext' is deprecated
In file included from ffmpeg_decoder.h:32,
                 from ff_video_decoder.c:48:
/usr/include/ffmpeg/avcodec.h:2825:45: warning: no newline at end of file
/usr/include/ffmpeg/avcodec.h:21:1: error: unterminated #ifndef
In file included from ff_video_decoder.c:48:
ffmpeg_decoder.h:37: error: expected ';', ',' or ')' before 'typedef'
make[3]: *** [xineplug_decode_ff_la-ff_video_decoder.lo] Error 1
In file included from ffmpeg_decoder.h:32,
                 from ffmpeg_decoder.c:33:
/usr/include/ffmpeg/avcodec.h:2460: warning: 'ImgReSampleContext' is deprecated
/usr/include/ffmpeg/avcodec.h:2463: warning: 'ImgReSampleContext' is deprecated
In file included from ffmpeg_decoder.h:32,
                 from ffmpeg_decoder.c:33:
/usr/include/ffmpeg/avcodec.h:2825:45: warning: no newline at end of file
/usr/include/ffmpeg/avcodec.h:21:1: error: unterminated #ifndef
In file included from ffmpeg_decoder.c:33:
ffmpeg_decoder.h:37: error: expected ';', ',' or ')' before 'typedef'
make[3]: *** [xineplug_decode_ff_la-ffmpeg_decoder.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.8/work/xine-lib-1.1.8/src/libffmpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.8/work/xine-lib-1.1.8/src/libffmpeg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.8/work/xine-lib-1.1.8/src'
make: *** [all-recursive] Error 1
 *
 * ERROR: media-libs/xine-lib-1.1.8 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   xine-lib-1.1.8.ebuild, line 183:   Called die
 *
 * emake failed.
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-libs:xine-lib-1.1.8:20071017-152411.log'.
 *


Reproducible: Always

Steps to Reproduce:
1. build amarok
2. Wait for the fail
Comment 1 Chan Min Wai 2007-10-17 15:56:54 UTC
Created attachment 133682 [details]
Build Log

Build Log
Comment 2 Chan Min Wai 2007-10-17 15:57:53 UTC
Build info 

Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Timestamp of tree: Wed, 17 Oct 2007 15:20:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe -mmmx -msse -falign-functions=64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe -mmmx -msse -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg candy ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/pub/gentoo/ ftp://mirror.isp.net.au/pub/gentoo/ ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo http://mirror.gentoo.gr.jp http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.channelx.biz/ http://gentoo.scphost.com ftp://gentoo.mirrors.scphost.com/pub/mirrors/gentoo/ http://ftp.isu.edu.tw/pub/Linux/Gentoo ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.twaren.net/Linux/Gentoo/ ftp://ftp.twaren.net/Linux/Gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 arts bash-completion berkdb bitmap-fonts bzip2 cairo cdr cjk cli cracklib crypt cups curl dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gd gdbm gif gnome gpm gstreamer gtk hal iconv imagemagick imap iodbc ipv6 isdnlog javascript jpeg kde kerberos ldap libedit logrotate mad maildir mailwrapper mbox memlimit mhash midi mikmod mime mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly objc odbc ogg opengl openmp oss pam pcre pdf perl png posix postgres pppd python qt3 qt3support qt4 quicktime readline reflection samba sasl sdl session slp snmp sockets spell spl sse sse2 ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis xml xmlrpc xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-17 16:01:11 UTC
Well, so try w/ >=ffmpeg-0.4.9_p20070616
Comment 4 Chan Min Wai 2007-10-18 12:14:36 UTC
OK, that fixed the issue.

Thanks.

But I guess that it is better to put the ffmpeg things to the ebuild, that avoid the problem.
Comment 5 Chan Min Wai 2007-10-18 13:21:47 UTC
Ok, Verified.

But it would be better it the xine-lin ebuild states that :)

Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-10-18 17:53:30 UTC
See Bug 193563 for stabilization. Thanks for reporting back.