Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254350 - media-libs/xine-lib-1.1.16 fails to build
Summary: media-libs/xine-lib-1.1.16 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-09 19:40 UTC by Volker Hemmann
Modified: 2009-01-13 17:24 UTC (History)
0 users

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


Attachments
build log (build.log.bz2,19.16 KB, application/octet-stream)
2009-01-09 19:41 UTC, Volker Hemmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2009-01-09 19:40:57 UTC
xine-lib-1.1.16 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 -march=k8-sse3 -O2 -msse3 -pipe -frename-registers -ffunction-sections -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wstrict-aliasing=2 -Werror=implicit-function-declaration -DNDEBUG -c pp.c  -fPIC -DPIC -o .libs/xineplug_post_planar_la-pp.o                                                    
pp.c:33:27: error: postprocess.h: No such file or directory                                                       
pp.c:59: error: 'PP_QUALITY_MAX' undeclared here (not in a function)                                              
pp.c:79: error: expected specifier-qualifier-list before 'pp_context_t'                                           
pp.c: In function 'set_parameters':                                                                               
pp.c:90: error: 'post_plugin_pp_t' has no member named 'lock'                                                     
pp.c:90: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type                       
pp.c:94: error: 'post_plugin_pp_t' has no member named 'lock'                                                     
pp.c:94: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type                     
pp.c: In function 'get_help':                                                                                     
pp.c:127: error: 'pp_help' undeclared (first use in this function)                                                
pp.c:127: error: (Each undeclared identifier is reported only once                                                
pp.c:127: error: for each function it appears in.)                                                                
pp.c:127: warning: format '%s' expects type 'char *', but argument 5 has type 'struct xine_post_api_parameter_t *'
pp.c: In function 'pp_open_plugin':                                                                               
pp.c:197: error: 'PP_FORMAT_420' undeclared (first use in this function)                                          
pp.c:197: warning: assignment makes integer from pointer without a cast                                           
pp.c:199: error: 'PP_CPU_CAPS_MMX' undeclared (first use in this function)                                        
pp.c:199: error: invalid operands to binary | (have 'int' and 'struct xine_post_api_parameter_t *')               
pp.c:199: warning: statement with no effect                                                                       
pp.c:201: error: 'PP_CPU_CAPS_MMX2' undeclared (first use in this function)                                       
pp.c:201: error: invalid operands to binary | (have 'int' and 'struct xine_post_api_parameter_t *')               
pp.c:201: warning: statement with no effect                                                                       
pp.c:203: error: 'PP_CPU_CAPS_3DNOW' undeclared (first use in this function)                                      
pp.c:203: error: invalid operands to binary | (have 'int' and 'struct xine_post_api_parameter_t *')               
pp.c:203: warning: statement with no effect                                                                       
pp.c:205: error: 'post_plugin_pp_t' has no member named 'pp_mode'                                                 
pp.c:205: warning: statement with no effect                                                                       
pp.c:206: error: 'post_plugin_pp_t' has no member named 'pp_context'                                              
pp.c:206: warning: statement with no effect                                                                       
pp.c:208: error: 'post_plugin_pp_t' has no member named 'lock'                                                    
pp.c:208: warning: passing argument 1 of 'pthread_mutex_init' from incompatible pointer type                      
pp.c: In function 'pp_dispose':                                                                                   
pp.c:251: error: 'post_plugin_pp_t' has no member named 'pp_mode'                                                 
pp.c:252: error: implicit declaration of function 'pp_free_mode'                                                  
pp.c:252: warning: nested extern declaration of 'pp_free_mode'                                                    
pp.c:252: error: 'post_plugin_pp_t' has no member named 'pp_mode'                                                 
pp.c:253: error: 'post_plugin_pp_t' has no member named 'pp_mode'                                                 
pp.c:253: warning: statement with no effect                                                                       
pp.c:255: error: 'post_plugin_pp_t' has no member named 'pp_context'                                              
pp.c:256: error: implicit declaration of function 'pp_free_context'                                               
pp.c:256: warning: nested extern declaration of 'pp_free_context'                                                 
pp.c:256: error: 'post_plugin_pp_t' has no member named 'pp_context'                                              
pp.c:257: error: 'post_plugin_pp_t' has no member named 'pp_context'                                              
pp.c:257: warning: statement with no effect                                                                       
pp.c: In function 'pp_draw':                                                                                      
pp.c:305: error: 'post_plugin_pp_t' has no member named 'lock'                                                    
pp.c:305: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type                      
pp.c:307: 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:316: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c:318: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c:318: error: implicit declaration of function 'pp_get_context'
pp.c:318: warning: nested extern declaration of 'pp_get_context'
pp.c:318: warning: statement with no effect
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:322: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:322: warning: statement with no effect
pp.c:326: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:327: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:327: error: implicit declaration of function 'pp_get_mode_by_name_and_quality'
pp.c:327: warning: nested extern declaration of 'pp_get_mode_by_name_and_quality'
pp.c:328: warning: statement with no effect
pp.c:330: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:331: error: implicit declaration of function 'pp_postprocess'
pp.c:331: warning: nested extern declaration of 'pp_postprocess'
pp.c:335: error: 'post_plugin_pp_t' has no member named 'pp_mode'
pp.c:335: error: 'post_plugin_pp_t' has no member named 'pp_context'
pp.c:338: error: 'post_plugin_pp_t' has no member named 'lock'
pp.c:338: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type
pp.c:340: 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....
 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 -march=k8-sse3 -O2 -msse3 -pipe -frename-registers -ffunction-sections -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wstrict-aliasing=2 -Werror=implicit-function-declaration -DNDEBUG -c noise.c  -fPIC -DPIC -o .libs/xineplug_post_planar_la-noise.o
