#1115036 octave-video: FTBFS with ffmpeg 8.0

#1115036#5
Date:
2025-09-12 20:39:43 UTC
From:
To:
Source: octave-video
Version: 2.1.3-1
Severity: important
Tags: sid forky ftbfs
Usertags: ffmpeg8.0

Dear maintainer,

During a test rebuild for the transition to ffmpeg 8.0, octave-video
failed to build. Beyond API changes, ffmpeg 8.0 also removed
libpostproc which results in BD-Uninstallable packages.

You can find the full build log below.

Cheers

Format: 3.0 (quilt)
Source: octave-video
Binary: octave-video
Architecture: any
Version: 2.1.3-1
Maintainer: Debian Octave Group <team+pkg-octave-team@tracker.debian.org>
Uploaders: Rafael Laboissière <rafael@debian.org>
Homepage: https://gnu-octave.github.io/packages/video/
Standards-Version: 4.7.2
Vcs-Browser: https://salsa.debian.org/pkg-octave-team/octave-video
Vcs-Git: https://salsa.debian.org/pkg-octave-team/octave-video.git
Testsuite: autopkgtest-pkg-octave
Build-Depends: debhelper-compat (= 13), dh-sequence-octave, libavcodec-dev, libavformat-dev, libavutil-dev, libswscale-dev, pkgconf
Package-List:
 octave-video deb math optional arch=any
Checksums-Sha1:
 b3ffde42aa021b22a379d3c304186a3e1b8de270 64884 octave-video_2.1.3.orig.tar.gz
 cd1f1caa7b46a53dc5676875027a6a1a52cb6e05 3584 octave-video_2.1.3-1.debian.tar.xz
Checksums-Sha256:
 7c6e25251929f11c96ba1f66efbca735c45468b7804e5652575d4894cb2833c2 64884 octave-video_2.1.3.orig.tar.gz
 b71b59a1e84a2798677d8ffdbb0a43deb7d32070798eec20258910bc47cbfc8f 3584 octave-video_2.1.3-1.debian.tar.xz
Files:
 586bbf6a951f5887aece9b9c5f68b16c 64884 octave-video_2.1.3.orig.tar.gz
 e6dfeb974784cf9a6175ab09a13d36c9 3584 octave-video_2.1.3-1.debian.tar.xz
Dgit: adb471efef98f51118c8d71a2d608e40a5d34b5e debian archive/debian/2.1.3-1 https://git.dgit.debian.org/octave-video
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEP0ZDkUmP6HS9tdmPISSqGYN4XJAFAmgApEsSHHJhZmFlbEBk
ZWJpYW4ub3JnAAoJECEkqhmDeFyQbeQP/0U2m3VKoUAn15icb0jdDbEHWkIGuqsZ
6OKkhb3d5Sr0G19bvHR2+M0MIwJYiS1qpnuRTGz1ddsmXdBMI+2ka79tK3f5cZu5
9O7OVeu/ycUskttbzAKslXqCqnmTtIOjrjygF0DovMMDfFL3cw3m3yl9Eiz3yV++
vWMYqtGFmIEJUxlYZMKPZzclOTX8/O8HAeggTe347A7cPZyx9/QN2qOrIITIAq7g
+FKqjxKkL4K5EDwmTOl/t4mAg+4BQoXAOSUFHSZe1WwEjtAmW+ZuFX3HqP9Mc5Fd
Bzyfto4/mqTVAEDVpF3EoCK3Q2OnpAHaW4INn76vM5bDdSgPe2WfGRPSwUMm4aSe
+MrPxdy0shq9GEwWGMLJSnQeawyJxr8PXm0p7v4aGz2NaimSAZYStzbDhxEC1ogQ
sSHdehCe1hXFvLdPZSjD0MTze+I5th/jkrPGc3cQ5mTSWYnLj9Mtu/CIwiGXX8bm
99DKE21it917XdwDVYeGXvDrKsWnWCZ8fDl86J1OGLmBC2EwWQ5QIPD7OtdnfSyI
/RTyzYAkNiDhy+uVvnnx3r+LfYr0bcZ3Sw4CobA2V8VnqOT4DmkuxX9Jvjy3P54G
cYSW1OmolBXmzTe4fqw+nLTzFO2VyXbJLHV0I6rxYIGLFgo6co5j1kxGN8vzduT6
TYqlJ+iQ5W9G
=4efh
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./octave-video_2.1.3-1.dsc: no acceptable signature found
dpkg-source: info: extracting octave-video in /build/reproducible-path/octave-video-2.1.3
dpkg-source: info: unpacking octave-video_2.1.3.orig.tar.gz
dpkg-source: info: unpacking octave-video_2.1.3-1.debian.tar.xz

Check disk space
----------------

Sufficient free space for build

Hack binNMU version
-------------------

Created changelog entry for binNMU version 2.1.3-1+bd1

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=sbuild
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=sbuild

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -mDebusine Rebuild <debusine@example.net> -B
dpkg-buildpackage: info: source package octave-video
dpkg-buildpackage: info: source version 2.1.3-1+bd1
dpkg-buildpackage: info: source distribution sid
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
dpkg-source: info: using options from octave-video-2.1.3/debian/source/options: --extend-diff-ignore=src/Makefile$|src/config.log|src/config.h|src/config.status
 debian/rules clean
dh clean --buildsystem=octave
   dh_auto_clean -O--buildsystem=octave
	dh_octave_clean
make[1]: Entering directory '/build/reproducible-path/octave-video-2.1.3'
make[1]: *** No rule to make target 'clean'.
make[1]: *** No rule to make target 'distclean'.
make[1]: Leaving directory '/build/reproducible-path/octave-video-2.1.3'
make[1]: Entering directory '/build/reproducible-path/octave-video-2.1.3/src'
make[1]: *** No rule to make target 'clean'.
make[1]: *** No rule to make target 'distclean'.
make[1]: Leaving directory '/build/reproducible-path/octave-video-2.1.3/src'
   dh_autoreconf_clean -O--buildsystem=octave
   dh_clean -O--buildsystem=octave
 debian/rules binary-arch
dh binary-arch --buildsystem=octave
   dh_update_autotools_config -a -O--buildsystem=octave
   dh_autoreconf -a -O--buildsystem=octave
   dh_octave_version -a -O--buildsystem=octave
