Your message dated Fri, 11 Nov 2022 15:24:00 +0000
with message-id <[email protected]>
and subject line Bug#1013516: fixed in libcvd 
0.0~git20221020150751.30e8cfc+ds1-1
has caused the Debian Bug report #1013516,
regarding libcvd: FTBFS: cvd_src/videofilebuffer2.cc:272:33: error: 
‘av_register_all’ was not declared in this scope
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.)


-- 
1013516: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013516
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libcvd
Version: 0.0~git20220106103934.34d8e26+ds1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220624 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> g++  -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wextra -Wconversion -pipe -ggdb -fPIC -mmmx 
> -msse -msse -msse2 -msse3 -c cvd_src/tensor_voting.cc -o 
> cvd_src/tensor_voting.o -MMD -MP -MF cvd_src/tensor_voting.d
> cvd_src/videofilebuffer2.cc: In constructor 
> ‘CVD::VFB::RawVideoFileBufferPIMPL::RawVideoFileBufferPIMPL(const string&, 
> const string&, bool, bool, const std::map<std::__cxx11::basic_string<char>, 
> std::__cxx11::basic_string<char> >&)’:
> cvd_src/videofilebuffer2.cc:272:33: error: ‘av_register_all’ was not declared 
> in this scope
>   272 |                                 av_register_all();
>       |                                 ^~~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:273:33: error: ‘avcodec_register_all’ was not 
> declared in this scope; did you mean ‘avdevice_register_all’?
>   273 |                                 avcodec_register_all();
>       |                                 ^~~~~~~~~~~~~~~~~~~~
>       |                                 avdevice_register_all
> cvd_src/videofilebuffer2.cc:285:67: error: invalid conversion from ‘const 
> AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
>   285 |                                         fmt = 
> av_find_input_format(formatname.c_str());
>       |                                               
> ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
>       |                                                                   |
>       |                                                                   
> const AVInputFormat*
> cvd_src/videofilebuffer2.cc:322:91: error: ‘AVStream’ {aka ‘struct AVStream’} 
> has no member named ‘codec’
>   322 |                                         AVMediaType t = 
> input_format_context->streams[i]->codec->codec_type;
>       |                                                                       
>                     ^~~~~
> cvd_src/videofilebuffer2.cc:323:96: error: ‘AVStream’ {aka ‘struct AVStream’} 
> has no member named ‘codec’
>   323 |                                         AVCodecContext* vc = 
> input_format_context->streams[i]->codec;
>       |                                                                       
>                          ^~~~~
> cvd_src/videofilebuffer2.cc:342:113: error: ‘AVStream’ {aka ‘struct 
> AVStream’} has no member named ‘codec’
>   342 |                                                         
> video_codec_context = input_format_context->streams[i]->codec;
>       |                                                                       
>                                           ^~~~~
> cvd_src/videofilebuffer2.cc:411:67: error: invalid conversion from ‘const 
> AVCodec*’ to ‘AVCodec*’ [-fpermissive]
>   411 |                                 video_codec = 
> avcodec_find_decoder(video_codec_context->codec_id);
>       |                                               
> ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                                   |
>       |                                                                   
> const AVCodec*
> cvd_src/videofilebuffer2.cc: In member function 
> ‘std::unique_ptr<CVD::VFB::VFHolderBase> 
> CVD::VFB::RawVideoFileBufferPIMPL::read_frame_from_video()’:
> cvd_src/videofilebuffer2.cc:484:47: warning: ‘void av_init_packet(AVPacket*)’ 
> is deprecated [-Wdeprecated-declarations]
>   484 |                                 av_init_packet(&packet);
>       |                                 ~~~~~~~~~~~~~~^~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
>                  from cvd_src/videofilebuffer2.cc:17:
> /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
>   506 | void av_init_packet(AVPacket *pkt);
>       |      ^~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:513:41: error: there are no arguments to 
> ‘avcodec_decode_video2’ that depend on a template parameter, so a declaration 
> of ‘avcodec_decode_video2’ must be available [-fpermissive]
>   513 |                                         
> avcodec_decode_video2(video_codec_context, raw_image, &got_picture, &packet);
>       |                                         ^~~~~~~~~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:513:41: note: (if you use ‘-fpermissive’, G++ 
> will accept your code, but allowing the use of an undeclared name is 
> deprecated)
> cvd_src/videofilebuffer2.cc:527:57: error: ‘AVPicture’ was not declared in 
> this scope; did you mean ‘AVPictureType’?
>   527 |                                         
> avpicture_fill((AVPicture*)converted_image, 
> reinterpret_cast<uint8_t*>(ret.data()), output_fmt, size.x, size.y);
>       |                                                         ^~~~~~~~~
>       |                                                         AVPictureType
> cvd_src/videofilebuffer2.cc:527:67: error: expected primary-expression before 
> ‘)’ token
>   527 |                                         
> avpicture_fill((AVPicture*)converted_image, 
> reinterpret_cast<uint8_t*>(ret.data()), output_fmt, size.x, size.y);
>       |                                                                   ^
> cvd_src/videofilebuffer2.cc:527:41: error: there are no arguments to 
> ‘avpicture_fill’ that depend on a template parameter, so a declaration of 
> ‘avpicture_fill’ must be available [-fpermissive]
>   527 |                                         
> avpicture_fill((AVPicture*)converted_image, 
> reinterpret_cast<uint8_t*>(ret.data()), output_fmt, size.x, size.y);
>       |                                         ^~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:537:33: error: there are no arguments to 
> ‘av_free_packet’ that depend on a template parameter, so a declaration of 
> ‘av_free_packet’ must be available [-fpermissive]
>   537 |                                 av_free_packet(&packet);
>       |                                 ^~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc: In instantiation of 
> ‘std::unique_ptr<CVD::VFB::VFHolderBase> 
> CVD::VFB::RawVideoFileBufferPIMPL::read_frame_from_video() [with T = unsigned 
> char]’:
> cvd_src/videofilebuffer2.cc:545:45:   required from here
> cvd_src/videofilebuffer2.cc:484:47: warning: ‘void av_init_packet(AVPacket*)’ 
> is deprecated [-Wdeprecated-declarations]
>   484 |                                 av_init_packet(&packet);
>       |                                 ~~~~~~~~~~~~~~^~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
>                  from cvd_src/videofilebuffer2.cc:17:
> /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
>   506 | void av_init_packet(AVPacket *pkt);
>       |      ^~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:484:47: warning: ‘void av_init_packet(AVPacket*)’ 
> is deprecated [-Wdeprecated-declarations]
>   484 |                                 av_init_packet(&packet);
>       |                                 ~~~~~~~~~~~~~~^~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
>                  from cvd_src/videofilebuffer2.cc:17:
> /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
>   506 | void av_init_packet(AVPacket *pkt);
>       |      ^~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:484:47: warning: ‘void av_init_packet(AVPacket*)’ 
> is deprecated [-Wdeprecated-declarations]
>   484 |                                 av_init_packet(&packet);
>       |                                 ~~~~~~~~~~~~~~^~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
>                  from cvd_src/videofilebuffer2.cc:17:
> /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
>   506 | void av_init_packet(AVPacket *pkt);
>       |      ^~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:513:62: error: ‘avcodec_decode_video2’ was not 
> declared in this scope; did you mean ‘avcodec_decode_subtitle2’?
>   513 |                                         
> avcodec_decode_video2(video_codec_context, raw_image, &got_picture, &packet);
>       |                                         
> ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                         avcodec_decode_subtitle2
> cvd_src/videofilebuffer2.cc:527:55: error: ‘avpicture_fill’ was not declared 
> in this scope
>   527 |                                         
> avpicture_fill((AVPicture*)converted_image, 
> reinterpret_cast<uint8_t*>(ret.data()), output_fmt, size.x, size.y);
>       |                                         
> ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:537:47: error: ‘av_free_packet’ was not declared 
> in this scope; did you mean ‘av_new_packet’?
>   537 |                                 av_free_packet(&packet);
>       |                                 ~~~~~~~~~~~~~~^~~~~~~~~
>       |                                 av_new_packet
> cvd_src/videofilebuffer2.cc: In instantiation of 
> ‘std::unique_ptr<CVD::VFB::VFHolderBase> 
> CVD::VFB::RawVideoFileBufferPIMPL::read_frame_from_video() [with T = 
> CVD::Rgb<unsigned char>]’:
> cvd_src/videofilebuffer2.cc:547:50:   required from here
> cvd_src/videofilebuffer2.cc:484:47: warning: ‘void av_init_packet(AVPacket*)’ 
> is deprecated [-Wdeprecated-declarations]
>   484 |                                 av_init_packet(&packet);
>       |                                 ~~~~~~~~~~~~~~^~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
>                  from cvd_src/videofilebuffer2.cc:17:
> /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
>   506 | void av_init_packet(AVPacket *pkt);
>       |      ^~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:484:47: warning: ‘void av_init_packet(AVPacket*)’ 
> is deprecated [-Wdeprecated-declarations]
>   484 |                                 av_init_packet(&packet);
>       |                                 ~~~~~~~~~~~~~~^~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
>                  from cvd_src/videofilebuffer2.cc:17:
> /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
>   506 | void av_init_packet(AVPacket *pkt);
>       |      ^~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:484:47: warning: ‘void av_init_packet(AVPacket*)’ 
> is deprecated [-Wdeprecated-declarations]
>   484 |                                 av_init_packet(&packet);
>       |                                 ~~~~~~~~~~~~~~^~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
>                  from cvd_src/videofilebuffer2.cc:17:
> /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
>   506 | void av_init_packet(AVPacket *pkt);
>       |      ^~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:513:62: error: ‘avcodec_decode_video2’ was not 
> declared in this scope; did you mean ‘avcodec_decode_subtitle2’?
>   513 |                                         
> avcodec_decode_video2(video_codec_context, raw_image, &got_picture, &packet);
>       |                                         
> ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                         avcodec_decode_subtitle2
> cvd_src/videofilebuffer2.cc:527:55: error: ‘avpicture_fill’ was not declared 
> in this scope
>   527 |                                         
> avpicture_fill((AVPicture*)converted_image, 
> reinterpret_cast<uint8_t*>(ret.data()), output_fmt, size.x, size.y);
>       |                                         
> ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cvd_src/videofilebuffer2.cc:537:47: error: ‘av_free_packet’ was not declared 
> in this scope; did you mean ‘av_new_packet’?
>   537 |                                 av_free_packet(&packet);
>       |                                 ~~~~~~~~~~~~~~^~~~~~~~~
>       |                                 av_new_packet
> make[1]: *** [Makefile:267: cvd_src/videofilebuffer2.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/06/24/libcvd_0.0~git20220106103934.34d8e26+ds1-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: libcvd
Source-Version: 0.0~git20221020150751.30e8cfc+ds1-1
Done: Roland Mas <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libcvd, 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.
Roland Mas <[email protected]> (supplier of updated libcvd 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: SHA512

Format: 1.8
Date: Fri, 11 Nov 2022 15:23:58 +0100
Source: libcvd
Architecture: source
Version: 0.0~git20221020150751.30e8cfc+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Roland Mas <[email protected]>
Closes: 1013516
Changes:
 libcvd (0.0~git20221020150751.30e8cfc+ds1-1) unstable; urgency=medium
 .
   * New upstream snapshot fixing FTBFS.
   * Bug fix: "FTBFS: cvd_src/videofilebuffer2.cc:272:33: error:
     ‘av_register_all’ was not declared in this scope", thanks to Lucas
     Nussbaum (Closes: #1013516).
Checksums-Sha1:
 e3900216d1eef3c695ddc87b35b05a50c48097f0 2513 
libcvd_0.0~git20221020150751.30e8cfc+ds1-1.dsc
 043215c2265ff60c7075030a442aed7ac1693d83 462928 
libcvd_0.0~git20221020150751.30e8cfc+ds1.orig.tar.xz
 2d0f821efe0eefc9bfed154eb4768f48651b1bf1 4720 
libcvd_0.0~git20221020150751.30e8cfc+ds1-1.debian.tar.xz
 51f87098070444936cda41c6bdd40fa2cc03364d 14962 
libcvd_0.0~git20221020150751.30e8cfc+ds1-1_amd64.buildinfo
Checksums-Sha256:
 eff693a3f226ad97d1349486b1f27d2845a471453549f8b808dc183a6eb71bcc 2513 
libcvd_0.0~git20221020150751.30e8cfc+ds1-1.dsc
 1319cbb096db4df6874851b45c94d655a9b8fe2573bcc3b965f38bcdb62fb999 462928 
libcvd_0.0~git20221020150751.30e8cfc+ds1.orig.tar.xz
 ce83ecf5ae91c1bdd9d0696fa2131aaf75f4d1d725c9d089d42c0ff2ea24dc11 4720 
libcvd_0.0~git20221020150751.30e8cfc+ds1-1.debian.tar.xz
 5748a70e08184b90469e173d847e564cb993da079b71e5e872559680b77d54fe 14962 
libcvd_0.0~git20221020150751.30e8cfc+ds1-1_amd64.buildinfo
Files:
 ace6c845a4f15c2b04379d2403550fdb 2513 libs optional 
libcvd_0.0~git20221020150751.30e8cfc+ds1-1.dsc
 9d9857315cbcd9cc244c3eab69c7ecee 462928 libs optional 
libcvd_0.0~git20221020150751.30e8cfc+ds1.orig.tar.xz
 bfa6a4b0c4dd7732cada7d9da59fa45b 4720 libs optional 
libcvd_0.0~git20221020150751.30e8cfc+ds1-1.debian.tar.xz
 6c71f4df81d5d785b5d249a15ace1d51 14962 libs optional 
libcvd_0.0~git20221020150751.30e8cfc+ds1-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEtBU2D1kett1zr/uD0w3s0lmTIvwFAmNuW4MACgkQ0w3s0lmT
IvxpQw/6A00McQ6Uo1jEterbMkRRfH1HvvcT9OFdJ2jSfDq+Jteadmh00KkURUvX
yheAq73W9S6qQVd/6itNKtBbA7xcVoNd4QSBQSMZHzXdPrN1kRKZ87v2et0RdZvS
4asViiiMhCtNRPtUDOKHj3Lkn/SaigZaq9+hBY+PxH+SIcJjc941Ic8o+05AR8Bi
8Yo3QfDJ+cszNfDwcCLs1SAY7nwcm7vkRpu9P1h3IJZeS5PynsACWq3lLxY5JVE/
nY75dx5TI0lknttVQ+3Q5uDGS8KEKXhnOEqIx+VrdhGL8MGd+IWqPuo8a1ijyjxh
gwm8OAg3sCYuSWDXq3ZJAVl6x2uR8h4yPwHo0OhWEzXKtGAteOZXgS/3XmOpS+5b
jmCEXLBcScN6bAqLUpCInoBnV/6ybtbVnKPqHzWB5h6QmRYO6xdKplKa5oY6HNwI
romkexCRtYjrDf95kMc0ud+nYCQokkHvw5U34g8smGhGgeh9IB5dDIe+jq5hg9L1
s7dzonqBPagmrbi+MYHn1kxROJuYrppXhxiss/aMLMlPDoRhCB7YYeMSrC7wslKO
DXaGDqZ89baUkY7QGnhC2Lz+xDd/Svu03b0GXCKjCi95Uel2hlxQ7+KolQGDIvcV
AtO4FqJXm1r78tscrPcaSWSrYNlddflK1pv/xQE8I2fJj1VhGxU=
=XCYD
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to