therecipe/qt

cannot run qtsetup

aab009725 opened this issue · 0 comments

qtsetup
INFO[0000] running: 'qtsetup prep'
WARN[0000] failed to create qtrcc symlink in your PATH (/sbin/qtrcc); please use /home/wang/go/bin/qtrcc instead
PANI[0000] failed to remove /usr/local/bin/qtmoc error="unlinkat /usr/local/bin/qtmoc: permission denied"
panic: (*logrus.Entry) 0xc00020c2a0

goroutine 1 [running]:
github.com/sirupsen/logrus.(*Entry).log(0xc00020c230, 0x0, 0xc00002a1e0, 0x25)
/home/wang/gopath/pkg/mod/github.com/sirupsen/logrus@v1.8.1/entry.go:259 +0x2e5
github.com/sirupsen/logrus.(*Entry).Log(0xc00020c230, 0x0, 0xc00012bbe0, 0x1, 0x1)
/home/wang/gopath/pkg/mod/github.com/sirupsen/logrus@v1.8.1/entry.go:293 +0x86
github.com/sirupsen/logrus.(*Entry).Logf(0xc00020c230, 0x0, 0x9918a1, 0x13, 0xc00012bc50, 0x1, 0x1)
/home/wang/gopath/pkg/mod/github.com/sirupsen/logrus@v1.8.1/entry.go:338 +0xe5
github.com/sirupsen/logrus.(*Entry).Panicf(...)
/home/wang/gopath/pkg/mod/github.com/sirupsen/logrus@v1.8.1/entry.go:376
github.com/therecipe/qt/internal/utils.RemoveAll(0xc000028630, 0x14, 0x2, 0xc000028630)
/home/wang/gopath/pkg/mod/github.com/therecipe/qt@v0.0.0-20200904063919-c0c124a5770d/internal/utils/utils.go:37 +0x110
github.com/therecipe/qt/internal/cmd/setup.Prep(0x9709e6, 0x5)
/home/wang/gopath/pkg/mod/github.com/therecipe/qt@v0.0.0-20200904063919-c0c124a5770d/internal/cmd/setup/prep.go:52 +0x5a5
main.main()
/home/wang/gopath/pkg/mod/github.com/therecipe/qt@v0.0.0-20200904063919-c0c124a5770d/cmd/qtsetup/main.go:130 +0x692