Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208061 - media-libs/xine-lib-1.1.9.1 will not compile
Summary: media-libs/xine-lib-1.1.9.1 will not compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-29 15:18 UTC by Mark Keisler
Modified: 2008-01-29 23:06 UTC (History)
0 users

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


Attachments
emerge log (media-libs:xine-lib-1.1.9.1:20080129-210158.log,357.35 KB, text/plain)
2008-01-29 21:11 UTC, Mark Keisler
Details
config.log (config.log,149.89 KB, text/plain)
2008-01-29 22:30 UTC, Mark Keisler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Keisler 2008-01-29 15:18:52 UTC
When trying to upgrade from media-libs/xine-lib-1.1.8, media-libs/xine-lib-1.1.9.1 fails to compile with an error that it cannot find -lxvidcore.

Reproducible: Always

Steps to Reproduce:
1.emerge media-libs/xine-lib
2.
3.

Actual Results:  
i686-pc-linux-gnu-gcc -shared  .libs/xineplug_decode_ff_la-ffmpeg_decoder.o .libs/xineplug_decode_ff_la-ff_audio_decoder.o .libs/xineplug_decode_ff_la-ff_video_decoder.o .libs/xineplug_decode_ff_la-ff_mpeg_parser.o  -Wl,--rpath -Wl,/var/tmp/portage/media-libs/xine-lib-1.1.9.1/work/xine-lib-1.1.9.1/src/xine-engine/.libs ../../src/xine-engine/.libs/libxine.so -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../.. -L/usr/lib -lavcodec -lz /usr/lib/libmp3lame.so -lxvidcore /usr/lib/libdc1394_control.so /usr/lib/libfaac.so /usr/lib/libfaad.so -ldl /usr/lib/libX11.so /usr/lib/libXext.so /usr/lib/libtheora.so /usr/lib/libvorbisenc.so /usr/lib/libraw1394.so -lavutil /usr/lib/libvorbis.so -lm /usr/lib/libogg.so -lpostproc  -march=athlon-xp -Wl,-z -Wl,defs -pthread -Wl,-soname -Wl,xineplug_decode_ff.so -o .libs/xineplug_decode_ff.so
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lxvidcore
collect2: ld returned 1 exit status
make[3]: *** [xineplug_decode_ff.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.9.1/work/xine-lib-1.1.9.1/src/libffmpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.9.1/work/xine-lib-1.1.9.1/src/libffmpeg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.9.1/work/xine-lib-1.1.9.1/src'


Expected Results:  
successful emerge

Portage 2.1.3.19 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i
686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 AMD Athlon(tm) XP 2800+
Timestamp of tree: Mon, 28 Jan 2008 18:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1
371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-m
odem 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"
ANT_HOME="/usr/share/ant-core"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_defaul
t authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex 
cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter hea
ders ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy pro
xy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userd
ir usertrack vhost_alias"
APACHE2_MPMS="worker"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /var/bind /var/www/localhost/htdocs/gallery /var/www/localhost/htdocs/horde/
kronolith/config /var/www/localhost/htdocs/horde/mnemo/config /var/www/localhost/htdocs/online-bo
okmarks/config /var/www/localhost/htdocs/phpmyadmin /var/www/localhost/htdocs/phpwiki/config /var
/www/localhost/htdocs/squirrelmail/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache
2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuil
d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userf
etch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7-r2/html"
GCC_SPECS=""
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info"
INPUT_DEVICES="keyboard mouse"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LADSPA_PATH="/usr/lib/ladspa"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAKEOPTS="-j2"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/opt/sun-jdk-1.4.2.16/man:/etc/java-config/system-vm/man/:/usr/lib/php5/man/"
NOCOLOR="true"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jdk-1.4.2.16/bin:/opt/sun-jdk-1.4.2.16/jre/bin:/opt/sun-jdk-1.4.2.16/jre/javaws"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="package ${PACKAGE} merged on ${HOST} with notice"
PORTAGE_ELOG_MAILURI="root@localhost"
PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
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_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10"
PWD="/root"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jdk-1.4.2.16/bin:/opt/sun-jdk-1.4.2.16/jre/bin:/opt/sun-jdk-1.4.2.16/jre/javaws"
RPMDIR="/usr/portage/rpm"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="1"
STAGE1_USE="nptl nptlonly unicode"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="screen"
USB_DEVFS_PATH="/dev/bus/usb"
USE="3dnow X aac aim alsa apache2 asf audacious bash-completion berkdb bitmap-fonts bzip2 bzlib cairo cdparanoia cdr cli cpudetection cracklib crypt cups curl dba dbus dri dv dvd dvdr dvdread emboss encode faad fam ffmpeg firefox flac foomaticdb gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imap imlib isdnlog java jpeg jpeg2k libpng mad maildir mhash midi mikmod mjpeg mmx mozbranding mp3 mpeg mplayer mudflap mysql mysqli ncurses nfs nls no-htdocs nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf perl php png posix postfix ppds pppd python qt4 quicktime readline real reflection samba sdl session sharedmem spell spl sse ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis webdav win32codecs wma x86 xine xml xorg xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga nvidia"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="vga nvidia"
VMHANDLE="sun-jdk-1.4"
XARGS="xargs -r"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-29 20:55:13 UTC
Attach config.log here and reopen then...
Comment 2 Mark Keisler 2008-01-29 21:11:53 UTC
Created attachment 142153 [details]
emerge log

Here's the log from the build.
Comment 3 Mark Keisler 2008-01-29 21:13:28 UTC
config log attached
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-01-29 21:14:37 UTC
No; config.log != emerge.log
Comment 5 Mark Keisler 2008-01-29 22:30:59 UTC
Created attachment 142165 [details]
config.log

Here's the config.log
Comment 6 Mark Keisler 2008-01-29 22:31:18 UTC
attached the right file this time.
Comment 7 Mark Keisler 2008-01-29 22:35:25 UTC
    to head you off at the pass in case it is important, here's my ffmpeg info:
    media-video/ffmpeg-0.4.9_p20070616  USE="X aac encode ieee1394 imlib mmx ogg
    sdl theora truetype vorbis xvid zlib -a52 (-altivec) -amr -debug -doc -network
    -oss -test -threads -v4l -x264"

Comment 8 Alexis Ballier gentoo-dev 2008-01-29 22:45:34 UTC
(In reply to comment #7)
>     to head you off at the pass in case it is important, here's my ffmpeg info:
>     media-video/ffmpeg-0.4.9_p20070616  USE="X aac encode ieee1394 imlib mmx
> ogg
>     sdl theora truetype vorbis xvid zlib -a52 (-altivec) -amr -debug -doc
> -network
>     -oss -test -threads -v4l -x264"
> 

how comes your ffmpeg is built with xvid useflag and you dont have media-libs/xvid  installed ?
Comment 9 Mark Keisler 2008-01-29 23:06:34 UTC
I do.
#  equery list  media-libs/xvid
[ Searching for package 'xvid' in 'media-libs' among: ]
 * installed packages
[I--] [  ] media-libs/xvid-1.1.3 (1)
# 

But...
# equery check xvid
[ Checking media-libs/xvid-1.1.3 ]
!!! /usr/lib/libxvidcore.a does not exist
!!! /usr/include/xvid.h does not exist
!!! /usr/lib/libxvidcore.so does not exist
 * 13 out of 16 files good
#

So I rebuilt xvid.  Racking my brain and checking logs revealed that I had done a depclean and unmerged media-libs/xvid-0.9.1 which had still been hanging around for some reason.  That must have ripped out the missing files.