[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1072426: kodi-inputstream-ffmpegdirect: FTBFS with ffmpeg 7.0: FFmpegStream.cpp:1067:35: error: ‘const AVInputFormat’ {aka ‘const struct AVInputFormat’} has no member named ‘read_probe’



Source: kodi-inputstream-ffmpegdirect
Version: 20.5.0+ds1-3
Severity: important
Tags: trixie sid ftbfs
Usertags: ffmpeg-7.0

Hi,

during a rebuild of the reverse dependencies for the transition to
ffmpeg 7.0, your package failed to build


Relevant part (hopefully):
> /usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_GLOBAL_VERSION_NETWORK_USED -DADDON_GLOBAL_VERSION_TOOLS_USED -DADDON_INSTANCE_VERSION_INPUTSTREAM_USED -DBUILD_KODI_ADDON -DFFMPEGDIRECT_VERSION=20.5.0 -Dinputstream_ffmpegdirect_EXPORTS  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC   -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -MD -MT CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/FFmpegStream.cpp.o -MF CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/FFmpegStream.cpp.o.d -o CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/FFmpegStream.cpp.o -c /<<PKGBUILDDIR>>/src/stream/FFmpegStream.cpp
> In file included from /<<PKGBUILDDIR>>/src/stream/FFmpegStream.h:14,
>                  from /<<PKGBUILDDIR>>/src/stream/FFmpegStream.cpp:8:
> /<<PKGBUILDDIR>>/src/stream/DemuxStream.h:36:7: warning: ‘ffmpegdirect::DemuxStream’ declared with greater visibility than the type of its field ‘ffmpegdirect::DemuxStream::cryptoSession’ [-Wattributes]
>    36 | class DemuxStream
>       |       ^~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/stream/FFmpegStream.h:15:
> /<<PKGBUILDDIR>>/src/stream/CurlInput.h:23:7: warning: ‘ffmpegdirect::CurlInput’ declared with greater visibility than the type of its field ‘ffmpegdirect::CurlInput::m_pFile’ [-Wattributes]
>    23 | class CurlInput
>       |       ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/stream/FFmpegStream.cpp: In member function ‘bool ffmpegdirect::FFmpegStream::OpenWithCURL(const AVInputFormat*)’:
> /<<PKGBUILDDIR>>/src/stream/FFmpegStream.cpp:1067:35: error: ‘const AVInputFormat’ {aka ‘const struct AVInputFormat’} has no member named ‘read_probe’
>  1067 |         if (iformat2 && iformat2->read_probe(&pd) > AVPROBE_SCORE_MAX / 4)
>       |                                   ^~~~~~~~~~
> /<<PKGBUILDDIR>>/src/stream/FFmpegStream.cpp:1076:37: error: ‘const AVInputFormat’ {aka ‘const struct AVInputFormat’} has no member named ‘read_probe’
>  1076 |           if (iformat2 && iformat2->read_probe(&pd) > AVPROBE_SCORE_MAX / 4)
>       |                                     ^~~~~~~~~~
> /<<PKGBUILDDIR>>/src/stream/FFmpegStream.cpp: In member function ‘bool ffmpegdirect::FFmpegStream::SeekTime(double, bool, double*)’:
> /<<PKGBUILDDIR>>/src/stream/FFmpegStream.cpp:1561:38: error: ‘const struct AVInputFormat’ has no member named ‘read_seek’
>  1561 |       if (m_pFormatContext->iformat->read_seek)
>       |                                      ^~~~~~~~~
> make[3]: *** [CMakeFiles/inputstream.ffmpegdirect.dir/build.make:135: CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/FFmpegStream.cpp.o] Error 1


The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/kodi-inputstream-ffmpegdirect_arm64.build

ffmpeg 7.0 is available in experimental.

Cheers

-- 
Sebastian Ramacher


Reply to: