WinPooh32/peerstohttp

SQLite3 dependency fails to build for GOOS=windows GOARCH=386

WinPooh32 opened this issue · 0 comments

#!/bin/bash -eo pipefail
GOOS=windows GOARCH=386 go build -mod=vendor -o /tmp/artifacts/peerstohttp.win.i386.exe ./cmd/...

# zombiezen.com/go/sqlite
vendor/zombiezen.com/go/sqlite/session.go:68:20: undefined: sqlite3.Xsqlite3session_create
vendor/zombiezen.com/go/sqlite/session.go:90:2: undefined: sqlite3.Xsqlite3session_delete
vendor/zombiezen.com/go/sqlite/session.go:725:37: undefined: sqlite3.SQLITE_CHANGESET_DATA
vendor/zombiezen.com/go/sqlite/session.go:726:37: undefined: sqlite3.SQLITE_CHANGESET_NOTFOUND
vendor/zombiezen.com/go/sqlite/session.go:727:37: undefined: sqlite3.SQLITE_CHANGESET_CONFLICT
vendor/zombiezen.com/go/sqlite/session.go:728:37: undefined: sqlite3.SQLITE_CHANGESET_CONSTRAINT
vendor/zombiezen.com/go/sqlite/session.go:729:37: undefined: sqlite3.SQLITE_CHANGESET_FOREIGN_KEY
vendor/zombiezen.com/go/sqlite/session.go:761:33: undefined: sqlite3.SQLITE_CHANGESET_OMIT
vendor/zombiezen.com/go/sqlite/session.go:765:34: undefined: sqlite3.SQLITE_CHANGESET_ABORT
vendor/zombiezen.com/go/sqlite/session.go:779:36: undefined: sqlite3.SQLITE_CHANGESET_REPLACE
vendor/zombiezen.com/go/sqlite/session.go:90:2: too many errors

Exited with code exit status 2

CircleCI received exit code 2

https://app.circleci.com/pipelines/github/WinPooh32/peerstohttp/67/workflows/31b5bb5f-e0ca-4a15-9d02-54f6d9474ca0/jobs/64/parallel-runs/0/steps/0-104