Checking the Octave version... ok
   dh_auto_configure -a -O--buildsystem=octave
   dh_auto_build -a -O--buildsystem=octave
   dh_auto_test -a -O--buildsystem=octave
   create-stamp debian/debhelper-build-stamp
   dh_testroot -a -O--buildsystem=octave
   dh_prep -a -O--buildsystem=octave
   dh_auto_install --destdir=debian/octave-video/ -a -O--buildsystem=octave
	octave --no-gui --no-history --silent --no-init-file --no-window-system /usr/share/dh-octave/install-pkg.m /build/reproducible-path/octave-video-2.1.3/debian/octave-video/usr/share/octave/packages /build/reproducible-path/octave-video-2.1.3/debian/octave-video/usr/lib/aarch64-linux-gnu/octave/packages
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking for mkoctfile... /usr/bin/mkoctfile --verbose
./configure: line 2704: test: syntax error: `--verbose' unexpected
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libswscale, libavformat, libavcodec, libavutil... yes
configure: creating ./config.status
config.status: creating Makefile
configure:

Octave-Forge video package is now configured with

   FFMPEG LIBS:       -lswscale -lavformat -lavcodec -lavutil
   FFMPEG CFLAGS:     -I/usr/include/aarch64-linux-gnu
   DEFS:              -DPACKAGE_NAME=\"Octave-Forge\ video\ package\" -DPACKAGE_TARNAME=\"octave-forge-video-package\" -DPACKAGE_VERSION=\"2.1.1\" -DPACKAGE_STRING=\"Octave-Forge\ video\ package\ 2.1.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"

make[1]: Entering directory '/build/reproducible-path/octave-video-2.1.3/src'
/usr/bin/mkoctfile --verbose -Wall -v -I/usr/include/aarch64-linux-gnu  -DPACKAGE_NAME=\"Octave-Forge\ video\ package\" -DPACKAGE_TARNAME=\"octave-forge-video-package\" -DPACKAGE_VERSION=\"2.1.1\" -DPACKAGE_STRING=\"Octave-Forge\ video\ package\ 2.1.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" __cap_ffmpeg_wrapper__.cc  -lswscale -lavformat -lavcodec -lavutil  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-video-2.1.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard
g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave  -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-video-2.1.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g  -Wall -Wdate-time -O2 -ffile-prefix-map=/build/reproducible-path/octave-video-2.1.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard  -I/usr/include/aarch64-linux-gnu  -DPACKAGE_NAME="Octave-Forge video package" -DPACKAGE_TARNAME="octave-forge-video-package" -DPACKAGE_VERSION="2.1.1" -DPACKAGE_STRING="Octave-Forge video package 2.1.1" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -D_FORTIFY_SOURCE=2 __cap_ffmpeg_wrapper__.cc -o /tmp/oct-Wv3O2s.o
In file included from /usr/include/octave-9.4.0/octave/../octave/ov.h:69,
                 from /usr/include/octave-9.4.0/octave/../octave/ovl.h:38,
                 from /usr/include/octave-9.4.0/octave/../octave/ov-fcn.h:36,
                 from /usr/include/octave-9.4.0/octave/../octave/ov-builtin.h:35,
                 from /usr/include/octave-9.4.0/octave/../octave/defun-int.h:33,
                 from /usr/include/octave-9.4.0/octave/../octave/defun-dld.h:35,
                 from /usr/include/octave-9.4.0/octave/../octave/oct.h:35,
                 from cap_ffmpeg_impl_ov.hpp:108,
                 from __cap_ffmpeg_wrapper__.cc:18:
/usr/include/octave-9.4.0/octave/../octave/oct-stream.h:216:24: warning: ‘template<class _Codecvt, class _Elem, class _Tr> class std::wbuffer_convert’ is deprecated [-Wdeprecated-declarations]
  216 |   std::unique_ptr<std::wbuffer_convert<convfacet_u8, char>> m_converter;
      |                        ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/15/locale:47,
                 from /usr/include/octave-9.4.0/octave/../octave/oct-string.h:31,
                 from /usr/include/octave-9.4.0/octave/../octave/oct-stream.h:38:
/usr/include/c++/15/bits/locale_conv.h:409:33: note: declared here
  409 |     class _GLIBCXX17_DEPRECATED wbuffer_convert
      |                                 ^~~~~~~~~~~~~~~
/usr/include/octave-9.4.0/octave/../octave/oct-stream.h: In member function ‘std::ostream* octave::base_stream::preferred_output_stream()’:
/usr/include/octave-9.4.0/octave/../octave/oct-stream.h:135:34: warning: ‘template<class _Codecvt, class _Elem, class _Tr> class std::wbuffer_convert’ is deprecated [-Wdeprecated-declarations]
  135 |           = std::unique_ptr<std::wbuffer_convert<convfacet_u8, char>>
      |                                  ^~~~~~~~~~~~~~~
/usr/include/c++/15/bits/locale_conv.h:409:33: note: declared here
  409 |     class _GLIBCXX17_DEPRECATED wbuffer_convert
      |                                 ^~~~~~~~~~~~~~~
/usr/include/octave-9.4.0/octave/../octave/oct-stream.h:136:23: warning: ‘template<class _Codecvt, class _Elem, class _Tr> class std::wbuffer_convert’ is deprecated [-Wdeprecated-declarations]
  136 |             (new std::wbuffer_convert<convfacet_u8, char>
      |                       ^~~~~~~~~~~~~~~
/usr/include/c++/15/bits/locale_conv.h:409:33: note: declared here
  409 |     class _GLIBCXX17_DEPRECATED wbuffer_convert
      |                                 ^~~~~~~~~~~~~~~
cap_ffmpeg_impl_ov.hpp: In member function ‘void CvCapture_FFMPEG::close()’:
cap_ffmpeg_impl_ov.hpp:655:9: error: ‘avcodec_close’ was not declared in this scope; did you mean ‘avio_close’?
  655 |         avcodec_close( context );
      |         ^~~~~~~~~~~~~
      |         avio_close
cap_ffmpeg_impl_ov.hpp: In member function ‘void CvCapture_FFMPEG::get_rotation_angle()’:
cap_ffmpeg_impl_ov.hpp:1505:12: error: ‘av_stream_get_side_data’ was not declared in this scope; did you mean ‘av_frame_get_side_data’?
 1505 |     data = av_stream_get_side_data(video_st, AV_PKT_DATA_DISPLAYMATRIX, NULL);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
      |            av_frame_get_side_data
make[1]: *** [Makefile:12: __cap_ffmpeg_wrapper__.oct] Error 1
make[1]: Leaving directory '/build/reproducible-path/octave-video-2.1.3/src'

error: pkg: error running 'make' for the video package
error: called from
    configure_make at line 117 column 9
    install at line 204 column 7
    pkg at line 619 column 9
    /usr/share/dh-octave/install-pkg.m at line 38 column 1
dh_auto_install: error: octave --no-gui --no-history --silent --no-init-file --no-window-system /usr/share/dh-octave/install-pkg.m /build/reproducible-path/octave-video-2.1.3/debian/octave-video/usr/share/octave/packages /build/reproducible-path/octave-video-2.1.3/debian/octave-video/usr/lib/aarch64-linux-gnu/octave/packages returned exit code 1
make: *** [debian/rules:5: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-09-12T15:11:14Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                      Fri, 12 Sep 2025 15:11:14 +0000 |
+------------------------------------------------------------------------------+

Purging /build/reproducible-path
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died with exit 2)

+------------------------------------------------------------------------------+
| Summary                                      Fri, 12 Sep 2025 15:11:17 +0000 |
+------------------------------------------------------------------------------+

Build Architecture: arm64
Build Type: any
Build-Space: 452
Build-Time: 7
Distribution: sid
Fail-Stage: build
Host Architecture: arm64
Install-Time: 97
Job: /tmp/debusine-fetch-exec-upload-tb3ovqo9/octave-video_2.1.3-1.dsc
Machine Architecture: arm64
Package: octave-video
Package-Time: 182
Source-Version: 2.1.3-1
Space: 452
Status: attempted
Version: 2.1.3-1+bd1
--------------------------------------------------------------------------------
Finished at 2025-09-12T15:11:14Z
Build needed 00:03:02, 452k disk space