Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946178 - media-video/vlc-3.0.21-r1: ld: cannot find -lvlc_vdpau: No such file or directory
Summary: media-video/vlc-3.0.21-r1: ld: cannot find -lvlc_vdpau: No such file or direc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2024-12-09 22:46 UTC by Adel KARA SLIMANE
Modified: 2025-01-08 08:22 UTC (History)
3 users (show)

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


Attachments
build.log (build.tar.xz,125.70 KB, application/x-xz)
2024-12-09 22:46 UTC, Adel KARA SLIMANE
Details
emerge --info (emerge-info-vlc.txt,7.71 KB, text/plain)
2024-12-09 22:50 UTC, Adel KARA SLIMANE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adel KARA SLIMANE 2024-12-09 22:46:35 UTC
Created attachment 913681 [details]
build.log

Hey,

I took some time on looking why vlc was failing to build and I believe this is the culprit

/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvlc_vdpau: No such file or directory

Thanks for your help!
Comment 1 Adel KARA SLIMANE 2024-12-09 22:50:33 UTC
Created attachment 913682 [details]
emerge --info
Comment 2 Adel KARA SLIMANE 2024-12-09 22:51:04 UTC
[ebuild  N    ] media-video/vlc-3.0.21-r1  USE="X a52 alsa dbus dts dvbpsi dvd encode ffmpeg flac gcrypt gui jpeg libnotify libsamplerate mad mp3 mpeg ncurses ogg png pulseaudio ssl svg truetype udev vaapi vdpau wayland x264 xml -aom -archive -aribsub -bidi -bluray -cddb -chromaprint -chromecast -dav1d -dc1394 -debug (-directx) -faad -fdk -fluidsynth -fontconfig -gme -gstreamer -ieee1394 -jack -kate -keyring -libass -libcaca -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications -matroska -modplug -mtp -musepack -nfs -omxil -optimisememory -opus -projectm -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -taglib -test -theora -tremor -twolame -upnp -v4l -vnc -vpx -x265 -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1"
Comment 3 Adel KARA SLIMANE 2024-12-09 23:10:57 UTC
I can successfully build when I disable the vdpau use flag, not sure if this report is a duplicate or not
Comment 4 nvaert1986 2024-12-26 16:23:30 UTC
The error happened to me too. Emerging it with -vdpau resolved the issue for now as a workaround.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-30 10:22:45 UTC
is vlc-3.0.2.1 (-r0) ok?
Comment 6 Tom Englund 2025-01-08 08:14:38 UTC
seems to be a upstream issue, https://code.videolan.org/videolan/vlc/-/issues/28374

applying https://code.videolan.org/videolan/vlc/-/merge_requests/6454 and https://code.videolan.org/videolan/vlc/-/merge_requests/6496 makes media-video/vlc-3.0.21-r2 build with vdpau again
Comment 7 Larry the Git Cow gentoo-dev 2025-01-08 08:22:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c299fc3514a283058ff66ac580e1d7d26bd968db

commit c299fc3514a283058ff66ac580e1d7d26bd968db
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-08 08:21:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-08 08:21:22 +0000

    media-video/vlc: fix parallel make issue w/ USE=vdpau
    
    Thanks to Tom for finding the fixes.
    
    Closes: https://bugs.gentoo.org/946178
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/vlc/files/vlc-3.0.2.1-vdpau.patch | 174 ++++++++++++++++++++++++++
 media-video/vlc/vlc-3.0.21-r1.ebuild          |   3 +-
 media-video/vlc/vlc-3.0.21-r2.ebuild          |   3 +-
 3 files changed, 178 insertions(+), 2 deletions(-)