[Debian-astro-maintainers] Bug#1004570: indi-webcam: FTBFS with ffmpeg 5.0
Sebastian Ramacher
sramacher at debian.org
Sun Jan 30 17:00:23 GMT 2022
Source: indi-webcam
Version: 1.0+20220129131520-1
Severity: important
Tags: sid bookworm ftbfs
X-Debbugs-Cc: sramacher at debian.org
Usertags: ffmpeg5.0
indi-webcam FTBFS with ffmpeg 5.0 (available in experimental):
| [ 50%] Building CXX object CMakeFiles/indi_webcam_ccd.dir/indi_webcam.cpp.o
| /usr/lib/ccache/c++ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/libindi -g -std=c++0x -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations -MD -MT CMakeFiles/indi_webcam_ccd.dir/indi_webcam.cpp.o -MF CMakeFiles/indi_webcam_ccd.dir/indi_webcam.cpp.o.d -o CMakeFiles/indi_webcam_ccd.dir/indi_webcam.cpp.o -c /<<PKGBUILDDIR>>/indi_webcam.cpp
| /<<PKGBUILDDIR>>/indi_webcam.cpp: In member function ‘void indi_webcam::findAVFoundationVideoSources()’:
| /<<PKGBUILDDIR>>/indi_webcam.cpp:128:50: error: invalid conversion from ‘const AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
| 128 | AVInputFormat *iformat = av_find_input_format("avfoundation");
| | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
| | |
| | const AVInputFormat*
| /<<PKGBUILDDIR>>/indi_webcam.cpp: In constructor ‘indi_webcam::indi_webcam()’:
| /<<PKGBUILDDIR>>/indi_webcam.cpp:157:3: error: ‘av_register_all’ was not declared in this scope
| 157 | av_register_all();
| | ^~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/indi_webcam.cpp:161:3: error: ‘avcodec_register_all’ was not declared in this scope; did you mean ‘avdevice_register_all’?
| 161 | avcodec_register_all();
| | ^~~~~~~~~~~~~~~~~~~~
| | avdevice_register_all
| /<<PKGBUILDDIR>>/indi_webcam.cpp: In member function ‘bool indi_webcam::ConnectToSource(std::string, std::string, int, std::string, std::string)’:
| /<<PKGBUILDDIR>>/indi_webcam.cpp:247:39: error: invalid conversion from ‘const AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
| 247 | iformat = av_find_input_format(device.c_str());
| | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
| | |
| | const AVInputFormat*
| /<<PKGBUILDDIR>>/indi_webcam.cpp:290:32: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
| 290 | pCodec=avcodec_find_decoder(pFormatCtx->streams[videoStream]->codecpar->codec_id);
| | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | const AVCodec*
| /<<PKGBUILDDIR>>/indi_webcam.cpp: In member function ‘bool indi_webcam::refreshInputDevices()’:
| /<<PKGBUILDDIR>>/indi_webcam.cpp:513:43: error: invalid conversion from ‘const AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
| 513 | while ((d = av_input_video_device_next(d))) {
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
| | |
| | const AVInputFormat*
| /<<PKGBUILDDIR>>/indi_webcam.cpp: In member function ‘int indi_webcam::getNumOfInputDevices()’:
| /<<PKGBUILDDIR>>/indi_webcam.cpp:534:43: error: invalid conversion from ‘const AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
| 534 | while ((d = av_input_video_device_next(d)))
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
| | |
| | const AVInputFormat*
| /<<PKGBUILDDIR>>/indi_webcam.cpp: In member function ‘bool indi_webcam::refreshInputSources()’:
| /<<PKGBUILDDIR>>/indi_webcam.cpp:578:54: error: invalid conversion from ‘const AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
| 578 | AVInputFormat *iformat = av_find_input_format(videoDevice.c_str());
| | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
| | |
| | const AVInputFormat*
| make[3]: *** [CMakeFiles/indi_webcam_ccd.dir/build.make:79: CMakeFiles/indi_webcam_ccd.dir/indi_webcam.cpp.o] Error 1
Cheers
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-astro-maintainers/attachments/20220130/0d5b1fb9/attachment-0001.sig>
More information about the Debian-astro-maintainers
mailing list