Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 504234

Summary: =x11-libs/libva-vdpau-driver-0.7.4-r1: ln: failed to create symbolic link ‘nvidia_drv_video.so’: File exists
Product: Gentoo Linux Reporter: Dmitry Derevyanko <nrndda>
Component: EclassesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nrndda
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

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
/usr/lib64/va/drivers

# 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
    LIBVA_DRIVERS_PATH="/usr/lib/xorg/modules/drivers"
fi
{ $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
3.
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]
build.log
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/lib32/libva-egl.so
/usr/lib32/libva-glx.so.1
/usr/lib32/libva-drm.so.1.3400.0
/usr/lib32/libva.so.1.3400.0
/usr/lib32/pkgconfig/libva-drm.pc
/usr/lib32/pkgconfig/libva-x11.pc
/usr/lib32/pkgconfig/libva-glx.pc
/usr/lib32/pkgconfig/libva-tpi.pc
/usr/lib32/pkgconfig/libva-egl.pc
/usr/lib32/pkgconfig/libva.pc
/usr/lib32/libva-tpi.so.1.3400.0
/usr/lib32/libva-tpi.so.1
/usr/lib32/libva-drm.so.1
/usr/lib32/libva-x11.so
/usr/lib32/libva-x11.so.1
/usr/lib32/libva-x11.so.1.3400.0
/usr/lib32/libva-glx.so.1.3400.0
/usr/lib32/libva.so.1
/usr/lib32/libva-tpi.so
/usr/lib32/libva-egl.so.1.3400.0
/usr/lib32/libva-glx.so
/usr/lib32/libva-drm.so
/usr/lib32/libva-egl.so.1
/usr/lib32/libva.so
/usr/lib32/va/drivers/vdpau_drv_video.so
/usr/lib32/va/drivers/nvidia_drv_video.so
/usr/lib32/va/drivers/s3g_drv_video.so
/usr/lib32/va/drivers/vdpau_drv_video.la

But
# /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 ***