Skip to content

CGO dependency (sqlite3-binding.c) causing certain builds to fail #650

Description

@cmrunton

When building using the Go build script I get the following errors:

14 errors occurred:
--> darwin/386 error: exit status 1
Stderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c

--> linux/arm error: exit status 1
Stderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c

--> windows/386 error: exit status 1
Stderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c

--> windows/amd64 error: exit status 1
Stderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c

--> darwin/arm error: exit status 1
Stderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c

--> darwin/amd64 error: exit status 1
Stderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c

As noted in Issue #545 I removed line 48 from cmd/cfssl/cfssl.go and the packages build fine. I don't need SQLite storage, so that isn't an issue for me, but I'm sure others might have a use for it. Let me know if you need any info on my build environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions