Skip to content

goanywhere chops off patch version digits from go version, breaking on go 1.24 #130

@quite

Description

@quite

goanywhere for some reason chops off the patch version digits from the go version that is written into the go.work file.

See https://github.com/u-root/gobusybox/blob/main/src/cmd/goanywhere/main.go#L128

*versionFlag = fmt.Sprintf("%d.%d", vers.Segments()[0], vers.Segments()[1])

I'm using go 1.24.4 and get this:

14:07:09 ERROR mkuimage error: failed to resolve package paths: err: exit status 1: stderr: go: module /home/quite/foo/src listed in go.work file requires go >= 1.24.0, but go.work lists go 1.24; to update it:
        go work use

Worked around by passing -v 1.24.0 to goanywhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions