我正在尝试在我的 64 位 Lubuntu (21.10 - Impish Indri) 上编译一些 32 位 deb。虽然目标是 Focal,但我一直在尝试使用 mk-sbuild 构建 chroot。
我运行的命令是mk-sbuild focal --arch=i386 --debootstrap-include=eatmydata
但是,即使在特别提到吃我的数据之后,它仍然停留在:
I: Configuring build-essential...
I: Configuring libc-bin...
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See /var/lib/schroot/chroots/focal-i386/debootstrap/debootstrap.log for details (possibly the package eatmydata is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See /var/lib/schroot/chroots/focal-i386/debootstrap/debootstrap.log for details (possibly the package eatmydata is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See /var/lib/schroot/chroots/focal-i386/debootstrap/debootstrap.log for details (possibly the package eatmydata is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See /var/lib/schroot/chroots/focal-i386/debootstrap/debootstrap.log for details (possibly the package eatmydata is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See /var/lib/schroot/chroots/focal-i386/debootstrap/debootstrap.log for details (possibly the package eatmydata is at fault)
而且,在检查日志后,这些是问题开始的行:
Setting up g++-9 (9.3.0-10ubuntu2) ...
Setting up g++ (4:9.3.0-1ubuntu2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.8ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Errors were encountered while processing:
eatmydata
dpkg: dependency problems prevent configuration of eatmydata:
eatmydata depends on libeatmydata1 (>= 105-7); however:
Package libeatmydata1 is not installed.
dpkg: error processing package eatmydata (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
eatmydata
dpkg: dependency problems prevent configuration of eatmydata:
eatmydata depends on libeatmydata1 (>= 105-7); however:
Package libeatmydata1 is not installed.
dpkg: error processing package eatmydata (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
eatmydata
dpkg: dependency problems prevent configuration of eatmydata:
eatmydata depends on libeatmydata1 (>= 105-7); however:
Package libeatmydata1 is not installed.
dpkg: error processing package eatmydata (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
eatmydata
dpkg: dependency problems prevent configuration of eatmydata:
eatmydata depends on libeatmydata1 (>= 105-7); however:
Package libeatmydata1 is not installed.
dpkg: error processing package eatmydata (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
eatmydata
在尝试了两者之后pbuilder
,debuild
我认为 sbuild 可能是在位操作系统上构建 32 位 deb 的唯一可行选择。但是,也不容易。
顺便说一句,64 位构建运行良好,根本不需要eatmydata。
先感谢您。