Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emake fail of libva-vdpau-driver prevents emerge world[OK]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Wed Jul 23, 2014 7:48 am    Post subject: emake fail of libva-vdpau-driver prevents emerge world[OK] Reply with quote

Does anyone know how to deal with this? I have no clue:
Code:
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src     -march=core2 -O2 -pipe -c -o vdpau_buffer.lo /var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src/vdpau_buffer.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src -march=core2 -O2 -pipe -c /var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src/utils.c  -fPIC -DPIC -o .libs/utils.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src -march=core2 -O2 -pipe -c /var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src/vdpau_buffer.c  -fPIC -DPIC -o .libs/vdpau_buffer.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src     -march=core2 -O2 -pipe -c -o vdpau_decode.lo /var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src/vdpau_decode.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src -march=core2 -O2 -pipe -c /var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src/vdpau_decode.c  -fPIC -DPIC -o .libs/vdpau_decode.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src     -march=core2 -O2 -pipe -c -o vdpau_driver.lo /var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src/vdpau_driver.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src     -march=core2 -O2 -pipe -c -o vdpau_dump.lo /var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src/vdpau_dump.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src -march=core2 -O2 -pipe -c /var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src/vdpau_driver.c  -fPIC -DPIC -o .libs/vdpau_driver.o
/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src/vdpau_decode.c: In function ‘vdpau_EndPicture’:
/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src/vdpau_decode.c:1295:9: error: invalid use of void expression
make[2]: *** [vdpau_decode.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src -march=core2 -O2 -pipe -c /var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4/src/vdpau_dump.c  -fPIC -DPIC -o .libs/vdpau_dump.o
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4-abi_x86_64.amd64/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libva-vdpau-driver-0.7.4-r1/work/libva-vdpau-driver-0.7.4-abi_x86_64.amd64/src'
make: *** [all-recursive] Error 1
 * ERROR: x11-libs/libva-vdpau-driver-0.7.4-r1::gentoo failed (compile phase):
 *   emake failed


This needs to be solved or emerge world cannot complete.
:(


Last edited by EasterParade on Thu Jul 24, 2014 12:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
kontr-olli
n00b
n00b


Joined: 24 Jul 2014
Posts: 1

PostPosted: Thu Jul 24, 2014 12:49 pm    Post subject: temp workaround Reply with quote

Hi,

here is my workaround:

#mask x11-libs/libvdpau-0.8
echo ">=x11-libs/libvdpau-0.8" >> /etc/portage/package.mask/package.mask

#install x11-libs/libvdpau-0.7 instead of libvdpau-0.8
emerge x11-libs/libvdpau

#install latest libva-vdpau-driver
emerge x11-libs/libva-vdpau-driver

#re-run emerge world again

here you can find the recent bug-report related to your problem:
https://bugs.gentoo.org/show_bug.cgi?id=517778

regards,
Olli
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Thu Jul 24, 2014 12:57 pm    Post subject: Reply with quote

Thank you so much Olli, your workaround helped.

:D
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Thu Jul 24, 2014 3:32 pm    Post subject: Reply with quote

transsib wrote:
Thank you so much Olli, your workaround helped.

:D


You don't need it anymore. After reading your post, I've fixed the problem in Portage at version =x11-libs/libva-vdpau-driver-0.7.4-r2
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Thu Jul 24, 2014 3:35 pm    Post subject: Reply with quote

That´s what I´d call ultra-fast response, ssuominen :D
So Olli and me and certainly others won´t need a workaround
anymore. We can now remove that libvdpau entry
in package.mask.

Thanks a ton all
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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