You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024/03/21 10:32:29 WARNING: In findMains: ["go" "list" "-f" "{{.ImportPath}} {{.Name}}" "github.com/crc-org/crc/..."]: exit status 1
When executing that command manually, I noticed these errors:
$ go list -f "{{.ImportPath}} {{.Name}}" "github.com/crc-org/crc/..."
package github.com/crc-org/crc/v2/cmd/crc-embedder
imports github.com/crc-org/crc/v2/cmd/crc-embedder/cmd
imports github.com/crc-org/crc/v2/pkg/crc/machine/vfkit: build constraints exclude all Go files in /home/siretart/packages/crc/pkg/crc/machine/vfkit
github.com/crc-org/crc/v2/cmd/crc main
github.com/crc-org/crc/v2/cmd/crc-embedder main
It seems to me that the tool could work better if it passed the argument -e to go list. In that case, the error is surpressed and the list is produced successfully.
When trying to package https://github.com/crc-org/crc, i ended up with this error:
When executing that command manually, I noticed these errors:
It seems to me that the tool could work better if it passed the argument
-e
togo list
. In that case, the error is surpressed and the list is produced successfully.Relevant part in the code:
dh-make-golang/make.go
Line 219 in e701253
The text was updated successfully, but these errors were encountered: