Skip to content

[BUG] Go module installation fails because of OFF/Off/oFF path collisions #382

Description

@seniorkonung

Summary

go install github.com/awf-project/cli/cmd/awf@latest fails because the Go module contains file paths that differ only by letter case.

The current latest version resolves to v0.11.0, but Go fails while creating the module zip due to case-insensitive file name collisions.

Steps to reproduce

Run:

go install github.com/awf-project/cli/cmd/awf@latest

Actual result

go: downloading github.com/awf-project/cli v0.11.0
go: github.com/awf-project/cli/cmd/awf@latest: create zip: internal/interfaces/cli/Off: case-insensitive file name collision: "internal/interfaces/cli/OFF" and "internal/interfaces/cli/Off"
internal/interfaces/cli/oFF: case-insensitive file name collision: "internal/interfaces/cli/OFF" and "internal/interfaces/cli/oFF"

Expected result

The CLI should be installable with:

go install github.com/awf-project/cli/cmd/awf@latest

Suspected cause

The repository appears to contain multiple paths that differ only by letter case:

internal/interfaces/cli/OFF
internal/interfaces/cli/Off
internal/interfaces/cli/oFF

This breaks Go module zip creation, because Go modules reject case-insensitive path collisions.

Possible fix

Rename or remove the conflicting files/directories so that no two paths in the module differ only by case, then publish a new release tag.

Environment

  • Package: github.com/awf-project/cli/cmd/awf
  • Version resolved by Go: v0.11.0
  • Install command: go install github.com/awf-project/cli/cmd/awf@latest

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