Source: ccextractor
Version: 0.93+ds2-1
Severity: important
X-Debbugs-Cc: [email protected]
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

ccextractor FTBFS with ffmpeg 5.0:
| gcc-10 -DPACKAGE_NAME=\"CCExtractor\" -DPACKAGE_TARNAME=\"ccextractor\" 
-DPACKAGE_VERSION=\"0.93\" -DPACKAGE_STRING=\"CCExtractor\ 0.93\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"ccextractor\" -DVERSION=\"0.93\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 
-DHAVE_FLOAT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 
-DHAVE_MALLOC_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDDEF_H=1 
-DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 
-DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMEB_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_WCHAR_H=1 -DHAVE__BOOL=1 -DHAVE_PTRDIFF_T=1 -DHAVE_FSEEKO=1 
-DHAVE_MALLOC=1 -DHAVE_ALARM=1 -DHAVE_REALLOC=1 -DHAVE_DECL_STRERROR_R=1 
-DHAVE_STRERROR_R=1 -DHAVE_FLOOR=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETHOSTBYNAME=1 
-DHAVE_GETTIMEOFDAY=1 -DHAVE_INET_NTOA=1 -DHAVE_MBLEN=1 -DHAVE_MEMCHR=1 
-DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MODF=1 -DHAVE_POW=1 
-DHAVE_REALPATH=1 -DHAVE_RMDIR=1 -DHAVE_SELECT=1 -DHAVE_SETLOCALE=1 
-DHAVE_SOCKET=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 
-DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRNDUP=1 -DHAVE_STRRCHR=1 
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -I.  -I../src/lib_ccx/ 
-I../src/thirdparty/zvbi/ -I../src/thirdparty/lib_hash/ 
-I../src/thirdparty/protobuf-c/ -I../src/thirdparty -I../src/ 
-I/usr/include/freetype2 -I/usr/include/gpac -I/usr/include/x86_64-linux-gnu 
-I/usr/include/x86_64-linux-gnu  -I/usr/include/x86_64-linux-gnu 
-I/usr/include/tesseract -I/usr/include/leptonica -Wdate-time 
-D_FORTIFY_SOURCE=2 -std=gnu99 -Wno-write-strings -Wno-pointer-sign 
-D_FILE_OFFSET_BITS=64 -DVERSION_FILE_PRESENT -DGPAC_DISABLE_VTT 
-DGPAC_DISABLE_OD_DUMP -DGPAC_DISABLE_REMOTERY -DNO_GZIP -O3 
-DGPAC_CONFIG_LINUX  -DGPAC_64_BITS -DENABLE_HARDSUBX -DENABLE_OCR 
-DPN3G_NO_CONFIG_H -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -c -o 
../src/lib_ccx/ccextractor-hardsubx_imgops.o `test -f 
'../src/lib_ccx/hardsubx_imgops.c' || echo './'`../src/lib_ccx/hardsubx_imgops.c
| ../src/lib_ccx/hardsubx.c: In function ‘hardsubx_process_data’:
| ../src/lib_ccx/hardsubx.c:16:2: warning: implicit declaration of function 
‘av_register_all’ [-Wimplicit-function-declaration]
|    16 |  av_register_all();
|       |  ^~~~~~~~~~~~~~~
| ../src/lib_ccx/hardsubx.c:35:34: error: ‘AVStream’ has no member named ‘codec’
|    35 |   if (ctx->format_ctx->streams[i]->codec->codec_type == 
AVMEDIA_TYPE_VIDEO)
|       |                                  ^~
| ../src/lib_ccx/hardsubx.c:46:65: error: ‘AVStream’ has no member named ‘codec’
|    46 |  ctx->codec_ctx = 
ctx->format_ctx->streams[ctx->video_stream_id]->codec;
|       |                                                                 ^~
| ../src/lib_ccx/hardsubx.c:47:13: warning: assignment discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|    47 |  ctx->codec = avcodec_find_decoder(ctx->codec_ctx->codec_id);
|       |             ^
| ../src/lib_ccx/hardsubx.c: In function ‘_init_hardsubx’:
| ../src/lib_ccx/hardsubx.c:224:15: warning: initialization discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   224 |  char *lang = options->ocrlang;
|       |               ^~~~~~~
| make[1]: *** [Makefile:1927: ../src/lib_ccx/ccextractor-hardsubx.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| ../src/lib_ccx/hardsubx_decoder.c: In function 
‘hardsubx_process_frames_tickertext’:
| ../src/lib_ccx/hardsubx_decoder.c:385:4: warning: implicit declaration of 
function ‘avcodec_decode_video2’; did you mean ‘avcodec_decode_subtitle2’? 
[-Wimplicit-function-declaration]
|   385 |    avcodec_decode_video2(ctx->codec_ctx, ctx->frame, &got_frame, 
&ctx->packet);
|       |    ^~~~~~~~~~~~~~~~~~~~~
|       |    avcodec_decode_subtitle2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>/linux'

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to