Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504234 - =x11-libs/libva-vdpau-driver-0.7.4-r1: ln: failed to create symbolic link ‘’: File exists
Summary: =x11-libs/libva-vdpau-driver-0.7.4-r1: ln: failed to create symbolic link ‘nv...
Status: RESOLVED DUPLICATE of bug 500338
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2014-03-11 17:20 UTC by Dmitry Derevyanko
Modified: 2014-03-11 17:48 UTC (History)
1 user (show)

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

emerge --info (,19.37 KB, application/x-info)
2014-03-11 17:22 UTC, Dmitry Derevyanko
build.log (build.log,36.25 KB, text/plain)
2014-03-11 17:23 UTC, Dmitry Derevyanko

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Derevyanko 2014-03-11 17:20:55 UTC
Multilib ebuild is trying to create links into one dir (/usr/lib64/va/drivers/) for both x86 and amd64. 
It's because destination dir setted from `pkg-config libva --variable driverdir` for both installations.

# pkg-config libva --variable driverdir

# grep -A 7 -ri "VA driver" configure
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VA drivers path" >&5
$as_echo_n "checking for VA drivers path... " >&6; }
LIBVA_DRIVERS_PATH=`$PKG_CONFIG libva --variable driverdir`
if test -z "$LIBVA_DRIVERS_PATH"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBVA_DRIVERS_PATH" >&5
$as_echo "$LIBVA_DRIVERS_PATH" >&6; }

Reproducible: Always

Steps to Reproduce:
1.USE="vdpau" emerge -1 x11-libs/libva
2. x11-libs/libva-vdpau-driver fails install stage
Comment 1 Dmitry Derevyanko 2014-03-11 17:22:45 UTC
Created attachment 372400 [details]
emerge --info
Comment 2 Dmitry Derevyanko 2014-03-11 17:23:44 UTC
Created attachment 372402 [details]
Comment 3 Dmitry Derevyanko 2014-03-11 17:42:27 UTC
Bug extremaly clause to #500338 but libva files installed normally.
# qlist libva | grep -i lib32

# /usr/bin/i686-pc-linux-gnu-pkg-config libva --variable=driverdir
Package libva was not found in the pkg-config search path.
Perhaps you should add the directory containing `libva.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libva' found
Comment 4 Dmitry Derevyanko 2014-03-11 17:48:55 UTC

*** This bug has been marked as a duplicate of bug 500338 ***