daq-tools / kotori

A flexible data historian based on InfluxDB, Grafana, MQTT, and more. Free, open, simple.

Home Page:https://getkotori.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building packages for Debian 11 (Bullseye) fails

amotl opened this issue · comments

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.

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.

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.

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