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

Building packages for Debian 11 (Bullseye) fails #64

Closed
amotl opened this issue Nov 20, 2021 · 3 comments
Closed

Building packages for Debian 11 (Bullseye) fails #64

amotl opened this issue Nov 20, 2021 · 3 comments

Comments

@amotl
Copy link
Member

amotl commented Nov 20, 2021

Hi,

friends of Kotori have been trying to build .deb packages for Debian 11 (Bullseye). They are on a Linux environment (Intel x86, current Linux kernel, Docker 20.10.11, running within a KVM).

So, what they are looking at, would be to run this command successfully.

make package-debian flavor=full dist=bullseye arch=amd64 version=0.26.12

However, the problem is that the preparation command make package-baseline-images already croaks.

standard_init_linux.go:228: exec user process caused: exec format error
The command '/bin/sh -c apt-get update && apt-get upgrade --yes' returned a non-zero code: 1
Command failed

With kind regards,
Andreas.

@amotl
Copy link
Member Author

amotl commented Nov 21, 2021

Hi,

we can confirm that, while the task Building baseline image for Debian "bullseye" on amd64 succeeds, the process make package-baseline-images fails at the next step Building baseline image for Debian "bullseye" on arm64v8.

With kind regards,
Andreas.

@amotl
Copy link
Member Author

amotl commented Nov 21, 2021

Hi again,

it looks like some additional packages are needed for building packages on Linux. So, after installing Docker, please also invoke

apt-get install qemu-user-static binfmt-support

With kind regards,
Andreas.

@amotl
Copy link
Member Author

amotl commented Nov 21, 2021

Hi,

with #74, we updated the packaging environment, added support for Debian 11 (bullseye) and also improved the documentation [1] to fill the gap regarding missing packages qemu-user-static and binfmt-support.

With kind regards,
Andreas.

[1] https://getkotori.org/docs/development/releasing/packaging.html

@amotl amotl closed this as completed Nov 21, 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

1 participant