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

Bug#1072423: handbrake: FTBFS with ffmpeg 7.0: ../libhb/audio_resample.c:93:19: error: ‘AV_CH_LAYOUT_NATIVE’ undeclared (first use in this function); did you mean ‘AV_CH_LAYOUT_CUBE’?



Source: handbrake
Version: 1.7.2+ds1-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):
> /usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g2 -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D__LIBHB__ -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_STRERROR_R -I./libhb/ -I./contrib/include -I/usr/include/libxml2 -c ../libhb/audio_resample.c -o libhb/audio_resample.o
> ../libhb/audio_resample.c: In function ‘is_mono’:
> ../libhb/audio_resample.c:93:19: error: ‘AV_CH_LAYOUT_NATIVE’ undeclared (first use in this function); did you mean ‘AV_CH_LAYOUT_CUBE’?
>    93 |     if (layout == AV_CH_LAYOUT_NATIVE)
>       |                   ^~~~~~~~~~~~~~~~~~~
>       |                   AV_CH_LAYOUT_CUBE
> ../libhb/audio_resample.c:93:19: note: each undeclared identifier is reported only once for each function it appears in
> make[1]: *** [../libhb/module.rules:12: libhb/audio_resample.o] Error 1


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

ffmpeg 7.0 is available in experimental.

Cheers

-- 
Sebastian Ramacher


Reply to: