#1144236 zoneminder: FTBFS with ffmpeg 9.0

Package:
src:zoneminder
Source:
src:zoneminder
Submitter:
Sebastian Ramacher
Date:
2026-10-05 11:07:07 UTC
Severity:
normal
Tags:
#1144236#5
Date:
2026-08-12 20:08:36 UTC
From:
To:
Source: zoneminder
Version: 1.36.37+dfsg1-1
Severity: important
Tags: ftbfs sid forky
X-Debbugs-Cc: sramacher@debian.org
Usertags: ffmpeg-9.0

Dear maintainer,

zoneminder FTBFS with ffmpeg 9.0 (available in unstable):

[ 72%] Building CXX object src/CMakeFiles/zm.dir/zm_ffmpeg.cpp.o
cd /build/reproducible-path/zoneminder-1.36.37+dfsg1/dbuild/src && /usr/bin/aarch64-linux-gnu-g++ -DHAVE_SENDFILE4_SUPPORT=1 -I/build/reproducible-path/zoneminder-1.36.37+dfsg1/dbuild/src -I/build/reproducible-path/zoneminder-1.36.37+dfsg1/src -I/usr/include/mysql -I/build/reproducible-path/zoneminder-1.36.37+dfsg1/dbuild -I/build/reproducible-path/zoneminder-1.36.37+dfsg1/dep/libbcrypt/include/bcrypt -I/build/reproducible-path/zoneminder-1.36.37+dfsg1/dep/jwt-cpp/include -I/build/reproducible-path/zoneminder-1.36.37+dfsg1/dep/RtspServer/src -I/build/reproducible-path/zoneminder-1.36.37+dfsg1/dep/RtspServer/src/xop -I/build/reproducible-path/zoneminder-1.36.37+dfsg1/dep/RtspServer/src/3rdpart -I/build/reproducible-path/zoneminder-1.36.37+dfsg1/dep/span-lite/include -g -O2 -ffile-prefix-map=/build/reproducible-path/zoneminder-1.36.37+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -Wconditionally-supported -Wextra -Wformat-security -Wno-cast-function-type -Wno-unused-parameter -Woverloaded-virtual -Wvla -MD -MT src/CMakeFiles/zm.dir/zm_ffmpeg.cpp.o -MF CMakeFiles/zm.dir/zm_ffmpeg.cpp.o.d -o CMakeFiles/zm.dir/zm_ffmpeg.cpp.o -c /build/reproducible-path/zoneminder-1.36.37+dfsg1/src/zm_ffmpeg.cpp
/build/reproducible-path/zoneminder-1.36.37+dfsg1/src/zm_ffmpeg.cpp: In function ‘int check_sample_fmt(const AVCodec*, AVSampleFormat)’:
/build/reproducible-path/zoneminder-1.36.37+dfsg1/src/zm_ffmpeg.cpp:376:41: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘sample_fmts’
  376 |   const enum AVSampleFormat *p = codec->sample_fmts;
      |                                         ^~~~~~~~~~~
make[3]: *** [src/CMakeFiles/zm.dir/build.make:474: src/CMakeFiles/zm.dir/zm_ffmpeg.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/zoneminder-1.36.37+dfsg1/dbuild'
make[2]: *** [CMakeFiles/Makefile2:608: src/CMakeFiles/zm.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/zoneminder-1.36.37+dfsg1/dbuild'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/zoneminder-1.36.37+dfsg1/dbuild'
dh_auto_build: error: cd dbuild && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2

For more details, see the attached build log.

Cheers

#1144236#14
Date:
2026-10-03 23:49:46 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for zoneminder (versioned as 1.36.37+dfsg1-1.1)
and uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian

#1144236#23
Date:
2026-10-05 11:06:01 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
zoneminder, 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 1144236@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated zoneminder 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: Sat, 03 Oct 2026 20:19:19 +0300
Source: zoneminder
Architecture: source
Version: 1.36.37+dfsg1-1.1
Distribution: unstable
Urgency: medium
Maintainer: Dmitry Smirnov <onlyjob@debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1144236
Changes:
 zoneminder (1.36.37+dfsg1-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Backport upstream fixes for FTBFS with FFmpeg 9. (Closes: #1144236)
Checksums-Sha1:
 3b1c16ec564d53028eab3ab33ca302a50635020a 3509 zoneminder_1.36.37+dfsg1-1.1.dsc
 e99151c6421ee5204459c679de15bd2875e275d8 197504 zoneminder_1.36.37+dfsg1-1.1.debian.tar.xz
Checksums-Sha256:
 6fdf5a755eabd0f7e80c0a7c2ebbb52549b47faccadd3e4dd273111054a1f529 3509 zoneminder_1.36.37+dfsg1-1.1.dsc
 64018e0e2c55b19bc6107ebe06b2e3ef3ae86e7e7f987d200b52f2a352e7a725 197504 zoneminder_1.36.37+dfsg1-1.1.debian.tar.xz
Files:
 4891a12a8f0a3d95d3a303ac8c06c836 3509 net optional zoneminder_1.36.37+dfsg1-1.1.dsc
 037f7950263235380f924b8ddaf1369e 197504 net optional zoneminder_1.36.37+dfsg1-1.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmrBkugACgkQiNJCh6LY
mLFcShAAh5XzabYj/0LxaORaIGRL5K4j4kPUyfVAoZJIAJbG87xxwaHglSwqIt/P
O+ludbs3iRcVW1pZ6TP68we4pyPYwJtPiM66sckY4l+Cr6D3VtQwAIVf25RLKAoI
kS1SPPL1X0/nBEW3sDcAp/UnxFyOGkU8BEO1spFQS2vHDrTJzcNzkawHHF1UtkSb
Fkuzfwr7ewEb1eqiWPavc077l8T7lIqxupkVZ3S/BECakNDd0FHX7Tp8unv8/NT6
DD5js30xzCQmlnDeNOp+2uQdXbjIF8c56is+QihHFx/JfIXg2JL+AM/PP/Ffuu90
uIJHe2DZM+G5qtF9UZdObZFmYe8JdJDySDQ/N8EacxgJSWVPDS2vWriC0ibyCzu6
hPqFS9qR0ueaA2jh6NGk9NbyM/5rFgvC+vcif1zxfK6a81WQjAEPig24CT0zlkZp
Tzs9WODCpu9Bd6yXJ3PdrW5JSJAz0Yn498I08WQPuOabeTRDl2SS5UOlhHpRXCfK
g8C59t0oorhx1VwxzegWtYEIs2A/o7bUsB/8xnHp+6uDeys+K51VW6F05Y7zjjC9
sTS847Djp5nafvWNgxTw6sLSerNJZzX2wxeJ9fjld6xphfBEAEc8OnJIDtPFbbAd
Oh/RO06uWViODhQf/mVgWGH0y3WQFyxH8ucX7EblSEnCebRt9nk=
=HMIT
-----END PGP SIGNATURE-----