Closed MrLiujiefei closed 1 year ago
There is a build log in the folder build/log/, please upload the file here to GitHub. I need to know what line this error occurred.
I tested a build with the command you ran and encountered no issues. build-20230824144329.log
build-20230824230503.log debootstrap.log This is my build logs
i don't download kernel and only build rootfs
I'm not sure why you get that error. I would try on a new Ubuntu 22.04 install, then make sure to download all dependencies.
When i run sudo ./build.sh -do -l --board=rock-5b on ubuntu 22.04 system,An error has occurred:
2023-08-24 23:14:24 URL:http://ports.ubuntu.com/ubuntu-ports/pool/main/z/zlib/zlib1g_1.2.11.dfsg-2ubuntu9_arm64.deb [56848/56848] -> "/home/ljf/RK3588/Linux_SDK/ubuntu-rockchip/build/rootfs//var/cache/apt/archives/partial/zlib1g_1%3a1.2.11.dfsg-2ubuntu9_arm64.deb" [1] chroot: failed to run command ‘/bin/true’: No such file or directory
how can i do
ldd rootfs/bin/true
sudo cp /lib/x86_64-linux-gnu/libc.so.6 rootfs/usr/lib/x86_64-linux-gnu/
sudo cp /lib64/ld-linux-x86-64.so.2 rootfs/usr/lib64/
When i run sudo ./build.sh -do -l --board=rock-5b on ubuntu 22.04 system,An error has occurred:
2023-08-24 23:14:24 URL:http://ports.ubuntu.com/ubuntu-ports/pool/main/z/zlib/zlib1g_1.2.11.dfsg-2ubuntu9_arm64.deb [56848/56848] -> "/home/ljf/RK3588/Linux_SDK/ubuntu-rockchip/build/rootfs//var/cache/apt/archives/partial/zlib1g_1%3a1.2.11.dfsg-2ubuntu9_arm64.deb" [1] chroot: failed to run command ‘/bin/true’: No such file or directory
how can i do