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

make all fails #2

Open
cgommel opened this issue Jun 15, 2021 · 3 comments
Open

make all fails #2

cgommel opened this issue Jun 15, 2021 · 3 comments

Comments

@cgommel
Copy link

cgommel commented Jun 15, 2021

After following every step of the tutorial everything worked until the late build phase:

# Copy custom files
cp -R files/* multistrap-debian-buster
touch .multistrap
# Configuring multistrap
cp /usr/bin/qemu-arm-static multistrap-debian-buster/usr/bin
cp multistrap.configscript multistrap-debian-buster/multistrap.configscript
mount -o bind /dev multistrap-debian-buster/dev
chroot multistrap-debian-buster /usr/bin/qemu-arm-static /bin/sh -c ./multistrap.configscript
/bin/sh: 1: ./multistrap.configscript: Exec format error
make[1]: *** [Makefile:17: .multistrap-config] Error 2
make[1]: Leaving directory '/home/docker/octavo-build/multistrap'
make: *** [Makefile:124: rootfs] Error 2

I've tried the procedure on freshly installed virtual cloud instances of ubuntu 18.04 and 20.04 (hosted at hetzner), both with the same result.

What is going wrong?

@schef
Copy link

schef commented Mar 29, 2022

Hi,
i have the same issue. Building on Archlinux 5.16.16-arch1-1.
Thanks

@neerajdantu
Copy link
Collaborator

Are you running the SDK with Docker as described in README? Look at https://ostechnix.com/fix-exec-format-error-when-running-scripts-with-run-parts-command/ for an explanation of the error. Should not be an issue because Docker takes care of dependencies. Also make sure you have all the dependencies listed in README installed

@schef
Copy link

schef commented Apr 12, 2022

I can confirm that I don't have this issue on latest Debian.

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

3 participants