#1144028 hedgewars: FTBFS with ffmpeg 9.0

Package:
src:hedgewars
Source:
src:hedgewars
Submitter:
Sebastian Ramacher
Date:
2026-08-15 08:09:06 UTC
Severity:
normal
Tags:
#1144028#5
Date:
2026-08-09 22:20:49 UTC
From:
To:
Source: hedgewars
Version: 1.0.3-4
Severity: important
Tags: ftbfs sid forky
X-Debbugs-Cc: sramacher@debian.org
Usertags: ffmpeg-9.0

Dear maintainer,

hedgewars FTBFS with ffmpeg 9.0 (available in experimental):

[  1%] Building C object hedgewars/avwrapper/CMakeFiles/avwrapper.dir/avwrapper.c.o
cd /build/reproducible-path/hedgewars-1.0.3/obj-aarch64-linux-gnu/hedgewars/avwrapper && /usr/bin/aarch64-linux-gnu-gcc -Davwrapper_EXPORTS -I/build/reproducible-path/hedgewars-1.0.3/obj-aarch64-linux-gnu/hedgewars -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hedgewars-1.0.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-all -fstack-protector -fvisibility=hidden -Wall -pipe -O2 -g -DNDEBUG -fPIC -MD -MT hedgewars/avwrapper/CMakeFiles/avwrapper.dir/avwrapper.c.o -MF CMakeFiles/avwrapper.dir/avwrapper.c.o.d -o CMakeFiles/avwrapper.dir/avwrapper.c.o -c /build/reproducible-path/hedgewars-1.0.3/hedgewars/avwrapper/avwrapper.c
[ 4 of 27] Compiling Store            ( /build/reproducible-path/hedgewars-1.0.3/gameServer/Store.hs, /build/reproducible-path/hedgewars-1.0.3/obj-aarch64-linux-gnu/gameServer/Store.o )
/build/reproducible-path/hedgewars-1.0.3/hedgewars/avwrapper/avwrapper.c: In function ‘AddAudioStream’:
/build/reproducible-path/hedgewars-1.0.3/hedgewars/avwrapper/avwrapper.c:236:49: error: ‘AVCodec’ has no member named ‘ch_layouts’
  236 |     const AVChannelLayout* pChLayout = g_pACodec->ch_layouts;
      |                                                 ^~
/build/reproducible-path/hedgewars-1.0.3/hedgewars/avwrapper/avwrapper.c: In function ‘AVWrapper_Init’:
/build/reproducible-path/hedgewars-1.0.3/hedgewars/avwrapper/avwrapper.c:730:13: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  730 |             fread(&g_Frequency, 4, 1, g_pSoundFile);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/hedgewars-1.0.3/hedgewars/avwrapper/avwrapper.c:731:13: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  731 |             fread(&g_Channels, 4, 1, g_pSoundFile);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [hedgewars/avwrapper/CMakeFiles/avwrapper.dir/build.make:82: hedgewars/avwrapper/CMakeFiles/avwrapper.dir/avwrapper.c.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/hedgewars-1.0.3/obj-aarch64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:3439: hedgewars/avwrapper/CMakeFiles/avwrapper.dir/all] Error 2

Please sse the attached build log for more details.

Cheers