Skip to content

cmd/go: improve error message when unable to detect symlinked packages during go install #17662

@krisnova

Description

@krisnova

V 1.6.2 Darwin/AMD64

filepath.Walk does not (and will not) respect traversing symlinks. (See #17451)

Can we improve the error message when a user attempts to run go install on a package that is a symlink? Right now the error message is "warning: %q matched no packages\n".

That does not offer the user insight into why the package did not build as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions