You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running go test -v ./... on golang.org/x/tools using gccgo (in my attempt to solve https://bugs.debian.org/866710), I noticed a new error that came up recently with TestInstallationImporter in x/tools/go/internal/gccgoimporter.
It looks like old/regexp and old/template are finally removed recently, but the relevant x/tools test is not yet updated to reflect the removal. (I haven't been following Golang development closely, so please excuse me if my hypothesis is totally wrong.)
I do know that you use Gerrit for code review, but I have yet to learn how to use it and don't have free time today, so I am taking the easy way out of just filing a GitHub issue today, and letting you handle the rest. 😉 Anyhow, I suppose a fix would look something like this:
go version go1.8.1 gccgo (Debian 7.1.0-8) 7.1.0 linux/s390x
What operating system and processor architecture are you using (go env)?
Debian on s390x
What did you do?
go get golang.org/x/tools
cd $GOPATH/src/golang.org/x/tools
go get -t -v ./...
go test -v ./go/internal/gccgoimporter/...
(Note: There were other issues with other tests, when the full go test ./... is run, but I'll limit the scope just to gccgoimporter in this issue.)
What did you expect to see?
All tests PASS.
What did you see instead?
=== RUN TestInstallationImporter
--- FAIL: TestInstallationImporter (0.44s)
gccgoinstallation_test.go:173: old/regexp: could not find export data (tried /usr/lib/s390x-linux-gnu/go/7:/usr/lib/s390x-linux-gnu/go/7/s390x-linux-gnu:/usr/lib/s390x-linux-gnu/go/7:/usr/lib/s390x-linux-gnu/go/7/s390x-linux-gnu:/usr/lib/gcc/s390x-linux-gnu/7:/usr/lib/gcc/s390x-linux-gnu/7/../../../s390x-linux-gnu:/usr/lib/gcc/s390x-linux-gnu/7/../../../../lib:/lib/s390x-linux-gnu:/lib/../lib:/usr/lib/s390x-linux-gnu:/usr/lib/../lib:/usr/lib/gcc/s390x-linux-gnu/7/../../..:.)
gccgoinstallation_test.go:173: old/template: could not find export data (tried /usr/lib/s390x-linux-gnu/go/7:/usr/lib/s390x-linux-gnu/go/7/s390x-linux-gnu:/usr/lib/s390x-linux-gnu/go/7:/usr/lib/s390x-linux-gnu/go/7/s390x-linux-gnu:/usr/lib/gcc/s390x-linux-gnu/7:/usr/lib/gcc/s390x-linux-gnu/7/../../../s390x-linux-gnu:/usr/lib/gcc/s390x-linux-gnu/7/../../../../lib:/lib/s390x-linux-gnu:/lib/../lib:/usr/lib/s390x-linux-gnu:/usr/lib/../lib:/usr/lib/gcc/s390x-linux-gnu/7/../../..:.)
gccgoinstallation_test.go:180: old/regexp: could not find export data (tried /usr/lib/s390x-linux-gnu/go/7:/usr/lib/s390x-linux-gnu/go/7/s390x-linux-gnu:/usr/lib/s390x-linux-gnu/go/7:/usr/lib/s390x-linux-gnu/go/7/s390x-linux-gnu:/usr/lib/gcc/s390x-linux-gnu/7:/usr/lib/gcc/s390x-linux-gnu/7/../../../s390x-linux-gnu:/usr/lib/gcc/s390x-linux-gnu/7/../../../../lib:/lib/s390x-linux-gnu:/lib/../lib:/usr/lib/s390x-linux-gnu:/usr/lib/../lib:/usr/lib/gcc/s390x-linux-gnu/7/../../..:.)
gccgoinstallation_test.go:180: old/template: could not find export data (tried /usr/lib/s390x-linux-gnu/go/7:/usr/lib/s390x-linux-gnu/go/7/s390x-linux-gnu:/usr/lib/s390x-linux-gnu/go/7:/usr/lib/s390x-linux-gnu/go/7/s390x-linux-gnu:/usr/lib/gcc/s390x-linux-gnu/7:/usr/lib/gcc/s390x-linux-gnu/7/../../../s390x-linux-gnu:/usr/lib/gcc/s390x-linux-gnu/7/../../../../lib:/lib/s390x-linux-gnu:/lib/../lib:/usr/lib/s390x-linux-gnu:/usr/lib/../lib:/usr/lib/gcc/s390x-linux-gnu/7/../../..:.)
Many thanks!
The text was updated successfully, but these errors were encountered:
While running
go test -v ./...
on golang.org/x/tools using gccgo (in my attempt to solve https://bugs.debian.org/866710), I noticed a new error that came up recently with TestInstallationImporter in x/tools/go/internal/gccgoimporter.It looks like old/regexp and old/template are finally removed recently, but the relevant x/tools test is not yet updated to reflect the removal. (I haven't been following Golang development closely, so please excuse me if my hypothesis is totally wrong.)
I do know that you use Gerrit for code review, but I have yet to learn how to use it and don't have free time today, so I am taking the easy way out of just filing a GitHub issue today, and letting you handle the rest. 😉 Anyhow, I suppose a fix would look something like this:
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?Debian on s390x
What did you do?
(Note: There were other issues with other tests, when the full
go test ./...
is run, but I'll limit the scope just to gccgoimporter in this issue.)What did you expect to see?
All tests PASS.
What did you see instead?
Many thanks!
The text was updated successfully, but these errors were encountered: