Firefly开源社区

打印 上一主题 下一主题

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

9

积分

0

威望

0

贡献

吃瓜的群众

积分
9

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

发表于 2022-5-7 12:54:51      浏览:9694 | 回复:4        打印      只看该作者   [复制链接] 楼主
文件系统编译失败问题

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

回复

使用道具 举报

1万

积分

14

威望

13

贡献

管理员

Rank: 9Rank: 9Rank: 9

积分
11182

优秀版主

发表于 2022-5-7 16:44:45        只看该作者  沙发
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


装一下环境试试
回复

使用道具 举报

9

积分

0

威望

0

贡献

吃瓜的群众

积分
9
发表于 2022-5-7 18:36:31        只看该作者  板凳
都已经安装好了。
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.
回复

使用道具 举报

4

积分

0

威望

0

贡献

吃瓜的群众

积分
4
发表于 2022-5-9 17:40:31        只看该作者  地板
tiancat 发表于 2022-5-7 18:36
都已经安装好了。
apt-get install git ssh make gcc libssl-dev liblz4-tool expect \
g++ patchelf chr ...

老哥搞定了吗
回复

使用道具 举报

2122

积分

20

威望

24

贡献

中级创客

Rank: 4

积分
2122
发表于 2022-5-9 18:09:31        只看该作者  5#
依赖包没装
在 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 可以修复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表