linux – Cannot compile ffmpeg for arm64 on Debian bookworm

The title speaks for itself. Here’s the log:

$ sudo dpkg --add-architecture arm64
$ sudo apt build-dep -a arm64 ffmpeg
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 builddeps:ffmpeg:arm64 : Depends: clang:arm64 but it is not going to be installed
                          Depends: glslang-dev:arm64 but it is not going to be installed
                          Depends: ladspa-sdk:arm64 but it is not going to be installed
                          Depends: libcdio-paranoia-dev:arm64 but it is not going to be installed
                          Depends: libomxil-bellagio-dev:arm64 but it is not going to be installed
                          Depends: libssh-gcrypt-dev:arm64 but it is not going to be installed
                          Depends: libtesseract-dev:arm64 but it is not going to be installed
                          Depends: cleancss:arm64 but it is not installable
E: Unable to correct problems, you have held broken packages.

sources.list:

deb https://deb.debian.org/debian bookworm main
deb-src https://deb.debian.org/debian bookworm main

What caught my attention is

Depends: cleancss:arm64 but it is not installable

cleancss is a javascript program and it’s not even supposed to have an architecture-dependent package. What is it, some packaging bug? Or maybe I’m missing something?

Read more here: Source link