-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello,
Thank you for publishing Go tools in the Snap store, I noticed today and tried golangci-lint. But, I get an unexpected error that point to the Snap package. Before opening the ticket, I tried the following configurations:
- I have installed the package with and without the
--classic
option - I have updated my local installation to match the version from the store
- I have tried on multiple modules (with and without cgo)
- I have tried with the Go compiler installed as a Snap package
- I have tried with the Go compiler installed under
/usr/local/go
The error is always there and it is always the same. Here are the commands I used:
$ golangci-lint version
golangci-lint has version 1.49.0 built from cc2d97f3 on 2022-08-24T10:24:37Z
$ golangci-lint run
$ /snap/bin/golangci-lint version
golangci-lint has version 1.49.0 built from cc2d97f3 on 2022-08-24T12:18:21Z
$ /snap/bin/golangci-lint run .
../../../../../snap/golangci-lint/94/src/runtime/cgo/cgo.go:34:8: could not import C (cgo preprocessing failed) (typecheck)
import "C"
^
Metadata
Metadata
Assignees
Labels
No labels