cmd/dist: internal import detection is generating false positives #68570
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-OpenBSD
Milestone
After updating the Go port for OpenBSD to start testing 1.23rc2, the build fails with:
This appears to be a result of code added in 805f6b3, combined with the fact that the OpenBSD ports build applies patches (and hence
patch
produces a backup.orig.port
file). This approach has worked without issue for Go 1.22 (and every earlier version) - the new code seems to be unnecessarily excessive since this is not a.go
file, does not have any build tags and is additionally test code.In order to avoid packaging complications, can we restrict this check to files that Go will actually compile?
The text was updated successfully, but these errors were encountered: