Your message dated Thu, 13 Jun 2024 06:34:09 +0000
with message-id <[email protected]>
and subject line Bug#1072412: fixed in ffmpegfs 2.16-1
has caused the Debian Bug report #1072412,
regarding ffmpegfs: FTBFS with ffmpeg 7.0: 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]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1072412: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072412
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: ffmpegfs
Source-Version: 2.16-1
Done: Norbert Schlia <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ffmpegfs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Schlia <[email protected]> (supplier of updated ffmpegfs 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 10 Jun 2024 21:05:51 +0200
Source: ffmpegfs
Architecture: source
Version: 2.16-1
Distribution: unstable
Urgency: medium
Maintainer: Norbert Schlia <[email protected]>
Changed-By: Norbert Schlia <[email protected]>
Closes: 1072412
Changes:
 ffmpegfs (2.16-1) unstable; urgency=medium
 .
   * Bugfix: Closes:1072412: Fix build with FFmpeg 7.0. write_packet() now with
     const buffer as of Libavformat 61+.
   * Fixed deprecation: 2014-05-18 - 68c0518 / fd05602 - lavc 55.63.100 / 
55.52.0
     - avcodec.h
     Add avcodec_free_context(). From now on it should be used for freeing
     AVCodecContext.
   * Fixed deprecation: 2023-05-15 - 7d1d61cc5f5 - lavc 60 - avcodec.h
     Depreate AVCodecContext.ticks_per_frame in favor of
     AVCodecContext.framerate (encoding) and
     AV_CODEC_PROP_FIELDS (decoding).
Checksums-Sha1:
 84178c30647f1d688e1ccb87bb5f29e281e407d6 2460 ffmpegfs_2.16-1.dsc
 4480cd03549af9682c5c5083f0fc620fa7beebcd 14630485 ffmpegfs_2.16.orig.tar.gz
 8e3c761c54939102b2db0e84a665e97e7f8636cb 833 ffmpegfs_2.16.orig.tar.gz.asc
 0f00f92c95c316e022242ee86ad86e0fd81ee25e 16004 ffmpegfs_2.16-1.debian.tar.xz
 74352e306957266abb854e17a82e709552a17cba 12655 ffmpegfs_2.16-1_amd64.buildinfo
Checksums-Sha256:
 12e3c020927470b93e7f8cb28dacd3503a9f012e95cb772f30e4e1cb7025214e 2460 
ffmpegfs_2.16-1.dsc
 414e9eb0d4872d2337ec339d89d13dcf24840fc71f292c3798b2e3dee2da07cf 14630485 
ffmpegfs_2.16.orig.tar.gz
 5e37cde0dab60a4c0fb745e17e3b33c5856fa076c2c4e32061e70959bc5fbe4a 833 
ffmpegfs_2.16.orig.tar.gz.asc
 08ffc50a1c2824acc76b4bafe9fe669635e4dd2024d883e7d13f58680e0f4bd0 16004 
ffmpegfs_2.16-1.debian.tar.xz
 2631f6119bbef6d51d2e10e186632b7ef58e1a36e656622cc58d99813e153978 12655 
ffmpegfs_2.16-1_amd64.buildinfo
Files:
 82bf4ce616cbc9d13afc148f4ec50084 2460 utils optional ffmpegfs_2.16-1.dsc
 686e4c9993dc60c80b0709e2d191e6f3 14630485 utils optional 
ffmpegfs_2.16.orig.tar.gz
 86fe742a6b7190c0c138633989f7bad3 833 utils optional 
ffmpegfs_2.16.orig.tar.gz.asc
 210b92cc0ba7aa4ffe3ff747dce4f0ff 16004 utils optional 
ffmpegfs_2.16-1.debian.tar.xz
 e8e83d6955cff29aba4b87cbe1b4fd8f 12655 utils optional 
ffmpegfs_2.16-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEIsF2SKlSa4TfGRyWy+qOlwzNWd8FAmZqjXkVHGZhYmlhbkBn
cmVmZnJhdGguY29tAAoJEMvqjpcMzVnfKt8P/jdleqqh//C6U9f4tU4JWQUH70yT
1NZNn94nO6RS+eTEsGkqE5GK9fVyauwZ2nfJtdXwd0TIWe11iR9Ji4hjpMBAp8HV
w4OKDD9ioHjwfjZc7q1xLppf+dzzT+KeU/BU7NUvZSL5lIGBjBEtxqMSndNePco/
naCCf0NlJ49cy4Wzt4Vxzu8iEsB76D9uCjWHC9WNhsnyWhjxLBKbPXE/Od8CO9Je
TO0GWJiiYP6rrh79Y7P6U7sv/MsC85XVviH27aXRcJoC0kpgQTqkd4FYDMkUyLuh
Z1WQfLDgBMARYTQdxkbH5DKzOXf5FEkWWE8rZEkaaWNNC/MnVSJ+xCSvG3ZXyQVm
TuC0UU9LoekABVW9Cr/gUt4FBWb7suTKnFnrn8ZZDinJGWDnWr84I1NGP13aKt48
C7GgEBg+TBU9mFYZjR1C+K93MD3JbaJP/sedq/wjYtupHdsm4cbQ771O29AztWS/
ZrbgOWBw87AEQe03MdbX/R7b+dDsBY3wn2LrAntvnE/GmK7H7RrFpxOYQD44SLIC
178tBPzuKca7ufDs/Nzc1aIS38VMrCyxCMX6CCVfFU4cd2MCJa5X3v7fvB5yGdes
lEKGq+0h83muWo+6W4ck+bnEGullKs8Boye8h1FgEW4EKyGz3xb2IQiaHXPdbTA/
KstaSAclwghiY5yU
=cEki
-----END PGP SIGNATURE-----

Attachment: pgpcAA64tMg_v.pgp
Description: PGP signature


--- End Message ---

Reply via email to