Closed Iceforgedmvp closed 1 year ago
At the moment, Icinga DB requires at least Go 1.18 to build. This is newer than what most distributions provide in their repositories, thus, we build the packages with Go installed locally from https://go.dev/dl/ which is not modeled as a build dependency as there are no deb or rpm packages for it. At the moment, we don't have plans for changing this. So if you want to build the packages, you have to provide a recent enough go version yourself. If there are packages with a suitable version available, those should just work with an addtional golang (>= 1.18)
build dependency.
Hi folks,
I'm trying to build deb packages for Icinga. I'm using the source packages for Debian 11 (bullseye) for building the final deb packages. I succeeded in building icingadb-redis but fail to build the deb package for icingadb.
Observed behaviour
Unfortunately, the build dependency for Go is missing and I'm not able to solve the problem. When executing debuild, I get the following error:
Installing golang-go does not help as it leads to the next error:
Removing '-buildvcs=false' does not help as I finally end up with this error:
According to my research, Golang Embed requires at least Go 1.16 but Debian stable only provides Go 1.15: https://github.com/sigstore/fulcio/issues/253#issuecomment-985634704
Expected behaviour
How to reproduce
You can reproduce the error on a x86_64 machine or arm64 like this: