Source: squeezelite
Version: 2.0.0-1481+git20240404.c751ef1-2
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 -Wall -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security
> -mbranch-protection=standard -fcommon -std=gnu99 -Wdate-time
> -D_FORTIFY_SOURCE=2 -DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT -DLINKALL -DIR
> -DUSE_SSL -DOPUS -I/usr/include/opus ffmpeg.c -c -o ffmpeg.o
> ffmpeg.c: In function ‘ff_decode’:
> ffmpeg.c:346:23: warning: assignment discards ‘const’ qualifier from pointer
> target type [-Wdiscarded-qualifiers]
> 346 | codec = AVCODEC(ff, find_decoder,
> ff->codecP->codec_id);
> | ^
> In file included from ffmpeg.c:22:
> ffmpeg.c:420:95: error: ‘AVCodecContext’ has no member named ‘channels’
> 420 | LOG_SDEBUG("got audio channels: %u samples:
> %u format: %u", ff->codecC->channels, ff->frame->nb_samples,
> |
> ^~
> squeezelite.h:467:123: note: in definition of macro ‘LOG_SDEBUG’
> 467 | #define LOG_SDEBUG(fmt, ...) if (loglevel >= lSDEBUG) logprint("%s
> %s:%d " fmt "\n", logtime(), __FUNCTION__, __LINE__, ##__VA_ARGS__)
> |
> ^~~~~~~~~~~
> ffmpeg.c:445:47: error: ‘AVCodecContext’ has no member named ‘channels’
> 445 | if (ff->codecC->channels == 2) {
> | ^~
> ffmpeg.c:480:54: error: ‘AVCodecContext’ has no member named ‘channels’
> 480 | } else if (ff->codecC->channels == 1)
> {
> | ^~
> ffmpeg.c: In function ‘ff_open_wma’:
> ffmpeg.c:584:26: warning: assignment discards ‘const’ qualifier from pointer
> target type [-Wdiscarded-qualifiers]
> 584 | ff->input_format = AV(ff, find_input_format, "asf");
> | ^
> ffmpeg.c: In function ‘ff_open_alac’:
> ffmpeg.c:600:26: warning: assignment discards ‘const’ qualifier from pointer
> target type [-Wdiscarded-qualifiers]
> 600 | ff->input_format = AV(ff, find_input_format, "mp4");
> | ^
> make[2]: *** [Makefile:181: ffmpeg.o] Error 1
The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/squeezelite_arm64.build
ffmpeg 7.0 is available in experimental.
Cheers
--
Sebastian Ramacher