test/goroot: GOPATH workspace still uses pre-migration module path
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go
- Domain
- compilers, testing-qa
Research direction
Start in test/goroot at prepareCaseWorkspace and inspect how the temporary GOPATH symlink is created. Update the link from github.com/goplus/llgo to github.com/xgo-dev/llgo, then run the reported go test command and confirm the runnable GOROOT cases reach LLGo compilation.
Written by the indexing model from the issue text.
Description
At xgo-dev/llgo main 6fe8babd4 with Go 1.26.5, runnable GOROOT cases fail before compilation because prepareCaseWorkspace creates this symlink:
$GOPATH/src/github.com/goplus/llgo ->
The runtime imports now use github.com/xgo-dev/llgo, so llgo reports that github.com/xgo-dev/llgo/runtime/internal/runtime and related packages cannot be found.
Reproduction:
go test -v ./test/goroot -run ^TestGoRootRunCases$ -count=1 -args -goroot $(go env GOROOT) -directive-mode coverage -dirs . -case ^64bit\.go$
Observed first error:
cannot find package github.com/xgo-dev/llgo/runtime/internal/runtime
Expected: the temporary GOPATH link should use github.com/xgo-dev/llgo (ideally derived from the module path), so runnable GOROOT cases reach LLGo compilation. The local one-line path correction is sufficient to get past this failure.
- Dominant language
- LLVM
- Stars
- 758
- Forks
- 49
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 137
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from xgo-dev/llgo
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
go-compat proposal Proposal-Accepted
Difficulty 5/5 Over a week Newbie friendliness 15/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
objectionary/eo#8869 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
EricSpencer00/Resilient#4824 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/jeo-maven-plugin#1758 ·
-
generics
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
mlir
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
llvm/llvm-project#224908 · 1 comment ·