media-video/mplayer-9999 failed to build with the error message: Checking for the presence of libavutil/wchar_filename.h... Moving and checking file: libavformat/internal.h Checking for the presence of libavcodec/avcodec.h... Checking for the presence of libavcodec/bsf.h... Header depends on libavcodec/bsf.h ... but that file cannot be found, aborting * ERROR: media-video/mplayer-9999::gentoo failed (unpack phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_unpack * environment, line 3504: Called die * The specific snippet of code: * ./dump_ffmpeg.sh || die; Reproducible: Always Steps to Reproduce: 1. emerge -av1 media-video/mplayer Actual Results: failed Expected Results: not to fail
Created attachment 761389 [details] build.log
Created attachment 761390 [details] emerge -pqv '=media-video/mplayer-9999::gentoo'
Created attachment 761391 [details] emerge --info '=media-video/mplayer-9999::gentoo'
Do you have an older Nvidia card? I just encountered the same issue with handbrake and found this file to be missing on my system. It turns out that <ffmpeg-4.3 does not export this file during the install phase, but because ffmpeg has a dependency on my video card driver (why is that?) and newer versions won't support 390.nnn I am stuck to using the older ffmpeg. So to fix my issue I simply copied libavcodec/bsf.h from the ffmpeg-4.2.4-r1 source to /usr/include/libavcodec