Description
Description
Attempting to build Gitea 1.21 on a machine running musl 1.2.4 or 1.2.5 results in a failure in the go-sqlite3 module, with pread64
and pwrite64
undeclared.
Per mattn/go-sqlite3#1164 this issue has been resolved upstream as of go-sqlite3 version 1.14.19.
I have verified that using go get
and go mod vendor
to update to go-sqlite3 version 1.14.21 manually has resulted in a rock-solid gitea instance; a simple version bump would appear to be in order for this issue.
Gitea Version
1.21.5, 1.21.8, 1.21.10
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.43.2
Operating System
Linux, x86_64
How are you running Gitea?
Building Gitea from emerge
on Gentoo, running on bare metal; a SandyBridge Optiplex.
Interrupting emerge
to play with the Go modules was how I was able to troubleshoot and fix this.
Gitea is launched from and managed by OpenRC.
Database
SQLite