make[3]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.16/work/xine-lib-1.1.16/src/post/planar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.16/work/xine-lib-1.1.16/src/post'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.16/work/xine-lib-1.1.16/src'
make: *** [all-recursive] Error 1


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -u world /pmerge -us world
3. see xine-lib-1.1.16 fail
Comment 1 Volker Hemmann 2009-01-09 19:41:59 UTC
Created attachment 177904 [details]
build log
Comment 2 Volker Hemmann 2009-01-09 19:43:05 UTC
emerge info output:
Portage 2.2_rc20 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28r4 x86_64)
=================================================================                                        
System uname: Linux-2.6.28r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5       
Timestamp of tree: Fri, 09 Jan 2009 15:30:01 +0000                                                       
ccache version 2.4 [enabled]                                                                             
app-shells/bash:     3.2_p48                                                                             
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                 
dev-lang/python:     2.5.2-r8                                                                            
dev-util/ccache:     2.4-r8                                                                              
dev-util/cmake:      2.6.2-r1                                                                            
sys-apps/baselayout: 2.0.0                                                                               
sys-apps/openrc:     0.4.1-r1                                                                            
sys-apps/sandbox:    1.3.2                                                                               
sys-devel/autoconf:  2.13, 2.63                                                                          
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                   
sys-devel/binutils:  2.19                                                                                
sys-devel/gcc-config: 1.4.0-r4                                                                           
sys-devel/libtool:   2.2.6a                                                                              
virtual/os-headers:  2.6.28-r1                                                                           
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                           
CBUILD="x86_64-pc-linux-gnu"                                                                             
CFLAGS="-march=k8-sse3 -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.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8-sse3 -O2 -msse3 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig buildpkg candy ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/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/local/portage/layman/games /usr/local/portage/layman/kde-crazy /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip S3TC X Xaw3d a52 aac acpi addbookmarks aiglx aim aio akode alias alsa altenburgcards amarok amd64 amr amrnb amrwb aotuv aqua_theme archive asf athena audiofile autoreplace avahi bash-completion berkdb binary-drivers bluetooth boost branding bzip2 cairo captury cdaudio cdda cddb cdinstall cdparanoia cdr cdrom cdsound cegui clamav cli connectionstatus consolekit contactnotes 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 emovix emul-linux-x86 encode evo exif exiv2 expat exscalibar extra-cardsets fame fasttrack ffmpeg fftw file filter_default filter_legacy filter_light firefox fits flac fontconfig foomaticdb fortran ftp gadu gammu gd gdbm gif gimp gimpprint glitz glut glx gnokii gnutella gpgme gpm hal hddtemp highlight history iconv icq icu id3 id3tag ieee1394 imagemagick inotify ipv6 irc irmc isdnlog jabber java javascript jce joystick jpeg jpeg2k kate kcal kde kdecards kdeenablefinalkdehiddenvisibility kdepim kdeprefix kdm kexi kipi lame lapack lcms lesstif libnotify libsamplerate libssh2 libwww lirc lm_sensors logitech-mouse lzo lzw mad magic mailbox maildir maps matroska mbox mdnsresponder-compat metric midi mikmod mime mixer mjpeg mmap mmx mmxext mng mp3 mp4 mpeg mpeg2 mplayer msn mtp mudflap mule multilib musepackmusic nano-syntax ncurses neXt nepomuk net network newspr ngui nls no-old-linux nocd nosendmail nova nowin nowlistening npp nptl nptlonly nsplugin ntfs obex offensive ogg ogg123 ogm openexr opengl openmp oscar otr pam paste64 pch pcre pda pdf perl physfs pixmaps plasma player plugins png pnm posix ppds pppd python qt3 qt3support qt4 quicktime rar readline recode reflection reiser4 reiserfs remix resolvconf rogue rtc samba sametime sasl scanner scenarios schedule scsi sdl sdl-image sdl-sound sdlaudio sendfile server session slp smp sms sndfile sockets sounds spellspl sqlite sqlite3 srt sse sse-filters sse2 sse3 ssh ssl ssse3 startup-notification statistics stats stencil-buffer stroke subp subtitles svg sysfs sysvipc szip tcpd texteffect textures tga theora threads threadsafe tiff timidity tk tomsfastmath toolbar tools transcode translator truetype tv tv_check tv_combiner tv_pick_cgi tvtime type1 unicode unzip usb userlocales utempter v4l v4l2 vcd videos visualization vorbis webdav webkit webpresence wifi wireshark wmf wmp wxwindows x264 xanim xcb xcomposite xemacs xext xface xine xml xorg xosd xpm xrandr xrender xscreensaver xskatcards xulrunner 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 metermmap_emul 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="vesa v4l fglrx radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-12 22:29:29 UTC
> pp.c:33:27: error: postprocess.h: No such file or directory

# qfile -C `locate postprocess.h`
media-video/ffmpeg (/usr/include/libpostproc/postprocess.h)

Do you have media-video/ffmpeg installed? Can you compile xine-lib-1.1.16 when you run

  emerge --oneshot ffmpeg

before?
Comment 4 Volker Hemmann 2009-01-12 23:10:14 UTC
I have ffmpeg installed:

media-video/ffmpeg
      Latest version available: 0.4.9_p20081219
      Latest version installed: 0.4.9_p20081219

I re-emerged it - same error. And then I had a moment of clarity.
There were three postprocess.h in /usr/include. In ffmpeg(, ffmepg/libpostproc and in libpostproc/

removed the first two - I needed them some time ago to get vegastrike building ... 

so the bug is either 'fixed' or 'invalid' or caused by xine's configure not looking into the right include directoy ...
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-13 17:24:21 UTC
I'd say this bug is INVALID as it seems like you were putting those additional postprocess.h files into the system.