Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't emerge kdemultimedia SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
pirassic
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 83
Location: Florence, Italy

PostPosted: Tue Mar 02, 2004 5:09 pm    Post subject: can't emerge kdemultimedia SOLVED Reply with quote

after the (looong) installation of this distro on AMD64, i began emerging kde.
everything went ok until it began to emerge the kdemultimedia package...

more in detail, it hangs on compiling xinelib:

make[4]: *** [xineplug_vo_out_xvmc.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/video_out'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/video_out'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2'
make: *** [all] Error 2


!!! ERROR: media-libs/xine-lib-1_rc2 failed.
!!! Function src_compile, Line 103, Exitcode 2
!!! Parallel make failed

..any advice?
thanks a lot


Last edited by pirassic on Thu Mar 04, 2004 9:22 am; edited 1 time in total
Back to top
View user's profile Send private message
gebner
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2004
Posts: 100
Location: Wien, EU

PostPosted: Tue Mar 02, 2004 5:25 pm    Post subject: Re: can't emerge kdemultimedia Reply with quote

pirassic wrote:
after the (looong) installation of this distro on AMD64


I thought an AMD64 would bootstrap itself in 40 minutes... Just curious, but what did take so long?

pirassic wrote:
make[4]: *** [xineplug_vo_out_xvmc.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/video_out'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/video_out'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2'
make: *** [all] Error 2


The errors above that are interesting... (hint)
_________________
clue = if 0 == 0 then clue else error "The poster didn't have any clue when he posted this."
Back to top
View user's profile Send private message
brad_mssw
n00b
n00b


Joined: 24 Dec 2003
Posts: 29
Location: Alachua, FL

PostPosted: Tue Mar 02, 2004 5:52 pm    Post subject: Reply with quote

your bug report wasn't very good. All you reported were the
errors that 'make' reported, not the compiler or linker, so it
tells us absolutely nothing (hint, show higher up in the log).

I just recompiled xine-lib-1_rc3-r1 here, without problems,
perhaps you should try that version instead of _rc2, I just
marked rc3-r1 stable in CVS, to make sure if you update your
sync within the next 45mins, that'll be the package it tries
to install by default.

If you still have problems, you're going to need to report your
CFLAGS and USE flags.

-Brad House
AMD64 Project Lead
brad_mssw@gentoo.org
Back to top
View user's profile Send private message
pirassic
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 83
Location: Florence, Italy

PostPosted: Wed Mar 03, 2004 8:25 am    Post subject: Reply with quote

ok, sorry for the incomplete reporting. i'll check it out now and see if it goes better with the new version after a sync.

thanks.
Back to top
View user's profile Send private message
pirassic
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 83
Location: Florence, Italy

PostPosted: Wed Mar 03, 2004 8:50 am    Post subject: Reply with quote

ok, same thing happened with the rc3.

CFLAGS="-O2"
USE="-gtk -gtk2 -gnome qt kde dvd alsa cdr"

/bin/sh ../../libtool-nofpic --mode=link gcc -I/usr/X11R6/include -DXINE_COMPILE -I/usr/include/SDL -D_REENTRANT -I../../src/video_out/vidix -I../../src/video_out/vidix -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O2 -o xineplug_vo_out_xvmc.la -rpath /usr/lib/xine/plugins/1.0.0 -avoid-version -module deinterlace.lo alphablend.lo video_out_xvmc.lo -L/usr/X11R6/lib -lXv -L/usr/X11R6/lib -lXvMC -lXvMCNVIDIA -L/usr/X11R6/lib -lXinerama -lXext ../../src/xine-engine/libxine.la
libtool-nofpic: link: warning: `/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../..//libfreetype.la' seems to be moved
/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
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r1/work/xine-lib-1-rc3a/src/video_out'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r1/work/xine-lib-1-rc3a/src/video_out'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r1/work/xine-lib-1-rc3a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r1/work/xine-lib-1-rc3a'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1_rc3-r1 failed.
!!! Function src_compile, Line 112, Exitcode 2
!!! Parallel make failed

the interesting line seems:
relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC

i don't know much about compilation, so i'm just guessing.
Back to top
View user's profile Send private message
chebe
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 101
Location: New Caledonia

PostPosted: Wed Mar 03, 2004 10:19 am    Post subject: Reply with quote

The answer is in the log ! (as usual I should say)
" recompile with -fPIC"

change your CFLAGS to : CFLAGS="-O2 -fPIC"

that should do it ... and don't make the samle misktake as I did adding --fPIC (2 -) it took me an hour to figure it out ;)
Back to top
View user's profile Send private message
chebe
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 101
Location: New Caledonia

PostPosted: Wed Mar 03, 2004 10:43 am    Post subject: Reply with quote

ooops ... after writing the previous post, I've tried to emerge kdemultimedia too ...
here is my /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
CFLAGS="-O2 -fPIC"
CHOST="x86_64-pc-linux-gnu"
USE=""
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://gentoo.ccccom.com ftp://gentoo.ccccom.com"
USE="-gnome -gtk qt kde cups dvd alsa cdr dvdr"

and here is the result for xine-lib-1-rc3a :
libtool-nofpic: link: warning: `/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../..//libfreetype.la' seems to be moved
/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] Erreur 1
[...]
!!! ERROR: media-libs/xine-lib-1_rc3-r1 failed.
!!! Function src_compile, Line 112, Exitcode 2
!!! Parallel make failed

huummm I guess there is something else ...
her...we need backup here !!!
Back to top
View user's profile Send private message
borh
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2002
Posts: 89
Location: Ljubljana

PostPosted: Wed Mar 03, 2004 11:10 am    Post subject: Reply with quote

I'm pretty sure if you unmerge nvidia-glx you will get xine-lib to compile. That's what I do (I use a CVS ebuild, so things may have changed).
Back to top
View user's profile Send private message
pirassic
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 83
Location: Florence, Italy

PostPosted: Wed Mar 03, 2004 11:18 am    Post subject: Reply with quote

yes, i did't get it to work even adding the suggested -fPIC to make.conf :roll:
Back to top
View user's profile Send private message
chebe
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 101
Location: New Caledonia

PostPosted: Wed Mar 03, 2004 11:19 am    Post subject: Reply with quote

hum but will nvidia-glx emerge from its ashes again ?

:lol:
Back to top
View user's profile Send private message
pirassic
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 83
Location: Florence, Italy

PostPosted: Wed Mar 03, 2004 11:19 am    Post subject: Reply with quote

borh wrote:
I'm pretty sure if you unmerge nvidia-glx you will get xine-lib to compile. That's what I do (I use a CVS ebuild, so things may have changed).


so first unmerge nvidia-glx, then emerge kdemultimedia and then nvidia-glx again??
Back to top
View user's profile Send private message
borh
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2002
Posts: 89
Location: Ljubljana

PostPosted: Wed Mar 03, 2004 11:51 am    Post subject: Reply with quote

Quote:
so first unmerge nvidia-glx, then emerge kdemultimedia and then nvidia-glx again??

Yes. Or more specifically:
Code:
# emerge -C nvidia-glx
# emerge xine-lib nvidia-glx
Back to top
View user's profile Send private message
pirassic
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 83
Location: Florence, Italy

PostPosted: Wed Mar 03, 2004 3:32 pm    Post subject: Reply with quote

you're right!! it works now!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum