go list: lstat ../../share/go-1.20/src: no such file or directory

Bug #2002625 reported by Shengjing Zhu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang-1.20 (Ubuntu)
Fix Released
Undecided
Shengjing Zhu

Bug Description

+ Go1.19 works

zsj@debian:~/golang-golang-x-oauth2$ /usr/lib/go-1.19/bin/go list golang.org/x/oauth2/...
golang.org/x/oauth2
...

+ Go1.20 fails

zsj@debian:~/golang-golang-x-oauth2$ /usr/lib/go-1.20/bin/go list golang.org/x/oauth2/...
pattern golang.org/x/oauth2/...: lstat ../../share/go-1.20/src: no such file or directory

+ Go1.20 can list without package path

zsj@debian:~/golang-golang-x-oauth2$ /usr/lib/go-1.20/bin/go list ./...
golang.org/x/oauth2
...

This is the root cause for some rebuild failures for go1.20.

Tags: fr-3184
Shengjing Zhu (zhsj)
Changed in golang-1.20 (Ubuntu):
assignee: nobody → Shengjing Zhu (zhsj)
tags: added: fr-3184
Revision history for this message
Shengjing Zhu (zhsj) wrote :
Revision history for this message
Shengjing Zhu (zhsj) wrote :

Fixed in 1.20~rc2-2

Changed in golang-1.20 (Ubuntu):
status: New → Fix Committed
Shengjing Zhu (zhsj)
Changed in golang-1.20 (Ubuntu):
status: Fix Committed → Fix Released
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.