Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217297 - media-libs/xine-lib-1.1.11.1 failed.
Summary: media-libs/xine-lib-1.1.11.1 failed.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-11 13:51 UTC by Bernd Butscheidt
Modified: 2008-04-13 16:31 UTC (History)
1 user (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 Bernd Butscheidt 2008-04-11 13:51:51 UTC
emerging xine-lib-1.11.1 failed on my amd64:

==============

-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=athlon64 -O2 -pipe -frename-registers -ffunction-sections -DNDEBUG -c pp.c  -fPIC -DPIC -o .libs/xineplug_post_planar_la-pp.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:198: error: incompatible types in assignment
pp.c:200: error: ‘PP_CPU_CAPS_MMX2’ undeclared (first use in this function)
pp.c:200: error: invalid operands to binary |
pp.c:200: error: incompatible types in assignment
pp.c:202: error: ‘PP_CPU_CAPS_3DNOW’ undeclared (first use in this function)
pp.c:202: error: invalid operands to binary |
pp.c:202: error: incompatible types in assignment
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 `/extern02/var/tmp/portage/media-libs/xine-lib-1.1.11.1/work/xine-lib-1.1.11.1/src/post/planar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/extern02/var/tmp/portage/media-libs/xine-lib-1.1.11.1/work/xine-lib-1.1.11.1/src/post'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/extern02/var/tmp/portage/media-libs/xine-lib-1.1.11.1/work/xine-lib-1.1.11.1/src'
make: *** [all-recursive] Error 1
 *
 * ERROR: media-libs/xine-lib-1.1.11.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2717:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed."
 *  The die message:
 *   emake failed.

===========================

Here is my emerge --info:

============

Portage 2.1.5_rc2 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.7-r2, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+
Timestamp of tree: Fri, 11 Apr 2008 11:45:03 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.4.3-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -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/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://de-mirror.org/distro/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en en_GB de"
MAKEOPTS="-j3"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/own /usr/portage/local/layman/berkano /usr/portage/local/layman/vmware /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow acl alsa amd64 berkdb cdr cli cracklib crypt cups dga dri dvd fortran gdbm gpm iconv ipv6 isdnlog kde midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3 readline reflection session spl sse sse2 ssl tcpd unicode xorg zlib" ALSA_CARDS="HDA NVidia" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB de" USERLAND="GNU" VIDEO_CARDS="mga nv nvidia nvidia%"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

======================

Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-04-11 15:06:20 UTC
$ slocate postprocess.h
/usr/include/postproc/postprocess.h
$ qfile /usr/include/postproc/postprocess.h
media-video/ffmpeg (/usr/include/postproc/postprocess.h)
$

Try:
emerge -1 ffmpeg
Comment 2 Bernd Butscheidt 2008-04-11 17:05:12 UTC
(In reply to comment #1)

I reemerged ffmpeg, but this did not help.

I use the ffmpeg from berkano overlay, so postprocess.h is located in:

 
/usr/include/libpostproc


A 

ln -s /usr/include/libpostproc /usr/include/postproc

and another try of "emerge xine-lib" give the same result, although in both cases, the ./configure script seems to be satisfied:

========

checking for FFMPEG... yes
checking for FFMPEG_POSTPROC... yes
checking ffmpeg/avutil.h usability... yes
checking ffmpeg/avutil.h presence... yes
checking for ffmpeg/avutil.h... yes
configure:
*********************************************************************
xine is configured with external ffmpeg.

=============
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2008-04-11 18:55:24 UTC
ffmpeg from berkano overlay is live subversion, which has changed header locations (see bug 214740). Use a stable or ~arch keyworded ffmpeg version from portage if you want support.
Comment 4 Bernd Butscheidt 2008-04-13 16:31:44 UTC
(In reply to comment #3)
> ffmpeg from berkano overlay is live subversion, which has changed header
> locations (see bug 214740). Use a stable or ~arch keyworded ffmpeg version from
> portage if you want support.
> 

Thanks a lot, but this was already enough support, I didn't get the link to ffmpeg.

I used the ebuild without the option
"--with-external-ffmpeg"
and everything seems to work fine.