https://bugzilla.suse.com/show_bug.cgi?id=1231830 Bug ID: 1231830 Summary: golang get target info not working via `go tool dist list` Classification: openSUSE Product: openSUSE Tumbleweed Version: Slowroll Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Major Priority: P5 - None Component: Patterns Assignee: dimstar@opensuse.org Reporter: initd@outlook.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Build Identifier: go build cross-platform will need some target info from the current go version, I do local developing on my os runing on VMware, so I into this problem Reproducible: Always Steps to Reproduce: 1. sudo zypper in go 2. go tool dist list Actual Results: go tool dist: FAILED: not a Git repo; must put a VERSION file in $GOROOT Expected Results: aix/ppc64 android/386 android/amd64 android/arm android/arm64 darwin/amd64 darwin/arm64 dragonfly/amd64 freebsd/386 freebsd/amd64 freebsd/arm freebsd/arm64 freebsd/riscv64 illumos/amd64 ios/amd64 ios/arm64 js/wasm linux/386 linux/amd64 linux/arm linux/arm64 linux/loong64 linux/mips linux/mips64 linux/mips64le linux/mipsle linux/ppc64 linux/ppc64le linux/riscv64 linux/s390x netbsd/386 netbsd/amd64 netbsd/arm netbsd/arm64 openbsd/386 openbsd/amd64 openbsd/arm openbsd/arm64 openbsd/ppc64 openbsd/riscv64 plan9/386 plan9/amd64 plan9/arm solaris/amd64 wasip1/wasm windows/386 windows/amd64 windows/arm windows/arm64 I found the same issue on stackoverflow, someone said "When the package are installed on your computer via the package manager, it does not create the git repository associated with those sources." I think so, I think we should solve the problem, I choose the openSUSE because its pkg management edge. https://stackoverflow.com/questions/62498725/go-tool-dist-failed-not-a-git-r... https://github.com/initdc/golang-project-workflow/blob/master/get-go-targets... -- You are receiving this mail because: You are on the CC list for the bug.