itx-3588j-ubuntu文件系统编译问题

文件系统编译失败问题

root@f36a9e516674:/home/zyy/rockchip/rk3588_firefly# ./build.sh itx-3588j-ubuntu.mk
processing option: itx-3588j-ubuntu.mk
switching to board: /home/zyy/rockchip/rk3588_firefly/device/rockchip/rk3588/itx-3588j-ubuntu.mk
root@f36a9e516674:/home/zyy/rockchip/rk3588_firefly# ./build.sh debian
processing option: debian
=========Start building debian for arm64=========
Staring Download…
sudo lb clean --purge
[2022-05-07 12:53:47] lb_clean --purge
P: Cleaning chroot
rm -f linaro-bullseye-alip-*
rm -rf config
I: create configuration
[2022-05-07 12:53:47] lb_config --mirror-bootstrap http://mirrors.ustc.edu.cn/debian --mirror-chroot http://mirrors.ustc.edu.cn/debian --mirror-chroot-security http://mirrors.ustc.edu.cn/debian-security --mirror-binary http://mirrors.ustc.edu.cn/debian --mirror-binary-security http://mirrors.ustc.edu.cn/debian-security --apt-indices false --apt-recommends false --apt-secure false --architectures arm64 --archive-areas main contrib non-free --backports false --binary-filesystem ext4 --binary-images tar --bootappend-live hostname=firefly username=firefly --bootloader syslinux --bootstrap-qemu-arch arm64 --bootstrap-qemu-static /usr/bin/qemu-aarch64-static --cache false --chroot-filesystem none --compression gzip --debootstrap-options --variant=minbase --include=apt-transport-https,gnupg --distribution bullseye --gzip-options -9 --rsyncable --iso-publisher Linaro; http://www.linaro.org/; linaro-dev@lists.linaro.org --iso-volume Linaro Bullseye $(date +%Y%m%d-%H:%M) --linux-flavours none --linux-packages none --mode debian --security true --system normal --updates true
lb config: unrecognized option ‘–debootstrap-options’
lb config: unrecognized option ‘–variant=minbase --include=apt-transport-https,gnupg’
lb config: unrecognized option ‘–updates’
ERROR: Running build_debian failed!
ERROR: exit code 1 from line 859:
RELEASE=$RK_DEBIAN_VERSION TARGET=desktop ARCH=$ARCH ./mk-base-debian.sh

sudo apt-get install git ssh make gcc libssl-dev liblz4-tool expect
g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support
qemu-user-static live-build bison flex fakeroot cmake gcc-multilib
g+±multilib unzip device-tree-compiler ncurses-dev

装一下环境试试

都已经安装好了。
apt-get install git ssh make gcc libssl-dev liblz4-tool expect
g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support
qemu-user-static live-build bison flex fakeroot cmake gcc-multilib
g+±multilib unzip device-tree-compiler ncurses-dev
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Note, selecting ‘libncurses-dev’ instead of ‘ncurses-dev’
bison is already the newest version (2:3.7.5+dfsg-1).
cmake is already the newest version (3.18.4-2ubuntu1).
device-tree-compiler is already the newest version (1.6.0-1).
diffstat is already the newest version (1.64-1).
fakeroot is already the newest version (1.25.3-1.1ubuntu2).
flex is already the newest version (2.6.4-8).
g++ is already the newest version (4:10.3.0-1ubuntu1).
g+±multilib is already the newest version (4:10.3.0-1ubuntu1).
gawk is already the newest version (1:5.1.0-1build1).
gcc is already the newest version (4:10.3.0-1ubuntu1).
gcc-multilib is already the newest version (4:10.3.0-1ubuntu1).
git is already the newest version (1:2.30.2-1ubuntu1).
libncurses-dev is already the newest version (6.2+20201114-2build1).
live-build is already the newest version (3.0~a57-1ubuntu41).
make is already the newest version (4.3-4ubuntu1).
unzip is already the newest version (6.0-26ubuntu1).
binfmt-support is already the newest version (2.2.1-1).
chrpath is already the newest version (0.16-2).
expect is already the newest version (5.45.4-2build1).
patchelf is already the newest version (0.12-1).
texinfo is already the newest version (6.7.0.dfsg.2-6).
libssl-dev is already the newest version (1.1.1j-1ubuntu3.6).
ssh is already the newest version (1:8.4p1-5ubuntu1.2).
liblz4-tool is already the newest version (1.9.3-1ubuntu0.1).
qemu-user-static is already the newest version (1:5.2+dfsg-9ubuntu3.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

tiancat 发表于 2022-5-7 18:36
都已经安装好了。
apt-get install git ssh make gcc libssl-dev liblz4-tool expect
g++ patchelf chr …

老哥搞定了吗

依赖包没装
在 SDK/debian 文件夹下执行
sudo apt-get install binfmt-support qemu-user-static
sudo dpkg -i ubuntu-build-service/packages/*
sudo apt-get install -f
第二步安装可能会出错停止,但不要紧,继续执行最后一步 install -f 可以修复