Source: ffmpegfs
Version: 2.15-1
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):
> g++ -DHAVE_CONFIG_H -I. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64
> -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu
> -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu
> -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu
> -I/usr/include/chardet -DUSE_LIBDVD -DUSE_LIBBLURAY -I/usr/include/libxml2
> -I/usr/include/freetype2 -I/usr/include/libpng16 -DUSE_LIBVCD -Wdate-time
> -D_FORTIFY_SOURCE=2 -std=c++17 -Wall -Wextra -Wconversion -Wsign-compare
> -Wsign-conversion -Wpedantic -DNDEBUG -Ofast -g -D_GNU_SOURCE
> -D_FORTIFY_SOURCE=2 -Wl,-z,relro,-z,now -DEXTRA_VERSION=\"1\" -c -o
> ffmpeg_utils.o ffmpeg_utils.cc
> ffmpeg_transcoder.cc: In member function ‘int
> FFmpeg_Transcoder::open_output_filestreams(Buffer*)’:
> ffmpeg_transcoder.cc:2746:48: error: invalid conversion from ‘int (*)(void*,
> unsigned char*, int)’ to ‘int (*)(void*, const uint8_t*, int)’ {aka ‘int
> (*)(void*, const unsigned char*, int)’} [-fpermissive]
> 2746 | m_out.m_format_ctx->pb = avio_alloc_context(
> | ~~~~~~~~~~~~~~~~~~^
> | |
> | int (*)(void*,
> unsigned char*, int)
> 2747 | iobuffer,
> | ~~~~~~~~~
> 2748 | buf_size,
> | ~~~~~~~~~
> 2749 | 1,
> | ~~
> 2750 | static_cast<void *>(buffer),
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 2751 | nullptr, // read not required
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 2752 | output_write, // write
> | ~~~~~~~~~~~~~~~~~~~~~~~~
> 2753 | (m_current_format->audio_codec() != AV_CODEC_ID_OPUS)
> ? seek : nullptr); // seek
> |
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from
> /usr/include/aarch64-linux-gnu/libavformat/avformat.h:319,
> from ffmpeg_transcoder.cc:47:
> /usr/include/aarch64-linux-gnu/libavformat/avio.h:404:25: note:
> initializing argument 6 of ‘AVIOContext* avio_alloc_context(unsigned char*,
> int, int, void*, int (*)(void*, uint8_t*, int), int (*)(void*, const
> uint8_t*, int), int64_t (*)(void*, int64_t, int))’
> 404 | int (*write_packet)(void *opaque, const uint8_t
> *buf, int buf_size),
> |
> ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ffmpeg_transcoder.cc: In member function ‘void
> FFmpeg_Transcoder::produce_audio_dts(AVPacket*)’:
> ffmpeg_transcoder.cc:4239:183: warning: ‘AVCodecContext::ticks_per_frame’ is
> deprecated [-Wdeprecated-declarations]
> 4239 | pkt->duration = pkt_duration =
> static_cast<int>(av_rescale(pkt_duration,
> static_cast<int64_t>(m_out.m_audio.m_stream->time_base.den) *
> m_out.m_audio.m_codec_ctx->ticks_per_frame,
> m_out.m_audio.m_stream->codecpar->sample_rate *
> static_cast<int64_t>(m_out.m_audio.m_stream->time_base.num)));
> |
>
> ^~~~~~~~~~~~~~~
> In file included from ffmpeg_transcoder.cc:46:
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:576:9: note: declared here
> 576 | int ticks_per_frame;
> | ^~~~~~~~~~~~~~~
> ffmpeg_transcoder.cc:4239:183: warning: ‘AVCodecContext::ticks_per_frame’ is
> deprecated [-Wdeprecated-declarations]
> 4239 | pkt->duration = pkt_duration =
> static_cast<int>(av_rescale(pkt_duration,
> static_cast<int64_t>(m_out.m_audio.m_stream->time_base.den) *
> m_out.m_audio.m_codec_ctx->ticks_per_frame,
> m_out.m_audio.m_stream->codecpar->sample_rate *
> static_cast<int64_t>(m_out.m_audio.m_stream->time_base.num)));
> |
>
> ^~~~~~~~~~~~~~~
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:576:9: note: declared here
> 576 | int ticks_per_frame;
> | ^~~~~~~~~~~~~~~
> ffmpeg_transcoder.cc:4239:183: warning: ‘AVCodecContext::ticks_per_frame’ is
> deprecated [-Wdeprecated-declarations]
> 4239 | pkt->duration = pkt_duration =
> static_cast<int>(av_rescale(pkt_duration,
> static_cast<int64_t>(m_out.m_audio.m_stream->time_base.den) *
> m_out.m_audio.m_codec_ctx->ticks_per_frame,
> m_out.m_audio.m_stream->codecpar->sample_rate *
> static_cast<int64_t>(m_out.m_audio.m_stream->time_base.num)));
> |
>
> ^~~~~~~~~~~~~~~
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:576:9: note: declared here
> 576 | int ticks_per_frame;
> | ^~~~~~~~~~~~~~~
> ffmpeg_transcoder.cc: In instantiation of ‘void
> av_context_deleter<T>::operator()(T*) const [with T = AVCodecContext]’:
> /usr/include/c++/13/bits/shared_ptr_base.h:958:11: required from
> ‘std::__shared_count<_Lp>::__shared_count(_Ptr, _Deleter, _Alloc) [with _Ptr
> = AVCodecContext*; _Deleter = av_context_deleter<AVCodecContext>; _Alloc =
> std::allocator<void>; <template-parameter-2-4> = void;
> __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
> /usr/include/c++/13/bits/shared_ptr_base.h:939:57: required from
> ‘std::__shared_count<_Lp>::__shared_count(_Ptr, _Deleter) [with _Ptr =
> AVCodecContext*; _Deleter = av_context_deleter<AVCodecContext>;
> <template-parameter-2-3> = void; __gnu_cxx::_Lock_policy _Lp =
> __gnu_cxx::_S_atomic]’
> /usr/include/c++/13/bits/shared_ptr_base.h:1478:17: required from
> ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(_Yp*, _Deleter) [with _Yp =
> AVCodecContext; _Deleter = av_context_deleter<AVCodecContext>;
> <template-parameter-2-3> = void; _Tp = AVCodecContext;
> __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
> /usr/include/c++/13/bits/shared_ptr.h:232:48: required from
> ‘std::shared_ptr<_Tp>::shared_ptr(_Yp*, _Deleter) [with _Yp = AVCodecContext;
> _Deleter = av_context_deleter<AVCodecContext>; <template-parameter-2-3> =
> void; _Tp = AVCodecContext]’
> ffmpeg_transcoder.cc:201:91: required from here
> ffmpeg_transcoder.cc:192:22: warning: ‘int avcodec_close(AVCodecContext*)’ is
> deprecated [-Wdeprecated-declarations]
> 192 | avcodec_close(p);
> | ~~~~~~~~~~~~~^~~
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared
> here
> 2387 | int avcodec_close(AVCodecContext *avctx);
> | ^~~~~~~~~~~~~
> ffmpeg_transcoder.cc:192:22: warning: ‘int avcodec_close(AVCodecContext*)’ is
> deprecated [-Wdeprecated-declarations]
> 192 | avcodec_close(p);
> | ~~~~~~~~~~~~~^~~
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared
> here
> 2387 | int avcodec_close(AVCodecContext *avctx);
> | ^~~~~~~~~~~~~
> make[3]: *** [Makefile:569: ffmpeg_transcoder.o] Error 1
The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/ffmpegfs_arm64.build
ffmpeg 7.0 is available in experimental.
Cheers
--
Sebastian Ramacher