Raspberry Pi

Gitea ARM crossbuild (with GoModules)

Upgrading to Gitea 1.13.4 didn’t go as planned and it failed to compile the go-sqlite3 module with my previous setup. While crossbuilding, the CGO parameter is automatically disabled (i.e. compiling is done with CGO_ENABLED=0) but the go-sqlite3 module won’t build anymore if this option is not set (probably require some optimisation in C and a pure Go implementation won’t fit anymore).

Gitea ARM crossbuild

Instead of building the Gitea binary on a Raspberry PI, we can speed up things a bit by crossbuilding from some other computer with more punch. Recent version of Gitea will need nodejs/npm to be available at build time, so we’ll install this too.

Gitea ARM7 build (Raspberry PI 2)

I’m hosting my projects code on a Gitea instance running on a Raspberry PI. Thing is, the last Raspbian update broke the gitea binary: probably some change in the kernel or libc.