Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48261 - media-libs/xine-lib-1_rc3-r3 fails to build
Summary: media-libs/xine-lib-1_rc3-r3 fails to build
Status: RESOLVED DUPLICATE of bug 44274
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-18 13:15 UTC by Michael Labhard
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
Complete ebuild output (mels.err.Z,33.01 KB, application/x-compress)
2004-04-18 13:17 UTC, Michael Labhard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Labhard 2004-04-18 13:15:40 UTC
gcc -I/lib/modules/2.6.3-gentoo-r2/build/include -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce -c kernel/i2c-dev.c -o kernel/i2c-dev.o
gcc -I/lib/modules/2.6.3-gentoo-r2/build/include -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce -c kernel/i2c-algo-bit.c -o kernel/i2c-algo-bit.o
kernel/i2c-dev.c:95: error: syntax error before "devfs_i2c"
kernel/i2c-dev.c:95: warning: data definition has no type or storage class
kernel/i2c-dev.c:96: error: syntax error before "devfs_handle"
kernel/i2c-dev.c:96: warning: initialization makes integer from pointer without a cast
kernel/i2c-dev.c:96: warning: data definition has no type or storage class
kernel/i2c-dev.c: In function `i2cdev_open':
kernel/i2c-dev.c:403: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-gentoo-r2/build/include/linux/module.h:488)
kernel/i2c-dev.c: In function `i2cdev_release':
kernel/i2c-dev.c:421: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-gentoo-r2/build/include/linux/module.h:500)
kernel/i2c-dev.c: In function `i2cdev_attach_adapter':
kernel/i2c-dev.c:452: error: `DEVFS_FL_DEFAULT' undeclared (first use in this function)
kernel/i2c-dev.c:452: error: (Each undeclared identifier is reported only once
kernel/i2c-dev.c:452: error: for each function it appears in.)
kernel/i2c-dev.c: At top level:
kernel/i2c-dev.c:536: warning: data definition has no type or storage class
make: *** [kernel/i2c-dev.o] Error 1
make: *** Waiting for unfinished jobs....
kernel/i2c-algo-bit.c: In function `sclhi':
kernel/i2c-algo-bit.c:117: warning: comparison of distinct pointer types lacks a cast
kernel/i2c-algo-bit.c: In function `i2c_bit_add_bus':
kernel/i2c-algo-bit.c:602: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-gentoo-r2/build/include/linux/module.h:488)
kernel/i2c-algo-bit.c: In function `i2c_bit_del_bus':
kernel/i2c-algo-bit.c:620: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.3-gentoo-r2/build/include/linux/module.h:500)

!!! ERROR: sys-apps/i2c-2.7.0 failed.
!!! Function src_install, Line 35, Exitcode 2
!!! (no error message)

==> /tmp/xine-libs.err <==

...

libtool-nofpic: link: warning: `/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../..//libfreetype.la' seems to be moved
gcc -shared  .libs/deinterlace.o .libs/alphablend.o .libs/video_out_xvmc.o  -Wl,--rpath -Wl,/var/tmp/portage/xine-lib-1_rc3-r3/work/xine-lib-1-rc3c/src/xine-engine/.libs -L/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../ -L/usr/X11R6/lib -lXv -lXvMC -lXvMCNVIDIA -lXinerama -lXext ../../src/xine-engine/.libs/libxine.so  -Wl,-soname -Wl,xineplug_vo_out_xvmc.so -o .libs/xineplug_vo_out_xvmc.so
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/X11R6/lib/libXvMC.a(XvMC.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/X11R6/lib/libXvMC.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [xineplug_vo_out_xvmc.la] Error 1


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 
2.6.3-gentoo-r2) 
================================================================= 
System uname: 2.6.3-gentoo-r2 x86_64 5 
Gentoo Base System version 1.4.9 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -fPIC" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -fPIC" 
DISTDIR="/opt/no_archive/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache sandbox" 
GENTOO_MIRRORS="http://128.213.5.34/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/opt/no_archive/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X alsa amd64 apm arts avi berkdb cdr crypt doc encode esd foomaticdb gdbm 
gif gnome gpm gtk gtk2 imlib jpeg kde ldap libg++ libwww log4cpp mikmod motif 
mozilla mpeg mysql nas ncurses nls nogcj oggvorbis opengl oss pam pdflib perl 
plotutils png postgres python qt quicktime readline ruby sdl slang spell ssl 
tcltk tcpd tetex truetype usb wxwindows xinerama xml2 xmms xv zlib"
Comment 1 Michael Labhard 2004-04-18 13:17:24 UTC
Created attachment 29568 [details]
Complete ebuild output
Comment 2 Travis Tilley (RETIRED) gentoo-dev 2004-04-18 13:31:11 UTC
i had to mark this version stable because of a security hole in previous versions. see bug 48107 for more information. since r6 is still masked in package.mask, i'm going to have to mark xorg-x11 stable and change the xine-lib dependency so that it depends on either the fixed xfree or xorg-x11.

however, i'm not supposed to be marking xorg-x11 stable anywhere.

but... r6 is masked in package.mask and i cant touch that at all.

so yeah, a slightly sticky situation at the moment.

*** This bug has been marked as a duplicate of 44274 ***
Comment 3 Travis Tilley (RETIRED) gentoo-dev 2004-04-18 14:37:30 UTC
i've marked xorg-x11 stable on amd64. xfree-4.3.0-r6 might be unmasked soon... also, i've updated xine to depend on xorg-x11, xfree 4.3.0-r6, or any later version of xfree.