Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build in docker environment - ubuntu:hirsute #3

Closed
txchen opened this issue Jun 25, 2021 · 2 comments
Closed

Failed to build in docker environment - ubuntu:hirsute #3

txchen opened this issue Jun 25, 2021 · 2 comments

Comments

@txchen
Copy link

txchen commented Jun 25, 2021

Describe the bug
Host machine: x64 debian. Ran the build in docker environment (ubuut:hirsute), and failed.

To Reproduce
Steps to reproduce the behavior:

./compile.sh BOARD=arm-64 BRANCH=current RELEASE=buster BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,img

Provide logs:

I: Extracting libmount1...
I: Extracting libsmartcols1...
I: Extracting libuuid1...
I: Extracting mount...
I: Extracting util-linux...
I: Extracting liblzma5...
I: Extracting zlib1g...
[ o.k. ] Installing base system [ Stage 2/2 ]
chroot: failed to run command '/bin/bash': Exec format error
[ error ] ERROR in function create_rootfs_cache [ debootstrap.sh:201 ]
[ error ] Debootstrap base system for current arm-64 buster   no second stage failed
[ o.k. ] Process terminated
[ o.k. ] Unmounting [ /root/phicomm-n1/.tmp/rootfs-8bfdd5f9-7432-477a-8c7c-96fc2a7d1ba4/ ]
[ error ] ERROR in function unmount_on_exit [ image-helpers.sh:65 ]
[ error ] debootstrap-ng was interrupted
[ o.k. ] Process terminated
@txchen
Copy link
Author

txchen commented Jun 25, 2021

I used a VM and finished the build successfully. Thanks for sharing the repo! For container build, you might want to update the instruction in the README.

@yunsur
Copy link
Owner

yunsur commented Sep 25, 2021

README has been updated

@yunsur yunsur closed this as completed Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants