You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even without specifying "sqlite" as a build tag, the command go build main.go will also build the vendor go-sqlite3, which requires gcc.
Screenshots
Note
Currently, two of Gitea's files import this vendor: models/models_sqlite.go and models/unit_tests.go. The former has the sqlite build constraint, while the latter does not. This is probably the root of this issue.
The text was updated successfully, but these errors were encountered:
The sqlite tag only touches the final product not the tests. One could argue to add a different command for building the tests. But this an enhancement not a bug.
Description
Even without specifying "sqlite" as a build tag, the command
go build main.go
will also build the vendorgo-sqlite3
, which requires gcc.Screenshots
Note
Currently, two of Gitea's files import this vendor:
models/models_sqlite.go
andmodels/unit_tests.go
. The former has thesqlite
build constraint, while the latter does not. This is probably the root of this issue.The text was updated successfully, but these errors were encountered: