Hi,

TL;DR: Upgrade to kodi 22.x and drop libpostproc-dev from B-D.

On Fri, Sep 12, 2025 at 10:39:43PM +0200, [email protected] wrote:
> During a test rebuild for the transition to ffmpeg 8.0, kodi failed
> to build. Beyond API changes, ffmpeg 8.0 also removed libpostproc
> which results in BD-Uninstallable packages.

The build log feels a bit unclear about this as the old libpostproc-dev
is still present and it looks as if its dependency on libavutil were the
problem. Likewise, dose flags libavutil-dev as the problematic package:

https://qa.debian.org/dose/debcheck/src_unstable_main/latest/packages/kodi.html

I suggest filing a binary RM bug for libpostproc-dev to improve the
failure mode here.

I agree that the real problem here is Build-Depends: libpostproc-dev. So
what happens if one drops that?

| -- FFmpeg 7.0.0 not found, falling back to internal build

An then it attempts to download FFmpeg 7.x, which tends to fail as
sbuild disables network by default.

We're not alone and FreeBSD also happens to have run into this problem.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292609

It seems like a particular version of kodi is bound to a particular
major version of ffmpeg and for kodi 21.x that's not ffmpeg 8.x. FreeBSD
opted for packaging a kodi 22.x pre-release. That probably is the most
sensible way to go here.

Helmut

Reply via email to