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
Building the current development tree (with 'cd src; ./all.bash') on Ubuntu 22.04 and Fedora 40 fails from commit 906338f (which is the fix for #68283 ) onward with:
ok cmd/fix 1.945s
vcs-test.golang.org rerouted to http://127.0.0.1:33547
https://vcs-test.golang.org rerouted to https://127.0.0.1:44403
go test proxy running at GOPROXY=http://127.0.0.1:40037/mod
--- FAIL: TestScript (0.20s)
--- FAIL: TestScript/list_pkgconfig_error (1.51s)
script_test.go:139: 2024-09-27T02:09:06Z
script_test.go:141: $WORK=/tmpfs/cks-gobuild/cmd-go-test-2494934397/tmpdir1310559430/list_pkgconfig_error2829839146
script_test.go:163:
> [!cgo] skip 'test verifies cgo pkg-config errors'
[condition not met]
> [!exec:pkg-config] skip 'test requires pkg-config tool'
[condition not met]
> ! go list -export .
[stdout]
example
[stderr]
# example
# [pkg-config --cflags -- libnot-a-valid-cgo-library]
Package libnot-a-valid-cgo-library was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnot-a-valid-cgo-library.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libnot-a-valid-cgo-library', required by 'virtual:world', not found
[exit status 1]
# 'Package .* not found appears' in pkg-config and pkgconf; while
# 'could not find package .*' appears in u-config. See #68283. (0.000s)
> stderr '#^ example\n#pkg-config .*\n(.*\n)*(Package .* not found)|(could not find package .*)'
script_test.go:163: FAIL: testdata/script/list_pkgconfig_error.txt:7: stderr '#^ example\n#pkg-config .*\n(.*\n)*(Package .* not found)|(could not find package .*)': no match for `(?m)#^ example\n#pkg-config .*\n(.*\n)*(Package .* not found)|(could not find package .*)` in stderr
FAIL
FAIL cmd/go 40.379s
It appears that the revised regular expression in that commit doesn't expect or allow the output "# [pkg-config ..." and instead requires that line to start with "#pkg-config" (no space, no '[').
What did you see happen?
I expected the tree to pass all.bash tests.
What did you expect to see?
The failure above.
The text was updated successfully, but these errors were encountered:
Go version
go version devel go1.24-6a730e1ef0 Fri Sep 27 00:32:20 2024 +0000 linux/amd64
Output of
go env
in your module/workspace:What did you do?
Building the current development tree (with 'cd src; ./all.bash') on Ubuntu 22.04 and Fedora 40 fails from commit 906338f (which is the fix for #68283 ) onward with:
It appears that the revised regular expression in that commit doesn't expect or allow the output "
# [pkg-config ...
" and instead requires that line to start with "#pkg-config
" (no space, no '[').What did you see happen?
I expected the tree to pass all.bash tests.
What did you expect to see?
The failure above.
The text was updated successfully, but these errors were encountered: