(go test .), with Go 1.17, crashes on macOS with something like
> === RUN TestHistoryNames
> fatal error: unexpected signal during runtime execution
> [signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x7fff203f1c9e]
>
> runtime stack:
> runtime: unexpected return pc for runtime.sigpanic called from 0x7fff203f1c9e
> stack: frame={sp:0x7ffeefbff7c8, fp:0x7ffeefbff818} stack=[0x7ffeefb80868,0x7ffeefbff8d0)
Fix this by updating golang.org/x/sys; see https://github.com/golang/go/issues/45702
for details.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Revert golang.org/x/sys to a known-to-work version. Recent breaking
changes in this package introduce build regressions. Thoss have already
been fixed in containers/storage but other (transitive) dependencies of
consumers of c/storage are not, and hence break builds.
See https://github.com/containers/libpod/pull/4598#issuecomment-560304335
as an example.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This API caused build regressions as golang.org/x dependencies
introduced breaking changes. We don't have any callers in our
projects and I consider it a bug that those APIs were there,
which might prevent us from causing a major bump.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>