`go install` fails silently

Bug #2018188 reported by Alex Lowe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
go-snap
Expired
Undecided
Unassigned

Bug Description

The GOROOT by default is inside the mounted snap partition, which makes `go install` fail silently.

Revision history for this message
Shengjing Zhu (zhsj) wrote :

Hi, could you elaborate why `go install` is related to GOROOT?

Shouldn't `go install` install binary to $GOPATH/bin?

```
ubuntu@ubuntu-devel:~$ go version
go version go1.20.4 linux/amd64
ubuntu@ubuntu-devel:~$ go install golang.org/x/tools/gopls@latest
ubuntu@ubuntu-devel:~$ ls go/bin/gopls
go/bin/gopls
```

Changed in go-snap:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for go-snap because there has been no activity for 60 days.]

Changed in go-snap:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.