Skip to content

Update gofrs/flock to v0.10.0+ to support Solaris #570

@radeksimko

Description

@radeksimko

Currently the SDK disallows building on Solaris. This was surfaced in hashicorp/terraform#36913

This is all due to the SDK depending on a very old version of flock which doesn't build on Solaris. flock v0.10.0 introduced support for Solaris, therefore flock will need upgrading to address this.


That later flock version requires later Go version.

I'm not familiar with the SDK's support policies. Please note however that Go explicitly declares support for any last two releases, i.e. currently Go 1.23 and 1.24. Any older minor versions, including 1.13 are effectively End Of Life. See https://github.com/golang/go/security/policy for more.

Here is an example of what a change that might be required: https://gist.github.com/radeksimko/ac3c1d3f2d0aae1cf3a3439bcb3ca4bb

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