Bug#1077855: jami FTBFS

Adrian Bunk bunk at debian.org
Sat Aug 3 13:46:33 BST 2024


Source: jami
Version: 20231201.0~ds2-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/experimental/amd64/jami.html

...
media/media_io_handle.cpp: In constructor 'jami::MediaIOHandle::MediaIOHandle(std::size_t, bool, io_readcallback, io_writecallback, io_seekcallback, void*)':
media/media_io_handle.cpp:40:77: error: invalid conversion from 'io_writecallback' {aka 'int (*)(void*, unsigned char*, int)'} to 'int (*)(void*, const uint8_t*, int)' {aka 'int (*)(void*, const unsigned char*, int)'} [-fpermissive]
   40 |     ctx_ = avio_alloc_context(buf, buffer_size, writeable, opaque, read_cb, write_cb, seek_cb);
      |                                                                             ^~~~~~~~
      |                                                                             |
      |                                                                             io_writecallback {aka int (*)(void*, unsigned char*, int)}
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319,
                 from media/libav_deps.h:30,
                 from media/media_io_handle.cpp:21:
/usr/include/x86_64-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),
      |                   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
media/media_decoder.cpp: In member function 'jami::MediaDemuxer::Status jami::MediaDemuxer::decode()':
media/media_decoder.cpp:349:40: error: 'const struct AVInputFormat' has no member named 'read_header'
  349 |         auto ret = inputCtx_->iformat->read_header(inputCtx_);
      |                                        ^~~~~~~~~~~
...



More information about the Pkg-voip-maintainers mailing list