golang e download
Inviato: gio 12 mag 2022, 10:54
Da un po' di tempo in chroot ho un comportamento strano con go.
Se lancio la compilazione nel sistema normale tutto ok, scarica quel che deve scaricare e compila, in chroot no
nel sistema
in chroot
fino a qualche versione fa funzionava tutto ok, cosa può essere?
Se lancio la compilazione nel sistema normale tutto ok, scarica quel che deve scaricare e compila, in chroot no
nel sistema
Codice: Seleziona tutto
make
go build -v --ldflags "-s -X github.com/rclone/rclone/fs.Version=v1.58.1-beta.."
go: downloading github.com/spf13/cobra v1.2.1
go: downloading golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.17
go: downloading google.golang.org/api v0.60.0
go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2
go: downloading golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
go: downloading github.com/dropbox/dropbox-sdk-go-unofficial/v6 v6.0.3
^Cmake: *** [Makefile:49: rclone] Interrupt
Codice: Seleziona tutto
make
go build -v --ldflags "-s -X github.com/rclone/rclone/fs.Version=v1.59.0-beta.6124.6f91198b5"
rclone.go:7:2: cannot find package "github.com/rclone/rclone/backend/all" in any of:
/usr/lib64/go/src/github.com/rclone/rclone/backend/all (from $GOROOT)
/root/go/src/github.com/rclone/rclone/backend/all (from $GOPATH)
rclone.go:8:2: cannot find package "github.com/rclone/rclone/cmd" in any of:
/usr/lib64/go/src/github.com/rclone/rclone/cmd (from $GOROOT)
/root/go/src/github.com/rclone/rclone/cmd (from $GOPATH)
rclone.go:9:2: cannot find package "github.com/rclone/rclone/cmd/all" in any of:
/usr/lib64/go/src/github.com/rclone/rclone/cmd/all (from $GOROOT)
/root/go/src/github.com/rclone/rclone/cmd/all (from $GOPATH)
rclone.go:10:2: cannot find package "github.com/rclone/rclone/lib/plugin" in any of:
/usr/lib64/go/src/github.com/rclone/rclone/lib/plugin (from $GOROOT)
/root/go/src/github.com/rclone/rclone/lib/plugin (from $GOPATH)
make: *** [Makefile:49: rclone] Error 1