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

Bug#1072408: cyanrip: FTBFS with ffmpeg 7.0: ../src/cyanrip_log.c:371:27: error: implicit declaration of function ‘av_fopen_utf8’ [-Werror=implicit-function-declaration]



Source: cyanrip
Version: 0.9.2-1
Severity: important
Tags: trixie sid ftbfs
Usertags: ffmpeg-7.0

Hi,

during a rebuild of the reverse dependencies for the transition to
ffmpeg 7.0, your package failed to build


Relevant part (hopefully):
> cc -Isrc/cyanrip.p -Isrc -I../src -I/usr/include/aarch64-linux-gnu -I/usr/include/neon -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -D_ISOC11_SOURCE -D_XOPEN_SOURCE=700 -U__STRICT_ANSI__ -Wundef -Wmissing-prototypes -Wshadow -Wparentheses -Wpointer-arith -Wno-pointer-sign -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ src/cyanrip.p/cyanrip_log.c.o -MF src/cyanrip.p/cyanrip_log.c.o.d -o src/cyanrip.p/cyanrip_log.c.o -c ../src/cyanrip_log.c
> ../src/cyanrip_log.c: In function ‘cyanrip_log_init’:
> ../src/cyanrip_log.c:371:27: error: implicit declaration of function ‘av_fopen_utf8’ [-Werror=implicit-function-declaration]
>   371 |         ctx->logfile[i] = av_fopen_utf8(logfile, "w+");
>       |                           ^~~~~~~~~~~~~
> ../src/cyanrip_log.c:371:25: warning: assignment to ‘FILE *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
>   371 |         ctx->logfile[i] = av_fopen_utf8(logfile, "w+");
>       |                         ^
> cc1: some warnings being treated as errors
> [5/14] cc -Isrc/cyanrip.p -Isrc -I../src -I/usr/include/aarch64-linux-gnu -I/usr/include/neon -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -D_ISOC11_SOURCE -D_XOPEN_SOURCE=700 -U__STRICT_ANSI__ -Wundef -Wmissing-prototypes -Wshadow -Wparentheses -Wpointer-arith -Wno-pointer-sign -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ src/cyanrip.p/cyanrip_main.c.o -MF src/cyanrip.p/cyanrip_main.c.o.d -o src/cyanrip.p/cyanrip_main.c.o -c ../src/cyanrip_main.c
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-aarch64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
> make: *** [debian/rules:4: binary-arch] Error 25


The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/cyanrip_arm64.build

ffmpeg 7.0 is available in experimental.

Cheers

-- 
Sebastian Ramacher


Reply to: