Open tonypowa opened 2 weeks ago
This issue is a test copy of an issue in another repo. Original issue: https://github.com/grafana/grafana/issues/#88187
Hello @tonypowa, it seems like your issue is related to building the Grafana backend on a specific environment. This looks like a potential issue with the Backend platform project. Please make sure you have the latest dependencies installed and consider opening an issue in the Backend platform project if this persists, providing all the necessary details for replication.
Summary: User tonypowa reported a compilation failure for Grafana's main branch when attempting to compile Go source code on Debian 11 (WSL 2), encountering errors related to undefined references in the sqlite3 package. The issue is still open, with one comment made on it.
Elaboration:
Hello @tonypowa, thank you for reaching out with the issue you've encountered when trying to compile Grafana on Debian 11 under WSL 2.
It looks like you are running into an error related to the SQLite integration with Go. To help us get to the bottom of this and provide a possible fix, could you provide a bit more information?
github.com/mattn/go-sqlite3
package installed? Running go list -m all
might help confirm this.sqlite
are correctly specified when you run the build commands as some Go packages may require specific tags to include certain dependencies.Here's an additional step you may try which could help us isolate the problem:
If possible, could you run the following commands and share the output?
go clean -modcache
go get -u github.com/mattn/go-sqlite3
make run
These commands will clear the module download cache, force-update the go-sqlite3
package, and rebuild the application. If there's a version mismatch or a stale cache, this might resolve it.
We're here to help, and once you provide these details, we'll be better equipped to understand and address the issue.
What happened?
What did you expect to happen?
Compile and run Backend
Compiling and testing the frontend works fine!
Did this work before?
n/a
How do we reproduce it?
Is the bug inside a dashboard panel?
No response
Environment (with versions)?
Grafana: main branch
OS: Debian 11 (WSL 2)
Browser: N/A
Go Version: go1.22.3 linux/amd64
Grafana platform?
None
Datasource(s)?
No response