#1144028 hedgewars: FTBFS with ffmpeg 9.0

Package:
src:hedgewars
Source:
src:hedgewars
Submitter:
Sebastian Ramacher
Date:
2026-09-21 13:21:02 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

#1144028#14
Date:
2026-09-21 13:19:43 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
hedgewars, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1144028@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Noel <twolife@debian.org> (supplier of updated hedgewars package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 21 Sep 2026 14:31:18 +0200
Source: hedgewars
Architecture: source
Version: 1.0.3-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Sébastien Noel <twolife@debian.org>
Closes: 1144028
Changes:
 hedgewars (1.0.3-5) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Sébastien Noel ]
   * Add patch to fix FTBFS with FFmpeg 9 (Closes: #1144028)
 .
   [ Alexandre Detiste ]
   * d/control:
     - drop "Rules-Requires-Root: no", it is now the default
     - bump Standards-Version to 4.7.4, drop Priority: tag
Checksums-Sha1:
 02b8412ca80c6985ad94fc5719f164df40018fdb 2544 hedgewars_1.0.3-5.dsc
 7fd4c3e713fbc723fd93444943c76a32e66bffdb 83008 hedgewars_1.0.3-5.debian.tar.xz
 2de180b5155e5586133e984724e2f1751063b9c6 22153 hedgewars_1.0.3-5_amd64.buildinfo
Checksums-Sha256:
 b4fc16e0c917b8d8761213e2013b2d583f7ce4eac099d1000f803d7363ed4d76 2544 hedgewars_1.0.3-5.dsc
 9bd2ba5f2781e0abdca611e4a6452299fdef27a6870a585436a49c62d6c81ea2 83008 hedgewars_1.0.3-5.debian.tar.xz
 fedc2ec89f465ac5de5b2d505742eb7cedc3801bb84bcee583b989044da05805 22153 hedgewars_1.0.3-5_amd64.buildinfo
Files:
 5b0fc0893d6aa365066d7ab1c078d465 2544 games optional hedgewars_1.0.3-5.dsc
 31a579e4ba478d5cf417438b1c2260fc 83008 games optional hedgewars_1.0.3-5.debian.tar.xz
 6f4693a5b33154dfa26331625d8f227d 22153 games optional hedgewars_1.0.3-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQFHBAEBCgAxFiEEdlP6my3wO8aMe9FCrKAIuMk0p9QFAmqxJ2QTHHR3b2xpZmVA
ZGViaWFuLm9yZwAKCRCsoAi4yTSn1JS0CACvjfwyb3PBRZXFpNJqs5pw9FXiyApR
Y4R0Y7FtsomC6i/vqJKiuNJhfDGV46q1HCnK/7/M+xumnvszrIq8ie7YyPZ2u350
om7DRK5EgwCCFtXcu9Kn+r3D35lDG8WiajvdUfnxI6ZvQzo5awVwptVK9rjDsDdD
1FgoOzZQv/PQ2jL0hHCQBHtbf9lXmProMRPqCR0xpdTDSEU51nvDjkm3o+evXjIN
qws/OEq97azWILi6C1Uh279zFfKM1NpTYGRe1vo/o66zvgvulfcf4xaUzId9OBIF
r+/sg1zndSQOgRe9trpPYw1kgJRoZXZOCPJXk4Pd1MRb1HJtZN1xYkDL
=FGLJ
-----END PGP SIGNATURE-----