Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830670 - media-video/mplayer-9999 libavcodec/bsf.h file cannot be found
Summary: media-video/mplayer-9999 libavcodec/bsf.h file cannot be found
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-06 07:56 UTC by email200202
Modified: 2022-09-12 10:51 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,4.93 KB, text/x-log)
2022-01-06 07:57 UTC, email200202
Details
emerge -pqv '=media-video/mplayer-9999::gentoo' (file_830670.txt,712 bytes, text/plain)
2022-01-06 07:58 UTC, email200202
Details
emerge --info '=media-video/mplayer-9999::gentoo' (file_830670.txt,8.17 KB, text/plain)
2022-01-06 08:00 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2022-01-06 07:56:18 UTC
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
Comment 1 email200202 2022-01-06 07:57:54 UTC
Created attachment 761389 [details]
build.log
Comment 2 email200202 2022-01-06 07:58:53 UTC
Created attachment 761390 [details]
emerge -pqv '=media-video/mplayer-9999::gentoo'
Comment 3 email200202 2022-01-06 08:00:12 UTC
Created attachment 761391 [details]
emerge --info '=media-video/mplayer-9999::gentoo'
Comment 4 Gordon Bos 2022-03-09 13:29:44 UTC
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