#1144330 libopenshot: FTBFS with ffmpeg 9.0

Package:
src:libopenshot
Source:
src:libopenshot
Submitter:
Sebastian Ramacher
Date:
2026-10-19 11:53:02 UTC
Severity:
normal
Tags:
#1144330#5
Date:
2026-08-13 19:57:16 UTC
From:
To:
Source: libopenshot
Version: 0.5.0+dfsg1-2
Severity: important
Tags: ftbfs sid forky
X-Debbugs-Cc: sramacher@debian.org
Usertags: ffmpeg-9.0

Dear maintainer,

libopenshot FTBFS with ffmpeg 9.0 (available in experimental):

cd /build/reproducible-path/libopenshot-0.5.0+dfsg1/debian/build/src && /usr/bin/aarch64-linux-gnu-g++ -DHAVE_ISFINITE=1 -DLINUX -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DUSE_HW_ACCEL=1 -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/build/reproducible-path/libopenshot-0.5.0+dfsg1/debian/build/src/openshot_autogen/include -I/build/reproducible-path/libopenshot-0.5.0+dfsg1/src -I/build/reproducible-path/libopenshot-0.5.0+dfsg1/debian/build/src -isystem /usr/include/libopenshot-audio -isystem /usr/include/ImageMagick-7 -isystem /usr/include/aarch64-linux-gnu/ImageMagick-7 -isystem /usr/include/jsoncpp -isystem /usr/include/aarch64-linux-gnu/qt5 -isystem /usr/include/aarch64-linux-gnu/qt5/QtCore -isystem /usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/aarch64-linux-gnu/qt5/QtGui -isystem /usr/include/aarch64-linux-gnu/qt5/QtWidgets -isystem /usr/include/aarch64-linux-gnu/qt5/QtSvg -g -O2 -ffile-prefix-map=/build/reproducible-path/libopenshot-0.5.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_CHANNEL_MASK_DEPTH=32 -fPIC -fopenmp -MD -MT src/CMakeFiles/openshot.dir/FFmpegWriter.cpp.o -MF CMakeFiles/openshot.dir/FFmpegWriter.cpp.o.d -o CMakeFiles/openshot.dir/FFmpegWriter.cpp.o -c /build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp: In member function ‘AVStream* openshot::FFmpegWriter::add_audio_stream()’:
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1039:20: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘supported_samplerates’
 1039 |         if (codec->supported_samplerates) {
      |                    ^~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1041:36: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘supported_samplerates’
 1041 |                 for (i = 0; codec->supported_samplerates[i] != 0; i++)
      |                                    ^~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1042:56: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘supported_samplerates’
 1042 |                         if (info.sample_rate == codec->supported_samplerates[i]) {
      |                                                        ^~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1047:28: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘supported_samplerates’
 1047 |                 if (codec->supported_samplerates[i] == 0)
      |                            ^~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1058:20: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘ch_layouts’
 1058 |         if (codec->ch_layouts) {
      |                    ^~~~~~~~~~
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1060:61: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘ch_layouts’
 1060 |                 for (i = 0; av_channel_layout_check(&codec->ch_layouts[i]); i++)
      |                                                             ^~~~~~~~~~
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1061:75: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘ch_layouts’
 1061 |                         if (av_channel_layout_compare(&ch_layout, &codec->ch_layouts[i])) {
      |                                                                           ^~~~~~~~~~
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1066:54: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘ch_layouts’
 1066 |                 if (!av_channel_layout_check(&codec->ch_layouts[i]))
      |                                                      ^~~~~~~~~~
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1089:20: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘sample_fmts’
 1089 |         if (codec->sample_fmts) {
      |                    ^~~~~~~~~~~
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1090:40: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘sample_fmts’
 1090 |                 for (int i = 0; codec->sample_fmts[i] != AV_SAMPLE_FMT_NONE; i++) {
      |                                        ^~~~~~~~~~~
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1092:48: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘sample_fmts’
 1092 |                         c->sample_fmt = codec->sample_fmts[i];
      |                                                ^~~~~~~~~~~
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp: In member function ‘AVStream* openshot::FFmpegWriter::add_video_stream()’:
/build/reproducible-path/libopenshot-0.5.0+dfsg1/src/FFmpegWriter.cpp:1294:61: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘pix_fmts’
 1294 |         const PixelFormat *supported_pixel_formats = codec->pix_fmts;
      |                                                             ^~~~~~~~
make[3]: *** [src/CMakeFiles/openshot.dir/build.make:404: src/CMakeFiles/openshot.dir/FFmpegWriter.cpp.o] Error 1

See the attached build log for more details.

Cheers

#1144330#16
Date:
2026-10-17 18:26:01 UTC
From:
To:
Dear maintainer,

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

cu
Adrian

#1144330#25
Date:
2026-10-19 11:50:55 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libopenshot, 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 1144330@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 libopenshot 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: Fri, 16 Oct 2026 21:38:30 +0300
Source: libopenshot
Architecture: source
Version: 0.5.0+dfsg1-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1144330
Changes:
 libopenshot (0.5.0+dfsg1-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add fix for FTBFS with FFmpeg 9. (Closes: #1144330)
Checksums-Sha1:
 c2a74eaee9423508a7c87172e67a7e1ba59eeeac 2835 libopenshot_0.5.0+dfsg1-2.1.dsc
 87a53f38bdea0a65cde3f0a240c2e51fff09a1b2 11800 libopenshot_0.5.0+dfsg1-2.1.debian.tar.xz
Checksums-Sha256:
 3139c339874a1db129c06cbbceacf9e25d27c3a80d03740ea7abb18cde9eb4e7 2835 libopenshot_0.5.0+dfsg1-2.1.dsc
 5022e252b510d474ffec0497fa9b147c27fbd728ccab93fdc442cf733e38263e 11800 libopenshot_0.5.0+dfsg1-2.1.debian.tar.xz
Files:
 ac4214d2c6559ebba4680be3a48e229b 2835 libs optional libopenshot_0.5.0+dfsg1-2.1.dsc
 a27369bbfcc853f53e9196b847bf9bc4 11800 libs optional libopenshot_0.5.0+dfsg1-2.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmrTvZkACgkQiNJCh6LY
mLGJOw//fXttGhwEUiNUycLxgjuNziTy1ZldSmM0pyf4hfpZZSwgTXPIKnjv6hdT
xr6cntZcCL8Hk0KpJN9cJrPVeWjttPosPVS1J6UJVUqxPeiFs8LNatYGD+IIcXN/
OeuxWQKUP5P+SrInER09MHM6isb3Y+D3eR8kWwLEPKz+KjsbqPTnTg7mz2DgsJlJ
7Tjv4qw3NKi2y3Cac482BZ9Ruj+KRUMMGp3ujR/89D75TC0YT3oSHZ5xzKqYvpGb
eFMQdN8zSV3rO3WpGUYPLA1+WqngKjKvfyCVthvuMEPM59fFnb9H2qlntZNfIev9
jqAiL/d14JtQPevTxiDu5XHwT0wpT8s+nbyTwmLdrCVZVdWqFeti46IkXiKCgDBY
Myfqvwu4gfrTW0Me8S4WE4rOgw1QbnPek9TebtbsSuyacaMotwEkVQvT7Gb4Qjnf
vEjHYpGwiNnjqbc1YEMzSoocCPAyNCtIbOgdyqjHv2T2VlTvLnk5cmh94rWA5qoJ
oih2l8WVrAk9Ypq1fiaQX5JHWH7IM8WGsBFh4vwYg4upCuLg6NT0jFycuajU1hgc
f0GrEPhWOYumHx4SIVpWJOloOoW7wyN2TX8kCpw0He5g+WeJgTJZ59XBZe1sPE8b
msZ8+UUxPuMfs0abnJAgjko6Q64wG34KAV0+cGjeAathQ0jS5eo=
=AqzY
-----END PGP SIGNATURE-----