无法在 Debian bookworm 上为 arm64 编译 ffmpeg

无法在 Debian bookworm 上为 arm64 编译 ffmpeg

标题不言而喻。以下是日志:

$ 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.

来源列表:

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

引起我注意的是

Depends: cleancss:arm64 but it is not installable

cleancss是一个 javascript 程序,它甚至不应该有一个与体系结构相关的包。这是怎么回事?是一些打包错误吗?或者我可能遗漏了什么?

编辑:我不知道这是否重要,但我正在遵循Debian Wiki/交叉编译,即使用 dpkg-buildpackage 进行构建。我已经安装了build-essentialcrossbuild-essential-arm64不,二进制包对我来说不起作用。手动下载、构建和打包所有内容也不是一种选择。

相关内容