[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1017140: harvid: FTBFS: ffdecoder.c:607:29: error: ‘const struct AVCodec’ has no member named ‘flush’



Source: harvid
Version: 0.9.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> x86_64-linux-gnu-gcc -c -o vinfo.o -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   `x86_64-linux-gnu-pkg-config --cflags libavcodec libavformat libavutil libswscale` vinfo.c
> ffdecoder.c: In function ‘ff_picture_bytesize’:
> ffdecoder.c:91:18: warning: implicit declaration of function ‘av_image_get_buffer_size’; did you mean ‘av_samples_get_buffer_size’? [-Wimplicit-function-declaration]
>    91 |   const int bs = av_image_get_buffer_size(render_fmt, w, h, 64);
>       |                  ^~~~~~~~~~~~~~~~~~~~~~~~
>       |                  av_samples_get_buffer_size
> ffdecoder.c: In function ‘ff_init_moviebuffer’:
> ffdecoder.c:264:3: warning: implicit declaration of function ‘av_image_fill_arrays’; did you mean ‘av_samples_fill_arrays’? [-Wimplicit-function-declaration]
>   264 |   av_image_fill_arrays (ff->pFrameFMT->data, ff->pFrameFMT->linesize, ff->buffer, ff->render_fmt, ff->out_width, ff->out_height, 64);
>       |   ^~~~~~~~~~~~~~~~~~~~
>       |   av_samples_fill_arrays
> ffdecoder.c: In function ‘ff_open_movie’:
> ffdecoder.c:488:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>   488 |   pCodec = avcodec_find_decoder(ff->pCodecCtx->codec_id);
>       |          ^
> ffdecoder.c: In function ‘my_seek_frame’:
> ffdecoder.c:607:29: error: ‘const struct AVCodec’ has no member named ‘flush’
>   607 |     if (ff->pCodecCtx->codec->flush) {
>       |                             ^~
> ffdecoder.c:686:33: error: ‘const struct AVCodec’ has no member named ‘flush’
>   686 |         if (ff->pCodecCtx->codec->flush) {
>       |                                 ^~
> make[3]: *** [Makefile:84: ffdecoder.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/harvid_0.9.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@debian.org&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.


Reply to: