-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
internal/database/database.go:59:10: undefined: OpenSQLiteDatabase #947
Comments
The culprit is 02247b2. I've got around the error by reinstating |
OpenBSD builds were broken so we removed the unimportant CGO dependencies and isolated the SQLite library into it's own build under https://github.com/go-shiori/shiori/blob/master/internal/database/sqlite_openbsd.go#L1-L2 If FreeBSD works with nonCGO we can add it into the noncgo build flags: https://github.com/go-shiori/shiori/blob/master/internal/database/sqlite_noncgo.go#L1-L2 |
I can confirm that this way Shiori builds. |
Would you be open to submit a PR with those changes? |
Fix broken build on FreeBSD after commit 02247b2.
- Increment the go version required by the port to build - Add a patch to fix the following error during the build target: internal/database/database.go:59:10: undefined: OpenSQLiteDatabase See also: go-shiori/shiori#947 Release changes: https://github.com/go-shiori/shiori/releases/tag/v1.7.0 Reported by: github-actions[bot] <[email protected]>
Data
Describe the bug / actual behavior
Trying to build Shiori from source results in:
Expected behavior
The build should succeed.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/go-shiori/shiori.git
git checkout v1.7.0
go build
Notes
Likely not a bug; rather, I'm missing something in the build process.
The text was updated successfully, but these errors were encountered: