Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225685 - >=media-libs/xine-lib-1.1.12-r1 fails to build
Summary: >=media-libs/xine-lib-1.1.12-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: xine-lib_1.1.14 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-09 22:13 UTC by Volker Hemmann
Modified: 2008-08-07 01:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The build log of the failed attempt (build.log,561.78 KB, text/plain)
2008-06-09 22:13 UTC, Volker Hemmann
Details
the environment information of the failed merge attempt. (environment,108.79 KB, text/plain)
2008-06-09 22:14 UTC, Volker Hemmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2008-06-09 22:13:04 UTC
updating to xine-lib-1.1.12-r1 fails with this error:
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -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 -fomit-frame-pointer -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 -march=k8 -O2 -msse3 -pipe -frename-registers -ffunction-sections -DNDEBUG -c pp.c  -fPIC -DPIC -o .libs/xineplug_post_planar_la-pp.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -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 -fomit-frame-pointer -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 -march=k8 -O2 -msse3 -pipe -frename-registers -ffunction-sections -DNDEBUG -c noise.c  -fPIC -DPIC -o .libs/xineplug_post_planar_la-noise.o
pp.c:29:27: error: postprocess.h: No such file or directory
pp.c:55: error: 'PP_QUALITY_MAX' undeclared here (not in a function)
pp.c:75: error: expected specifier-qualifier-list before 'pp_context_t'
pp.c: In function 'set_parameters':
pp.c:86: error: 'post_plugin_pp_t' has no member named 'lock'
pp.c:86: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type
pp.c:90: error: 'post_plugin_pp_t' has no member named 'lock'
pp.c:90: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type
pp.c: In function 'get_help':
pp.c:123: error: 'pp_help' undeclared (first use in this function)
pp.c:123: error: (Each undeclared identifier is reported only once
pp.c:123: error: for each function it appears in.)
pp.c:123: warning: passing argument 1 of 'strlen' from incompatible pointer type
pp.c:125: warning: passing argument 2 of 'strcat' from incompatible pointer type
pp.c: In function 'pp_open_plugin':
pp.c:196: error: 'PP_FORMAT_420' undeclared (first use in this function)
pp.c:196: warning: assignment makes integer from pointer without a cast
pp.c:198: error: 'PP_CPU_CAPS_MMX' undeclared (first use in this function)
pp.c:198: error: invalid operands to binary |
pp.c:200: error: 'PP_CPU_CAPS_MMX2' undeclared (first use in this function)
pp.c:200: error: invalid operands to binary |
pp.c:202: error: 'PP_CPU_CAPS_3DNOW' undeclared (first use in this function)
pp.c:202: error: invalid operands to binary |
pp.c:204: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:205: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c:207: error: 'post_plugin_pp_t' has no member named 'lock'
pp.c:207: warning: passing argument 1 of 'pthread_mutex_init' from incompatible pointer type
pp.c: In function 'pp_dispose':
pp.c:250: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:251: error: implicit declaration of function 'pp_free_mode'
pp.c:251: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:252: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:254: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c:255: error: implicit declaration of function 'pp_free_context'
pp.c:255: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c:256: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c: In function 'pp_draw':
pp.c:304: error: 'post_plugin_pp_t' has no member named 'lock'
pp.c:304: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type
pp.c:306: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c:314: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c:315: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c:317: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c:317: error: implicit declaration of function 'pp_get_context'
pp.c:319: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:320: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:321: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:325: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:326: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:326: error: implicit declaration of function 'pp_get_mode_by_name_and_quality'
pp.c:329: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:330: error: implicit declaration of function 'pp_postprocess'
pp.c:334: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:334: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c:337: error: 'post_plugin_pp_t' has no member named 'lock'
pp.c:337: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type
pp.c:339: error: 'post_plugin_pp_t' has no member named 'pp_mode'
make[3]: *** [xineplug_post_planar_la-pp.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.12-r1/work/xine-lib-1.1.12/src/post/planar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.12-r1/work/xine-lib-1.1.12/src/post'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.12-r1/work/xine-lib-1.1.12/src'
make: *** [all-recursive] Error 1
 *
 * ERROR: media-libs/xine-lib-1.1.12-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2722:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed."
 *  The die message:
 *   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/tmp/portage/media-libs/xine-lib-1.1.12-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/xine-lib-1.1.12-r1/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1.sync to latest portage tree
2. emerge -u world / pmerge -us world
3. see xine-lib fail
Comment 1 Volker Hemmann 2008-06-09 22:13:54 UTC
Created attachment 156131 [details]
The build log of the failed attempt
Comment 2 Volker Hemmann 2008-06-09 22:14:35 UTC
Created attachment 156133 [details]
the environment information of the failed merge attempt.
Comment 3 Volker Hemmann 2008-06-09 22:15:38 UTC
emerge --info
Portage 2.1.5.4 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-rc5r4mcp65patch x86_64)
=================================================================
System uname: 2.6.26-rc5r4mcp65patch x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Mon, 09 Jun 2008 16:10:24 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18.50.0.7
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -msse3 -pipe"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -msse3 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="C"
LC_ALL="C"
LDFLAGS=""
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/einit /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip S3TC X Xaw3d a52 aac accessibility acpi addbookmarks aiglx aim aio akode alias alsa altenburgcards amarok amd64 amr amrnb amrwb aotuv aqua_theme archive asf athena audiofile autoreplace bash-completion berkdb binary-drivers bluetooth boost branding bzip2 cairo captury cdda cddb cdinstall cdparanoia cdr cdrom cdsound cegui cg clamav cli connectionstatus contactnotes cpudetection cracklib crypt css cups curl dbus depth32 dhcp dio divx dnd double-precision dpms dri dts dv dvb dvbplayer dvbsetup dvd dvdr dvdread eds emboss emerald emul-linux-x86 encode evo exif expat exscalibar extra-cardsets fame fasttrack ffmpeg fftw file filter_default filter_legacy filter_light firefox fits flac foomaticdb fortran ftp gadu gammu gdbm gif gimp gimpprint glitz glut glx gnokii gnutella gpgme gpm gtk gtk2 hal hddtemp highlight history iconv icq icu id3 id3tag ieee1394 imagemagick imlib inotify irc irmc isdnlog jabber java javascript jce jingle joystick jpeg jpeg2k kcal kde kdecards kdeenablefinal kdehiddenvisibility kdepim kdm kexi kipi lame lapack lcms lesstif libnotify libsamplerate libwww lirc lm_sensors logitech-mouse lzo lzw mad magic maps matroska midi mikmod mime mixer mjpeg mmap mmx mmxext mng mp3 mp4 mpeg mpeg2 mplayer msn mtp mudflap mule multilib musepack music nano-syntax ncurses neXt net network newspr ngui nls no-old-linux nocd nosendmail nova nowin nowlistening nptl nptlonly nsplugin nvidia obex offensive ogg openexr opengl openmp oscar pam paste64 pch pcre pda pdf perl physfs player plugins png pnm posix ppds pppd python qt3 qt3support qt4 quicktime rar readline recode reflection reiser4 reiserfs remix resolvconf rogue rtc samba sametime scanner scenarios schedule scsi sdl sdl-sound sdlaudio sendfile server session sharedmem slp smp sms sndfile sockets sounds spell spl sqlite sqlite3 srt sse sse-filters sse2 sse3 ssl ssse3 startup-notification statistics stats stencil-buffer stroke subp subtitles svg sysfs sysvipc szip tcpd texteffect textures tga theora threads tiff timidity tk toolbar tools transcode translator truetype tv tv_check tv_combiner tv_pick_cgi type1 unicode unzip usb userlocales utempter v4l v4l2 vcd videos visualization vorbis webdav webpresence wifi wireshark wmf wmp wxwindows xanim xcb xcomposite xemacs xext xface xine xml xorg xosd xpm xrandr xrender xscreensaver xskatcards xv xvid xvmc yahoo yiff yv12 zip zlib zsh-completion zvbi" ALSA_CARDS="emu10k1" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga v4l nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-09 23:47:55 UTC
Am I right to assume that you have the hardmasked ffmepeg installed?! 


video team, the list in bug 218101 doesn't include xinelib, so I'm assigning, instead waiting for the expected and marking as duplicate.
Comment 5 Volker Hemmann 2008-06-10 00:19:43 UTC
oh.. yeah. Had all ffmpegs unmasked. Its an old entry. I will remove it and install an not-masked version. Sorry for the noise
Comment 6 Volker Hemmann 2008-06-10 00:23:01 UTC
emm... and now I get:
emerge -a media-video/ffmpeg

These are the packages that would be merged, in order:

Calculating dependencies       ... done!

!!! All ebuilds that could satisfy "media-video/ffmpeg" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-video/ffmpeg-0.4.9_p20080326 (masked by: package.mask)
- media-video/ffmpeg-0.4.9_p20080206 (masked by: package.mask)
- media-video/ffmpeg-0.4.9_p20070616-r2 (masked by: package.mask)
- media-video/ffmpeg-0.4.9_p20070616-r1 (masked by: package.mask)
- media-video/ffmpeg-0.4.9_p20070616 (masked by: package.mask)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

will wait with downgrading for a while ....
Comment 7 Alexis Ballier gentoo-dev 2008-07-10 16:53:21 UTC
*** Bug 231320 has been marked as a duplicate of this bug. ***
Comment 8 Alexis Ballier gentoo-dev 2008-07-10 16:55:02 UTC
whats the exact ffmpeg version you are using ?
Comment 9 Volker Hemmann 2008-07-10 17:08:11 UTC
Now I am using ffmpeg 0.4.9_p20080326 and xine-lib-1.1.4 installed fine.
Comment 10 Alexis Ballier gentoo-dev 2008-07-11 12:13:12 UTC
(In reply to comment #9)
> Now I am using ffmpeg 0.4.9_p20080326 and xine-lib-1.1.4 installed fine.
> 

so that's only 0.4.9_p20080206 causing problems ?
Comment 11 Volker Hemmann 2008-07-11 12:43:42 UTC
with =ffmpeg-0.4.9_p20080206
xine-lib 1.1.14 fails:

In file included from ../../../src/xine-engine/xine_internal.h:33,                                                                                                                                     
                 from ff_video_decoder.c:41:                                                                                                                                                           
../../../include/xine.h:2230: Warnung: »xine_tvsystem« ist veraltet
In Datei, eingefügt von ff_video_decoder.c:49:
/usr/include/ffmpeg/postprocess.h:30:30: Fehler: libavutil/avutil.h: Datei oder Verzeichnis nicht gefunden
/usr/include/ffmpeg/postprocess.h:55:5: Fehler: fehlender binärer Operator vor Token »(«
ff_video_decoder.c:123: Warnung: »AVPaletteControl« ist veraltet
ff_video_decoder.c: In Funktion »ff_handle_special_buffer«:
ff_video_decoder.c:1020: Warnung: »AVPaletteControl« ist veraltet
ff_video_decoder.c:1024: Warnung: »AVPaletteControl« ist veraltet
ff_video_decoder.c: In Funktion »ff_handle_buffer«:
ff_video_decoder.c:1354: Warnung: Übergabe des Arguments 1 von »pp_postprocess« von inkompatiblem Zeigertyp
ff_video_decoder.c: In Funktion »init_video_plugin«:
ff_video_decoder.c:1651: Warnung: Dereferenzierung eines Type-Pun-Zeigers könnte strict-aliasing-Regeln verletzen
make[3]: *** [xineplug_decode_ff_la-ff_video_decoder.lo] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
In file included from ../../../src/xine-engine/xine_internal.h:34,
                 from ff_audio_decoder.c:42:
../../../include/xine.h:2230: Warnung: »xine_tvsystem« ist veraltet
ff_audio_decoder.c: In Funktion »ff_audio_decode_data«:
ff_audio_decoder.c:323: Warnung: »avcodec_decode_audio« ist veraltet (deklariert bei /usr/include/ffmpeg/avcodec.h:2613)
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -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 -I../../../lib -I/usr/include/ffmpeg -I/usr/include/postproc -fvisibility=hidden -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 -march=k8 -O2 -msse3 -pipe -frename-registers -ffunction-sections -DNDEBUG -c ff_mpeg_parser.c  -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ff_mpeg_parser.o
In file included from ../../../src/xine-engine/xine_internal.h:34,
                 from ff_mpeg_parser.h:27,
                 from ff_mpeg_parser.c:29:
../../../include/xine.h:2230: Warnung: »xine_tvsystem« ist veraltet
make[3]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.14/work/xine-lib-1.1.14/src/combined/ffmpeg'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.14/work/xine-lib-1.1.14/src/combined'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.14/work/xine-lib-1.1.14/src'
make: *** [all-recursive] Fehler 1
!!! ERROR: media-libs/xine-lib-1.1.14 failed.
!!! Call stack:
!!!              ebuild-daemon.sh, line  192:  Called execute_phases 'compile'
!!!                     ebuild.sh, line  622:  Called dyn_compile
!!!   ebuild-default-functions.sh, line  266:  Called src_compile
!!!                     ebuild.sh, line 3467:  Called die
!!! The die message:
!!!  emake failed.
!!!
!!! If you need support, post the topmost build error, and the call stack if relevant.

but it builds perfectly fine with ffmpeg-0.4.9_p20080326
Comment 12 Robert Marmorstein 2008-07-22 08:39:13 UTC
Weird.  Because I get the exact same bug with ffmpeg-0.4.9_p20080326.
 
Did you change anything else?
Comment 13 Robert Marmorstein 2008-07-23 09:52:53 UTC
Nevermind.  I had installed an SVN version of ffmpeg directly from upstream source into /usr/local/bin.  That seems to be what's breaking xine-lib now.
Comment 14 Ben de Groot (RETIRED) gentoo-dev 2008-08-07 01:00:25 UTC
1.1.14 works fine with newer ffmpeg, so let's close this.