#1004613 nordlicht: FTBFS with ffmpeg 5.0

Package:
src:nordlicht
Source:
nordlicht
Submitter:
Sebastian Ramacher
Date:
2022-07-16 18:21:03 UTC
Severity:
serious
Tags:
#1004613#5
Date:
2022-01-30 21:15:07 UTC
From:
To:
Source: nordlicht
Version: 0.4.5-2
Severity: important
X-Debbugs-Cc: sramacher@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

nordlicht FTBFS with ffmpeg 5.0 (available in experimental):
| /usr/lib/ccache/cc -DNORDLICHT_BUILD_SHARED -Dlibnordlicht_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -MD -MT CMakeFiles/libnordlicht.dir/src/source.c.o -MF CMakeFiles/libnordlicht.dir/src/source.c.o.d -o CMakeFiles/libnordlicht.dir/src/source.c.o -c /<<PKGBUILDDIR>>/src/source.c
| /<<PKGBUILDDIR>>/src/source.c: In function ‘grab_next_frame’:
| /<<PKGBUILDDIR>>/src/source.c:94:25: warning: implicit declaration of function ‘avcodec_decode_video2’; did you mean ‘avcodec_decode_subtitle2’? [-Wimplicit-function-declaration]
|    94 |                         avcodec_decode_video2(st->codec, st->frame, &got_frame, &s->packet);
|       |                         ^~~~~~~~~~~~~~~~~~~~~
|       |                         avcodec_decode_subtitle2
| /<<PKGBUILDDIR>>/src/source.c:97:25: warning: implicit declaration of function ‘avcodec_decode_audio4’; did you mean ‘avcodec_decode_subtitle2’? [-Wimplicit-function-declaration]
|    97 |                         avcodec_decode_audio4(st->codec, st->frame, &got_frame, &s->packet);
|       |                         ^~~~~~~~~~~~~~~~~~~~~
|       |                         avcodec_decode_subtitle2
| /<<PKGBUILDDIR>>/src/source.c: In function ‘stream_init’:
| /<<PKGBUILDDIR>>/src/source.c:225:47: error: ‘AVStream’ has no member named ‘codec’
|   225 |     st->codec = s->format->streams[st->stream]->codec;
|       |                                               ^~
| /<<PKGBUILDDIR>>/src/source.c:227:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
|   227 |     codec = avcodec_find_decoder(st->codec->codec_id);
|       |           ^
| /<<PKGBUILDDIR>>/src/source.c: In function ‘source_init’:
| /<<PKGBUILDDIR>>/src/source.c:270:5: warning: implicit declaration of function ‘av_register_all’ [-Wimplicit-function-declaration]
|   270 |     av_register_all();
|       |     ^~~~~~~~~~~~~~~
| make[3]: *** [CMakeFiles/libnordlicht.dir/build.make:121: CMakeFiles/libnordlicht.dir/src/source.c.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| /<<PKGBUILDDIR>>/src/image.c: In function ‘image_write_png’:
| /<<PKGBUILDDIR>>/src/image.c:263:24: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
|   263 |     AVCodec *encoder = avcodec_find_encoder_by_name("png");
|       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/image.c:277:5: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
|   277 |     av_init_packet(&packet);
|       |     ^~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
|                  from /<<PKGBUILDDIR>>/src/image.h:4,
|                  from /<<PKGBUILDDIR>>/src/image.c:1:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/image.c:287:5: warning: implicit declaration of function ‘avcodec_encode_video2’; did you mean ‘avcodec_encode_subtitle’? [-Wimplicit-function-declaration]
|   287 |     avcodec_encode_video2(encoder_context, &packet, i->frame, &got_packet);
|       |     ^~~~~~~~~~~~~~~~~~~~~
|       |     avcodec_encode_subtitle
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'

Cheers

#1004613#14
Date:
2022-07-16 18:17:47 UTC
From:
To:
Dear submitter,

as the package nordlicht has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1014381

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)