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

Bug#1017142: xjadeo: FTBFS: xjadeo.c:578:37: error: ‘const struct AVCodec’ has no member named ‘flush’



Source: xjadeo
Version: 0.8.11-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):
> gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -pthread -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-common_jack.o `test -f 'common_jack.c' || echo './'`common_jack.c
> remote.c: In function ‘xapi_set_videomode’:
> remote.c:203:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
>   203 |                 if(buffer) free(buffer); buffer=NULL;
>       |                 ^~
> remote.c:203:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
>   203 |                 if(buffer) free(buffer); buffer=NULL;
>       |                                          ^~~~~~
> xjadeo.c: In function ‘event_loop’:
> xjadeo.c:240:25: warning: variable ‘we_know_transport_is_not_rolling’ set but not used [-Wunused-but-set-variable]
>   240 |                 uint8_t we_know_transport_is_not_rolling = 0;
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> xjosc.c: In function ‘oscb_midiconnect’:
> xjosc.c:126:7: warning: the comparison will always evaluate as ‘true’ for the address of ‘s’ will never be NULL [-Waddress]
>   126 |   if (&argv[0]->s && strlen(&argv[0]->s)>0) mp=&argv[0]->s;
>       |       ^
> In file included from /usr/include/lo/lo_lowlevel.h:20,
>                  from xjosc.c:38:
> /usr/include/lo/lo_osc_types.h:122:16: note: ‘s’ declared here
>   122 |     char       s;
>       |                ^
> common_jack.c: In function ‘jack_session_cb’:
> common_jack.c:44:17: warning: ‘jack_session_reply’ is deprecated [-Wdeprecated-declarations]
>    44 |                 WJACK_session_reply (xj_jack_client, event);
>       |                 ^~~~~~~~~~~~~~~~~~~
> In file included from weak_libjack.h:34,
>                  from common_jack.c:20:
> /usr/include/jack/session.h:204:5: note: declared here
>   204 | int jack_session_reply (jack_client_t        *client,
>       |     ^~~~~~~~~~~~~~~~~~
> common_jack.c:45:17: warning: ‘jack_session_event_free’ is deprecated [-Wdeprecated-declarations]
>    45 |                 WJACK_session_event_free (event);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/jack/session.h:217:6: note: declared here
>   217 | void jack_session_event_free (jack_session_event_t *event) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
>       |      ^~~~~~~~~~~~~~~~~~~~~~~
> common_jack.c:55:9: warning: ‘jack_session_reply’ is deprecated [-Wdeprecated-declarations]
>    55 |         WJACK_session_reply (xj_jack_client, event);
>       |         ^~~~~~~~~~~~~~~~~~~
> /usr/include/jack/session.h:204:5: note: declared here
>   204 | int jack_session_reply (jack_client_t        *client,
>       |     ^~~~~~~~~~~~~~~~~~
> common_jack.c:58:9: warning: ‘jack_session_event_free’ is deprecated [-Wdeprecated-declarations]
>    58 |         WJACK_session_event_free (event);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/jack/session.h:217:6: note: declared here
>   217 | void jack_session_event_free (jack_session_event_t *event) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
>       |      ^~~~~~~~~~~~~~~~~~~~~~~
> xjadeo.c: In function ‘init_moviebuffer’:
> common_jack.c: In function ‘xj_init_jack’:
> common_jack.c:111:9: warning: ‘jack_set_session_callback’ is deprecated [-Wdeprecated-declarations]
>   111 |         WJACK_set_session_callback (*client, jack_session_cb, NULL);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/jack/session.h:187:5: note: declared here
>   187 | int jack_set_session_callback (jack_client_t       *client,
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
> xjadeo.c:438:20: warning: implicit declaration of function ‘av_image_get_buffer_size’; did you mean ‘av_samples_get_buffer_size’? [-Wimplicit-function-declaration]
>   438 |         vbufsize = av_image_get_buffer_size (render_fmt, movie_width, movie_height, 64);
>       |                    ^~~~~~~~~~~~~~~~~~~~~~~~
>       |                    av_samples_get_buffer_size
> xjadeo.c:447:17: warning: implicit declaration of function ‘av_image_fill_arrays’; did you mean ‘av_samples_fill_arrays’? [-Wimplicit-function-declaration]
>   447 |                 av_image_fill_arrays (pFrameFMT->data, pFrameFMT->linesize, buffer, render_fmt, movie_width, movie_height, 64);
>       |                 ^~~~~~~~~~~~~~~~~~~~
>       |                 av_samples_fill_arrays
> remote.c: In function ‘remote_printf_io’:
> remote.c:1153:16: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  1153 |         (void) write(REMOTE_TX,msg,strlen(msg));
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> remote.c: In function ‘remote_printf_argslist’:
> xjadeo.c: In function ‘seek_frame’:
> xjadeo.c:578:37: error: ‘const struct AVCodec’ has no member named ‘flush’
>   578 |                 if (pCodecCtx->codec->flush) {
>       |                                     ^~
> remote.c:1324:24: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  1324 |                 (void) write(REMOTE_TX,msg,strlen(msg));
>       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> xjadeo.c: In function ‘index_frames’:
> xjadeo.c:918:37: error: ‘const struct AVCodec’ has no member named ‘flush’
>   918 |                 if (pCodecCtx->codec->flush) {
>       |                                     ^~
> xjadeo.c:1195:29: error: ‘const struct AVCodec’ has no member named ‘flush’
>  1195 |         if (pCodecCtx->codec->flush) {
>       |                             ^~
> xjadeo.c: In function ‘open_movie’:
> xjadeo.c:1497:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>  1497 |         pCodec=avcodec_find_decoder (pCodecCtx->codec_id);
>       |               ^
> make[5]: *** [Makefile:612: xjadeo-xjadeo.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/xjadeo_0.8.11-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: