Fix build docker with sqlite3 musl error #234
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix build docker error in github actions job#923.
This is now broken in latest
golang:alpine
image (from alpine3.18 to alpine3.19).Alpine 3.19 was released on 2023-12-07.1 It is shipped with gcc 13.2 and musl-dev 2.14.2
The LFS64 interfaces were marked as deprecated for musl 1.2.4.3
As a temporary workaround, builds broken by this change can be fixed short-term by adding
-D_LARGEFILE64_SOURCE
toCFLAGS
, but should be fixed to use the standard interfaces, refer to go-sqlite3 issue#1164.Footnotes
Alpine 3.19.0 release note ↩
Package musl-dev ↩
musl git commit: remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE ↩