Closed neonspectra closed 10 months ago
hi we will take a look and check the CICD pipeline, thanks for raising this issue!
I'm getting the same error on Arch, with compiler go1.21.6
There are a few files I forgotten to remove before release. It should be working now.
Confirmed it's working now after building from eb7f2aee7121fe255f19fd6be884ccbb7b194970
. You rock @tobychui!!
Yes confirmed working on the latest commit !
Describe the bug Attempting to compile ArozOS from source following the "Build from Source" instructions in README.md results in compilation failing with the following error during the
go build
step:To Reproduce Steps to reproduce the behavior:
git clone https://github.com/tobychui/arozos
cd ./arozos/src/
go mod tidy
go build
At this stage, compilation will interrupt with the error provided above.
Expected behavior ArozOS should compile properly from source.
Screenshots N/A
Host Information:
go version go1.21.4 linux/amd64
8f9e3a98083630f65989cedd907791b6c5c7d470
)Client Information: N/A - could not build host
Additional context The error seems to indicate that Go is angry about redeclarations of the same named functions within different files. As a total hack of a workaround, I tried to delete the
Templateload
andTemplateApply
functions out frommod/utils/template.go
, port the remaining functions intomod/utils/utils.go
, and recompile to bypass the redeclaration errors. However, this resulted in even more redeclaration errors:I don't know Go so please take the following analysis with a grain of salt. I'm almost wondering if there's a language version error from using a feature that isn't available on the version of Go I'm using to build or something like that. However, the README.md lists that I should use Go 1.20+, which I am already doing. Not sure where to go from this.