Package Details: conftest 0.21.0-1

Git Clone URL: https://aur.archlinux.org/conftest.git (read-only, click to copy)
Package Base: conftest
Description: A utility to help you write tests against structured configuration data
Upstream URL: https://github.com/open-policy-agent/conftest
Keywords: kubernetes opa terraform
Licenses: Apache
Submitter: dbirks
Maintainer: dbirks
Last Packager: dbirks
Votes: 3
Popularity: 0.29
First Submitted: 2019-07-13 21:05
Last Updated: 2020-09-14 13:04

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

nairb774 commented on 2021-03-01 23:23

Not sure if it impacts later versions, but to be able to build this package now that go 1.16 is out, the following seems to work for me:

GOFLAGS=-mod=mod makepkg -cCs --noconfirm

Otherwise I get errors like the following:

#10 1449.2 /home/aur/go/pkg/mod/github.com/containerd/containerd@v1.3.2/sys/oom_unix.go:28:2: missing go.sum entry for module providing package github.com/opencontainers/runc/libcontainer/system (imported by github.com/containerd/containerd/sys); to add:
#10 1449.2      go get github.com/containerd/containerd/sys@v1.3.2
#10 1449.2 /home/aur/go/pkg/mod/github.com/sirupsen/logrus@v1.4.2/terminal_check_unix.go:5:8: missing go.sum entry for module providing package golang.org/x/sys/unix (imported by github.com/fsnotify/fsnotify); to add:
#10 1449.2      go get github.com/fsnotify/fsnotify@v1.4.7
#10 1449.2 ==> ERROR: A failure occurred in build().
#10 1449.2     Aborting...

Relevant GitHub issue where the env var/flag is talked about: https://github.com/golang/go/issues/44212#issuecomment-776937327