Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make fails with undefined: jsoniter error #9000

Closed
dc25 opened this issue Jan 18, 2021 · 17 comments · Fixed by #9020
Closed

make fails with undefined: jsoniter error #9000

dc25 opened this issue Jan 18, 2021 · 17 comments · Fixed by #9020
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@dc25
Copy link

dc25 commented Jan 18, 2021

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Steps to reproduce the issue:

  1. Clone the podman repo. (per instructions)

  2. make BUILDTAGS="selinux seccomp"

  3. observe output as shown below


dave@coconut:/media/veracrypt1/repos/gitnc$ mkdir -p $GOPATH/src/github.com/containers/podman
dave@coconut:/media/veracrypt1/repos/gitnc$ git clone https://github.com/containers/podman/ $GOPATH/src/github.com/containers/podman
Cloning into '/home/dave/go/src/github.com/containers/podman'...
remote: Enumerating objects: 42, done.
remote: Counting objects: 100% (42/42), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 103186 (delta 12), reused 16 (delta 7), pack-reused 103144
Receiving objects: 100% (103186/103186), 66.58 MiB | 9.57 MiB/s, done.
Resolving deltas: 100% (72096/72096), done.
dave@coconut:/media/veracrypt1/repos/gitnc$ cd $GOPATH/src/github.com/containers/podman
dave@coconut:~/go/src/github.com/containers/podman$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
dave@coconut:~/go/src/github.com/containers/podman$ git log | head
commit 5b3c7a52939275784c45c9747dd5864bd0581ff5
Merge: 00ab9cab0 caaaa2c5e
Author: OpenShift Merge Robot <[email protected]>
Date:   Sun Jan 17 15:38:30 2021 -0500

    Merge pull request #8995 from vrothberg/lint-lint-lint
    
    [CI:DOCS] lint lint lint

commit 00ab9cab01af125a01ea53b5f48c0d13943f85a1
dave@coconut:~/go/src/github.com/containers/podman$ make BUILDTAGS="selinux seccomp"
touch .gopathok
Podman is being compiled without the systemd build tag. Install libsystemd on 	Ubuntu or systemd-devel on rpm based distro for journald support.
go build -mod=vendor  -gcflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -asmflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -ldflags '-X github.com/containers/podman/v2/libpod/define.gitCommit=5b3c7a52939275784c45c9747dd5864bd0581ff5 -X github.com/containers/podman/v2/libpod/define.buildInfo=1610970891 -X github.com/containers/podman/v2/libpod/config._installPrefix=/usr/local -X github.com/containers/podman/v2/libpod/config._etcDir=/etc ' -tags "selinux seccomp" -o bin/podman ./cmd/podman
go generate -mod=vendor ./pkg/bindings/... ;
go: github.com/blang/[email protected]+incompatible: Get https://proxy.golang.org/github.com/blang/semver/@v/v3.5.1+incompatible.mod: dial tcp: lookup proxy.golang.org: Temporary failure in name resolution
pkg/bindings/containers/types.go:10: running "go": exit status 1
go: downloading github.com/containers/common v0.33.1
go: downloading github.com/containers/buildah v1.19.2
go: extracting github.com/containers/common v0.33.1
go: downloading github.com/containers/storage v1.24.5
go: downloading golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3
go: downloading github.com/sirupsen/logrus v1.7.0
go: downloading github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/BurntSushi/toml v0.3.1
go: extracting github.com/BurntSushi/toml v0.3.1
go: extracting github.com/docker/go-units v0.4.0
go: extracting github.com/pkg/errors v0.9.1
go: downloading github.com/opencontainers/selinux v1.8.0
go: extracting github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2
go: extracting github.com/containers/buildah v1.19.2
go: extracting github.com/sirupsen/logrus v1.7.0
go: downloading github.com/opencontainers/image-spec v1.0.2-0.20190823105129-775207bd45b6
go: downloading github.com/fsouza/go-dockerclient v1.6.6
go: downloading github.com/openshift/imagebuilder v1.1.8
go: extracting github.com/openshift/imagebuilder v1.1.8
go: extracting github.com/opencontainers/image-spec v1.0.2-0.20190823105129-775207bd45b6
go: extracting golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3
go: extracting github.com/opencontainers/selinux v1.8.0
go: extracting github.com/fsouza/go-dockerclient v1.6.6
go: downloading github.com/containers/image/v5 v5.9.0
go: downloading github.com/opencontainers/go-digest v1.0.0
go: extracting github.com/containers/storage v1.24.5
go: downloading github.com/docker/docker v20.10.0-beta1.0.20201113105859-b6bfff2a628f+incompatible
go: downloading github.com/klauspost/pgzip v1.2.5
go: downloading github.com/pquerna/ffjson v0.0.0-20190813045741-dac163c6c0a9
go: downloading golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb
go: downloading github.com/hashicorp/go-multierror v1.1.0
go: extracting github.com/hashicorp/go-multierror v1.1.0
go: extracting github.com/opencontainers/go-digest v1.0.0
go: downloading github.com/vbatts/tar-split v0.11.1
go: extracting github.com/containers/image/v5 v5.9.0
go: downloading github.com/willf/bitset v1.1.11
go: downloading github.com/opencontainers/runtime-tools v0.9.0
go: downloading github.com/docker/libnetwork v0.8.0-dev.2.0.20190625141545-5a177b73e316
go: extracting github.com/klauspost/pgzip v1.2.5
go: extracting github.com/pquerna/ffjson v0.0.0-20190813045741-dac163c6c0a9
go: downloading github.com/opencontainers/runc v1.0.0-rc91.0.20200708210054-ce54a9d4d79b
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: extracting github.com/vbatts/tar-split v0.11.1
go: downloading golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
go: extracting github.com/willf/bitset v1.1.11
go: downloading github.com/hashicorp/errwrap v1.0.0
go: extracting golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb
go: downloading github.com/klauspost/compress v1.11.5
go: extracting github.com/hashicorp/errwrap v1.0.0
go: downloading github.com/moby/sys/mountinfo v0.4.0
go: extracting github.com/moby/sys/mountinfo v0.4.0
go: extracting github.com/docker/distribution v2.7.1+incompatible
go: extracting golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: extracting github.com/opencontainers/runc v1.0.0-rc91.0.20200708210054-ce54a9d4d79b
go: downloading github.com/containers/ocicrypt v1.0.3
go: extracting github.com/docker/docker-credential-helpers v0.6.3
go: extracting github.com/docker/libnetwork v0.8.0-dev.2.0.20190625141545-5a177b73e316
go: downloading github.com/gorilla/mux v1.8.0
go: downloading github.com/ishidawataru/sctp v0.0.0-20191218070446-00ab2ac2db07
go: extracting github.com/opencontainers/runtime-tools v0.9.0
go: downloading github.com/docker/go-connections v0.4.0
go: extracting github.com/containers/ocicrypt v1.0.3
go: extracting github.com/ishidawataru/sctp v0.0.0-20191218070446-00ab2ac2db07
go: extracting github.com/docker/go-connections v0.4.0
go: downloading github.com/imdario/mergo v0.3.11
go: extracting github.com/gorilla/mux v1.8.0
go: downloading github.com/ghodss/yaml v1.0.0
go: extracting github.com/ghodss/yaml v1.0.0
go: downloading github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
go: extracting github.com/imdario/mergo v0.3.11
go: downloading github.com/opencontainers/runtime-spec v1.0.3-0.20200817204227-f9c09b4ea1df
go: extracting github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
go: downloading github.com/coreos/go-systemd/v22 v22.1.0
go: extracting github.com/opencontainers/runtime-spec v1.0.3-0.20200817204227-f9c09b4ea1df
go: downloading github.com/vbauerster/mpb/v5 v5.3.0
go: extracting github.com/coreos/go-systemd/v22 v22.1.0
go: downloading github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e
go: extracting github.com/vbauerster/mpb/v5 v5.3.0
go: extracting github.com/docker/docker v20.10.0-beta1.0.20201113105859-b6bfff2a628f+incompatible
go: extracting github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e
go: downloading github.com/godbus/dbus/v5 v5.0.3
go: extracting github.com/godbus/dbus/v5 v5.0.3
go: downloading github.com/manifoldco/promptui v0.8.0
go: extracting github.com/manifoldco/promptui v0.8.0
go: downloading github.com/spf13/cobra v1.1.1
go: downloading golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading golang.org/x/text v0.3.4
go: downloading github.com/morikuni/aec v1.0.0
go: downloading github.com/ulikunitz/xz v0.5.8
go: downloading github.com/mistifyio/go-zfs v2.1.1+incompatible
go: downloading github.com/moby/sys/mount v0.1.1
go: downloading google.golang.org/grpc v1.29.1
go: extracting github.com/moby/sys/mount v0.1.1
go: extracting github.com/mistifyio/go-zfs v2.1.1+incompatible
go: downloading github.com/containernetworking/cni v0.8.0
go: downloading github.com/docker/go-metrics v0.0.1
go: extracting github.com/spf13/cobra v1.1.1
go: extracting github.com/VividCortex/ewma v1.1.1
go: extracting github.com/morikuni/aec v1.0.0
go: downloading github.com/tchap/go-patricia v2.3.0+incompatible
go: extracting golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
go: downloading github.com/containerd/containerd v1.4.1
go: extracting google.golang.org/grpc v1.29.1
go: downloading github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
go: extracting github.com/ulikunitz/xz v0.5.8
go: downloading github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a
go: extracting github.com/docker/go-metrics v0.0.1
go: downloading go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1
go: extracting github.com/klauspost/compress v1.11.5
go: downloading github.com/gogo/protobuf v1.3.1
go: extracting github.com/containernetworking/cni v0.8.0
go: extracting github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a
go: extracting go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1
go: downloading github.com/prometheus/client_golang v1.1.0
go: extracting github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
go: downloading github.com/mattn/go-runewidth v0.0.9
go: extracting github.com/tchap/go-patricia v2.3.0+incompatible
go: downloading gopkg.in/square/go-jose.v2 v2.5.1
go: extracting github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
go: downloading gopkg.in/yaml.v2 v2.3.0
go: extracting gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/mattn/go-isatty v0.0.4
go: extracting github.com/mattn/go-runewidth v0.0.9
go: downloading go.etcd.io/bbolt v1.3.5
go: extracting gopkg.in/square/go-jose.v2 v2.5.1
go: extracting github.com/prometheus/client_golang v1.1.0
go: downloading github.com/mtrmac/gpgme v0.1.2
go: extracting github.com/mtrmac/gpgme v0.1.2
go: extracting github.com/mattn/go-isatty v0.0.4
go: downloading github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: downloading github.com/prometheus/common v0.6.0
go: extracting go.etcd.io/bbolt v1.3.5
go: downloading github.com/golang/protobuf v1.4.3
go: extracting github.com/gogo/protobuf v1.3.1
go: extracting github.com/prometheus/common v0.6.0
go: extracting github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/containers/libtrust v0.0.0-20190913040956-14b96171aa3b
go: extracting github.com/containerd/containerd v1.4.1
go: downloading github.com/prometheus/procfs v0.0.3
go: downloading github.com/blang/semver v3.5.1+incompatible
go: downloading github.com/moby/term v0.0.0-20201110203204-bea5bbe245bf
go: extracting github.com/golang/protobuf v1.4.3
go: downloading github.com/spf13/pflag v1.0.5
go: extracting github.com/blang/semver v3.5.1+incompatible
go: extracting github.com/moby/term v0.0.0-20201110203204-bea5bbe245bf
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/mattn/go-colorable v0.0.9
go: extracting github.com/prometheus/procfs v0.0.3
go: extracting github.com/containers/libtrust v0.0.0-20190913040956-14b96171aa3b
go: downloading github.com/containerd/continuity v0.0.0-20200413184840-d3ef23f19fbb
go: downloading github.com/xeipuuv/gojsonschema v1.2.0
go: extracting github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading google.golang.org/protobuf v1.25.0
go: extracting github.com/beorn7/perks v1.0.1
go: extracting github.com/mattn/go-colorable v0.0.9
go: extracting github.com/spf13/pflag v1.0.5
go: extracting github.com/xeipuuv/gojsonschema v1.2.0
go: extracting google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
go: extracting github.com/containerd/continuity v0.0.0-20200413184840-d3ef23f19fbb
go: extracting google.golang.org/protobuf v1.25.0
go: downloading github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a
go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: extracting github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a
go: extracting github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20190809123943-df4f5c81cb3b
go: extracting github.com/xeipuuv/gojsonpointer v0.0.0-20190809123943-df4f5c81cb3b
go: extracting golang.org/x/text v0.3.4
go: finding github.com/containers/buildah v1.19.2
go: finding github.com/containernetworking/cni v0.8.0
go: finding github.com/containers/common v0.33.1
go: finding github.com/BurntSushi/toml v0.3.1
go: finding github.com/pkg/errors v0.9.1
go: finding github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2
go: finding golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3
go: finding github.com/containers/storage v1.24.5
go: finding github.com/sirupsen/logrus v1.7.0
go: finding github.com/moby/sys/mountinfo v0.4.0
go: finding github.com/docker/go-units v0.4.0
go: finding github.com/opencontainers/runc v1.0.0-rc91.0.20200708210054-ce54a9d4d79b
go: finding golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb
go: finding github.com/klauspost/compress v1.11.5
go: finding github.com/klauspost/pgzip v1.2.5
go: finding github.com/pquerna/ffjson v0.0.0-20190813045741-dac163c6c0a9
go: finding github.com/opencontainers/selinux v1.8.0
go: finding github.com/vbatts/tar-split v0.11.1
go: finding github.com/willf/bitset v1.1.11
go: finding github.com/mistifyio/go-zfs v2.1.1+incompatible
go: finding github.com/opencontainers/runtime-spec v1.0.3-0.20200817204227-f9c09b4ea1df
go: finding github.com/tchap/go-patricia v2.3.0+incompatible
go: finding github.com/hashicorp/go-multierror v1.1.0
go: finding github.com/hashicorp/errwrap v1.0.0
go: finding github.com/opencontainers/go-digest v1.0.0
go: finding github.com/containers/image/v5 v5.9.0
go: finding github.com/opencontainers/image-spec v1.0.2-0.20190823105129-775207bd45b6
go: finding github.com/manifoldco/promptui v0.8.0
go: finding github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
go: finding github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a
go: finding github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/mattn/go-isatty v0.0.4
go: finding golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
go: finding github.com/ulikunitz/xz v0.5.8
go: finding github.com/containers/libtrust v0.0.0-20190913040956-14b96171aa3b
go: finding github.com/containers/ocicrypt v1.0.3
go: finding github.com/docker/docker v20.10.0-beta1.0.20201113105859-b6bfff2a628f+incompatible
go: finding github.com/mtrmac/gpgme v0.1.2
go: finding github.com/docker/docker-credential-helpers v0.6.3
go: finding github.com/docker/go-connections v0.4.0
go: finding github.com/docker/distribution v2.7.1+incompatible
go: finding github.com/gorilla/mux v1.8.0
go: finding github.com/docker/go-metrics v0.0.1
go: finding github.com/prometheus/client_golang v1.1.0
go: finding github.com/beorn7/perks v1.0.1
go: finding github.com/golang/protobuf v1.4.3
go: finding google.golang.org/protobuf v1.25.0
go: finding github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: finding github.com/prometheus/common v0.6.0
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding github.com/prometheus/procfs v0.0.3
go: finding github.com/ghodss/yaml v1.0.0
go: finding gopkg.in/yaml.v2 v2.3.0
go: finding github.com/containerd/containerd v1.4.1
go: finding google.golang.org/grpc v1.29.1
go: finding google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
go: finding github.com/gogo/protobuf v1.3.1
go: finding github.com/imdario/mergo v0.3.11
go: finding golang.org/x/text v0.3.4
go: finding go.etcd.io/bbolt v1.3.5
go: finding gopkg.in/square/go-jose.v2 v2.5.1
go: finding go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1
go: finding github.com/vbauerster/mpb/v5 v5.3.0
go: finding github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
go: finding github.com/mattn/go-runewidth v0.0.9
go: finding github.com/VividCortex/ewma v1.1.1
go: finding golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
go: finding github.com/docker/libnetwork v0.8.0-dev.2.0.20190625141545-5a177b73e316
go: finding github.com/ishidawataru/sctp v0.0.0-20191218070446-00ab2ac2db07
go: finding github.com/coreos/go-systemd/v22 v22.1.0
go: finding github.com/godbus/dbus/v5 v5.0.3
go: finding github.com/opencontainers/runtime-tools v0.9.0
go: finding github.com/blang/semver v3.5.1+incompatible
go: finding github.com/xeipuuv/gojsonschema v1.2.0
go: finding github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: finding github.com/xeipuuv/gojsonpointer v0.0.0-20190809123943-df4f5c81cb3b
go: finding github.com/openshift/imagebuilder v1.1.8
go: finding github.com/fsouza/go-dockerclient v1.6.6
go: finding github.com/containerd/continuity v0.0.0-20200413184840-d3ef23f19fbb
go: finding github.com/moby/sys/mount v0.1.1
go: finding github.com/moby/term v0.0.0-20201110203204-bea5bbe245bf
go: finding github.com/morikuni/aec v1.0.0
go: finding github.com/spf13/cobra v1.1.1
go: finding github.com/spf13/pflag v1.0.5
make: *** [Makefile:465: .generate-bindings] Error 1
dave@coconut:~/go/src/github.com/containers/podman$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   pkg/bindings/play/types_kube_options.go

no changes added to commit (use "git add" and/or "git commit -a")
dave@coconut:~/go/src/github.com/containers/podman$ git diff
diff --git a/pkg/bindings/play/types_kube_options.go b/pkg/bindings/play/types_kube_options.go
index 5aec4b479..86318565a 100644
--- a/pkg/bindings/play/types_kube_options.go
+++ b/pkg/bindings/play/types_kube_options.go
@@ -6,7 +6,6 @@ import (
        "strconv"
        "strings"
 
-       jsoniter "github.com/json-iterator/go"
        "github.com/pkg/errors"
 )
 
dave@coconut:~/go/src/github.com/containers/podman$ make BUILDTAGS="selinux seccomp"
Podman is being compiled without the systemd build tag. Install libsystemd on 	Ubuntu or systemd-devel on rpm based distro for journald support.
go build -mod=vendor  -gcflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -asmflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -ldflags '-X github.com/containers/podman/v2/libpod/define.gitCommit=5b3c7a52939275784c45c9747dd5864bd0581ff5-dirty -X github.com/containers/podman/v2/libpod/define.buildInfo=1610971036 -X github.com/containers/podman/v2/libpod/config._installPrefix=/usr/local -X github.com/containers/podman/v2/libpod/config._etcDir=/etc ' -tags "selinux seccomp" -o bin/podman ./cmd/podman
# github.com/containers/podman/v2/pkg/bindings/play
pkg/bindings/play/types_kube_options.go:29:10: undefined: jsoniter
make: *** [Makefile:201: bin/podman] Error 2



Describe the results you expected:

Note that in the above transcript the build was attempted twice. The first time it died in generate-bindings, the second time it died with the "undefined: jsoniter" error.

Additional information you deem important (e.g. issue happens only occasionally):

This is on ubuntu 20.04 . If I revert to the last version of podman from 2021-01-13, (b2ac2a3 ) the problem goes away. For me, for now, this is an acceptable workaround.

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?

Yes

Additional environment details (AWS, VirtualBox, physical, etc.):
Ubuntu 20.04 physical intel.

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jan 18, 2021
@vrothberg
Copy link
Member

Which version of Go are you using?

@dc25
Copy link
Author

dc25 commented Jan 18, 2021

dave@coconut:/media/veracrypt1/repos/gitnc/buildPodman$ go version
go version go1.13.8 linux/amd64

@vrothberg
Copy link
Member

@baude do you know what's going on? I suspect that go generate behaves differently across the versions. Go 1.13 is already out of support (at least upstream) but I am not sure how Ubuntu handles Go.

@dc25 any chance you can try a newer version of Go?

@dc25
Copy link
Author

dc25 commented Jan 18, 2021

Same result with Go 1.15.6 . This was on a virtual machine (still Ubuntu 20.04 though) just created for the sake of this test.

dave@podman:~/go/src/github.com/containers/podman$ which go
/usr/local/go/bin/go
dave@podman:~/go/src/github.com/containers/podman$ go version
go version go1.15.6 linux/amd64
dave@podman:~/go/src/github.com/containers/podman$ make BUILDTAGS="selinux seccomp"
Podman is being compiled without the systemd build tag. Install libsystemd on   Ubuntu or systemd-devel on rpm based distro for journald support.
go build -mod=vendor  -gcflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -asmflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -ldflags '-X github.com/containers/podman/v2/libpod/define.gitCommit=5b3c7a52939275784c45c9747dd5864bd0581ff5-dirty -X github.com/containers/podman/v2/libpod/define.buildInfo=1610977456 -X github.com/containers/podman/v2/libpod/config._installPrefix=/usr/local -X github.com/containers/podman/v2/libpod/config._etcDir=/etc ' -tags "selinux seccomp" -o bin/podman ./cmd/podman
# github.com/containers/podman/v2/pkg/bindings/play
pkg/bindings/play/types_kube_options.go:29:10: undefined: jsoniter
make: *** [Makefile:201: bin/podman] Error 2



@vrothberg
Copy link
Member

Very curious. The log indicates that the git tree is dirty, did you try with Go 1.15 on a clean tree?

@dc25
Copy link
Author

dc25 commented Jan 18, 2021

Yes, I did try it on a clean tree (in fact the build machine itself was brand new). It was the make that dirtied the tree. See transcript below.

dave@podman:~/repos/buildPodman$ rm -rf $GOPATH/src/github.com/containers/podman
dave@podman:~/repos/buildPodman$ mkdir -p $GOPATH/src/github.com/containers/podman                   
dave@podman:~/repos/buildPodman$ git clone https://github.com/containers/podman/ $GOPATH/src/github.com/containers/podman                                                                                  
Cloning into '/home/dave/go/src/github.com/containers/podman'...
remote: Enumerating objects: 42, done.
remote: Counting objects: 100% (42/42), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 103186 (delta 12), reused 16 (delta 6), pack-reused 103144
Receiving objects: 100% (103186/103186), 66.58 MiB | 7.95 MiB/s, done.
Resolving deltas: 100% (72096/72096), done.
dave@podman:~/repos/buildPodman$ cd $GOPATH/src/github.com/containers/podman
dave@podman:~/go/src/github.com/containers/podman$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
dave@podman:~/go/src/github.com/containers/podman$ git log | head
commit 5b3c7a52939275784c45c9747dd5864bd0581ff5
Merge: 00ab9cab0 caaaa2c5e
Author: OpenShift Merge Robot <[email protected]>
Date:   Sun Jan 17 15:38:30 2021 -0500

    Merge pull request #8995 from vrothberg/lint-lint-lint
    
    [CI:DOCS] lint lint lint

commit 00ab9cab01af125a01ea53b5f48c0d13943f85a1
dave@podman:~/go/src/github.com/containers/podman$ make BUILDTAGS="selinux seccomp"
touch .gopathok
Podman is being compiled without the systemd build tag. Install libsystemd on   Ubuntu or systemd-devel on rpm based distro for journald support.
go build -mod=vendor  -gcflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -asmflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -ldflags '-X github.com/containers/podman/v2/libpod/define.gitCommit=5b3c7a52939275784c45c9747dd5864bd0581ff5 -X github.com/containers/podman/v2/libpod/define.buildInfo=1610978209 -X github.com/containers/podman/v2/libpod/config._installPrefix=/usr/local -X github.com/containers/podman/v2/libpod/config._etcDir=/etc ' -tags "selinux seccomp" -o bin/podman ./cmd/podman
go generate -mod=vendor ./pkg/bindings/... ;
touch .generate-bindings
go build -mod=vendor  -gcflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -asmflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -ldflags '-X github.com/containers/podman/v2/libpod/define.gitCommit=5b3c7a52939275784c45c9747dd5864bd0581ff5-dirty -X github.com/containers/podman/v2/libpod/define.buildInfo=1610978254 -X github.com/containers/podman/v2/libpod/config._installPrefix=/usr/local -X github.com/containers/podman/v2/libpod/config._etcDir=/etc ' -tags "remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp" -o bin/podman-remote ./cmd/podman
# github.com/containers/podman/v2/pkg/bindings/play
pkg/bindings/play/types_kube_options.go:29:10: undefined: jsoniter
make: *** [Makefile:210: bin/podman-remote] Error 2
dave@podman:~/go/src/github.com/containers/podman$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   pkg/bindings/play/types_kube_options.go

no changes added to commit (use "git add" and/or "git commit -a")
dave@podman:~/go/src/github.com/containers/podman$ which go
/usr/local/go/bin/go
dave@podman:~/go/src/github.com/containers/podman$ go version
go version go1.15.6 linux/amd64
dave@podman:~/go/src/github.com/containers/podman$ 

@vrothberg
Copy link
Member

Thanks a lot, @dc25!

I will spin up an Ubuntu VM and have a look; I hope to find time today. It passed CI (which is using Ubuntu) and I fail to reproduce locally, so I want to get my hands dirty.

@dc25
Copy link
Author

dc25 commented Jan 18, 2021

Thank you. Are you using Ubuntu 20.04 or 20.10 (or something else) for CI ?

@vrothberg
Copy link
Member

Thank you. Are you using Ubuntu 20.04 or 20.10 (or something else) for CI ?

Both, 20.04 and 20.10.

@dc25
Copy link
Author

dc25 commented Jan 18, 2021

For the sake of completeness, I created an Ubuntu 20.10 VM and built on that. Same problem exactly.

Also for completeness sake, the shell scripts that I've been using (more or less) to do my builds are here : https://github.com/dc25/buildPodman

My intention though is for those scripts to follow the podman instructions as much as possible: https://podman.io/getting-started/installation.html

@lsm5
Copy link
Member

lsm5 commented Jan 18, 2021

@dc25 just curious, do you need to use selinux buildtag on ubuntu?

@rhatdan
Copy link
Member

rhatdan commented Jan 18, 2021

This indicates something is blowing up in the go generate code. Basically the bindings are not being created correctly.

@dc25
Copy link
Author

dc25 commented Jan 18, 2021

@dc25 just curious, do you need to use selinux buildtag on ubuntu?

Probably not. My intention was to build a "vanilla" podman. Not being sure which options I needed, I went with the first make command on the "Podman Installation Instructions" page ( copied below ). It worked until it broke on 2021-01-14 . At that point it seemed like reporting the problem was the thing to do rather than playing with different BUILDTAGS values.

git clone https://github.com/containers/podman/
cd podman
make BUILDTAGS="selinux seccomp"
sudo make install PREFIX=/usr

@vrothberg
Copy link
Member

We debugged it yesterday and found that it's an interplay of an unset $GOPATH, the way the Makefile sets it to $PWD/_output and go generate going bananas. I am wrapping up a fix now.

I suggest setting export GOPATH=$HOME/go and then it should work.

@dc25
Copy link
Author

dc25 commented Jan 19, 2021

We debugged it yesterday and found that it's an interplay of an unset $GOPATH, the way the Makefile sets it to $PWD/_output and go generate going bananas. I am wrapping up a fix now.

I suggest setting export GOPATH=$HOME/go and then it should work.

GOPATH was already exported in the environment in which this bug happened. I'll follow up with a transcript showing this.

@dc25
Copy link
Author

dc25 commented Jan 19, 2021

I added "set -x" to the bash script that I have been using to demonstrate this bug. As you can see, the first thing that the script does to to export GOPATH. Every demonstration of this bug that I have shown for this issue was done with GOPATH set.

+ export GOPATH=/home/dave/go
+ GOPATH=/home/dave/go
++ mktemp -d
+ export GOCACHE=/tmp/tmp.VrCBFwlfAx
+ GOCACHE=/tmp/tmp.VrCBFwlfAx
+ export PATH=/home/dave/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin
+ PATH=/home/dave/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin
+ mkdir -p /home/dave/go
+ rm -rf /home/dave/go
+ chmod -R 777 /home/dave/go
chmod: cannot access '/home/dave/go': No such file or directory
+ rm -rf /home/dave/go
+ mkdir -p /home/dave/go
+ go get golang.org/x/tools/cmd/goimports
+ cd /home/dave/go
+ rm -rf conmon
+ git clone https://github.com/containers/conmon
Cloning into 'conmon'...
+ cd conmon/
+ make
mkdir -p bin
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/conmon.o -c src/conmon.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/cmsg.o -c src/cmsg.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/ctr_logging.o -c src/ctr_logging.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/utils.o -c src/utils.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/cli.o -c src/cli.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/globals.o -c src/globals.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/cgroup.o -c src/cgroup.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/conn_sock.o -c src/conn_sock.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/oom.o -c src/oom.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/ctrl.o -c src/ctrl.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/ctr_stdio.o -c src/ctr_stdio.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/parent_pipe_fd.o -c src/parent_pipe_fd.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/ctr_exit.o -c src/ctr_exit.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/runtime_args.o -c src/runtime_args.c
cc -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o src/close_fds.o -c src/close_fds.c
cc  -std=c99 -Os -Wall -Wextra -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DVERSION=\"2.0.25-dev\" -DGIT_COMMIT=\""6c8068c90022bbcfa22c42d55adfea46c1b727c2"\"  -D USE_JOURNALD=0  -o bin/conmon src/conmon.o src/cmsg.o src/ctr_logging.o src/utils.o src/cli.o src/globals.o src/cgroup.o src/conn_sock.o src/oom.o src/ctrl.o src/ctr_stdio.o src/parent_pipe_fd.o src/ctr_exit.o src/runtime_args.o src/close_fds.o -lglib-2.0 -lsystemd
+ sudo make podman
install  -D -m 755 bin/conmon /usr/local/libexec/podman/conmon
+ rm -rf /home/dave/go/src/github.com/containers/podman
+ mkdir -p /home/dave/go/src/github.com/containers/podman
+ git clone https://github.com/containers/podman/ /home/dave/go/src/github.com/containers/podman
Cloning into '/home/dave/go/src/github.com/containers/podman'...
+ cd /home/dave/go/src/github.com/containers/podman
+ go version
go version go1.15.6 linux/amd64
+ make 'BUILDTAGS=selinux seccomp'
touch .gopathok
Podman is being compiled without the systemd build tag. Install libsystemd on 	Ubuntu or systemd-devel on rpm based distro for journald support.
go build -mod=vendor  -gcflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -asmflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -ldflags '-X github.com/containers/podman/v2/libpod/define.gitCommit=d99e475dd71f21ac5155d4b4b4bfef5101e55a85 -X github.com/containers/podman/v2/libpod/define.buildInfo=1611081268 -X github.com/containers/podman/v2/libpod/config._installPrefix=/usr/local -X github.com/containers/podman/v2/libpod/config._etcDir=/etc ' -tags "selinux seccomp" -o bin/podman ./cmd/podman
go generate -mod=vendor ./pkg/bindings/... ;
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/containers/image/v5 v5.9.0
go: downloading github.com/blang/semver v3.5.1+incompatible
go: downloading github.com/containers/storage v1.24.5
go: downloading github.com/sirupsen/logrus v1.7.0
go: downloading golang.org/x/sys v0.0.0-20210113181707-4bcb84eeeb78
go: downloading github.com/opencontainers/runc v1.0.0-rc91.0.20200708210054-ce54a9d4d79b
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/moby/sys/mountinfo v0.4.0
go: downloading github.com/opencontainers/go-digest v1.0.0
go: downloading github.com/docker/docker v20.10.0-beta1.0.20201113105859-b6bfff2a628f+incompatible
go: downloading github.com/opencontainers/image-spec v1.0.2-0.20190823105129-775207bd45b6
go: downloading github.com/containers/ocicrypt v1.0.3
go: downloading github.com/ulikunitz/xz v0.5.8
go: downloading github.com/klauspost/pgzip v1.2.5
go: downloading github.com/containers/libtrust v0.0.0-20190913040956-14b96171aa3b
go: downloading github.com/klauspost/compress v1.11.5
go: downloading github.com/containers/buildah v1.19.2
go: downloading github.com/containers/common v0.33.1
go: downloading github.com/opencontainers/selinux v1.8.0
go: downloading github.com/pquerna/ffjson v0.0.0-20190813045741-dac163c6c0a9
go: downloading github.com/vbatts/tar-split v0.11.1
go: downloading golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb
go: downloading github.com/hashicorp/go-multierror v1.1.0
go: downloading github.com/BurntSushi/toml v0.3.1
go: downloading github.com/opencontainers/runtime-spec v1.0.3-0.20200817204227-f9c09b4ea1df
go: downloading github.com/willf/bitset v1.1.11
go: downloading github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2
go: downloading github.com/tchap/go-patricia v2.3.0+incompatible
go: downloading github.com/mistifyio/go-zfs v2.1.1+incompatible
go: downloading github.com/hashicorp/errwrap v1.0.0
go: downloading github.com/fsouza/go-dockerclient v1.6.6
go: downloading golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
go: downloading golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
go: downloading github.com/vbauerster/mpb/v5 v5.3.0
go: downloading github.com/mtrmac/gpgme v0.1.2
go: downloading github.com/openshift/imagebuilder v1.1.8
go: downloading github.com/containernetworking/cni v0.8.0
go: downloading github.com/imdario/mergo v0.3.11
go: downloading github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
go: downloading github.com/opencontainers/runtime-tools v0.9.0
go: downloading github.com/docker/libnetwork v0.8.0-dev.2.0.20190625141545-5a177b73e316
go: downloading github.com/docker/go-connections v0.4.0
go: downloading golang.org/x/text v0.3.4
go: downloading github.com/containerd/containerd v1.4.1
go: downloading google.golang.org/grpc v1.29.1
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading github.com/coreos/go-systemd/v22 v22.1.0
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading go.etcd.io/bbolt v1.3.5
go: downloading github.com/containerd/continuity v0.0.0-20200413184840-d3ef23f19fbb
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/ishidawataru/sctp v0.0.0-20191218070446-00ab2ac2db07
go: downloading github.com/moby/sys/mount v0.1.1
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e
go: downloading github.com/morikuni/aec v1.0.0
go: downloading github.com/xeipuuv/gojsonschema v1.2.0
go: downloading github.com/gorilla/mux v1.8.0
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading github.com/godbus/dbus/v5 v5.0.3
go: downloading github.com/golang/protobuf v1.4.3
go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: downloading github.com/spf13/cobra v1.1.1
go: downloading github.com/moby/term v0.0.0-20201110203204-bea5bbe245bf
go: downloading go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1
go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20190809123943-df4f5c81cb3b
go: downloading github.com/manifoldco/promptui v0.8.0
go: downloading google.golang.org/protobuf v1.25.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/docker/go-metrics v0.0.1
go: downloading github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
go: downloading github.com/prometheus/client_golang v1.1.0
go: downloading github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a
go: downloading gopkg.in/square/go-jose.v2 v2.5.1
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/procfs v0.0.3
go: downloading github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: downloading github.com/prometheus/common v0.6.0
go: downloading github.com/mattn/go-isatty v0.0.4
go: downloading github.com/mattn/go-colorable v0.0.9
go: downloading github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
touch .generate-bindings
go build -mod=vendor  -gcflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -asmflags 'all=-trimpath=/home/dave/go/src/github.com/containers/podman' -ldflags '-X github.com/containers/podman/v2/libpod/define.gitCommit=d99e475dd71f21ac5155d4b4b4bfef5101e55a85-dirty -X github.com/containers/podman/v2/libpod/define.buildInfo=1611081433 -X github.com/containers/podman/v2/libpod/config._installPrefix=/usr/local -X github.com/containers/podman/v2/libpod/config._etcDir=/etc ' -tags "remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp" -o bin/podman-remote ./cmd/podman
# github.com/containers/podman/v2/pkg/bindings/play
pkg/bindings/play/types_kube_options.go:29:10: undefined: jsoniter

@vrothberg
Copy link
Member

Curious, thanks for checking @dc25!

#9020 should help you get back to building normally.

vrothberg added a commit to vrothberg/libpod that referenced this issue Jan 20, 2021
The Go gods did not shine upon us trying to understand what's going on
in containers#9000.  The symptom is that `go generate` did not add required
imports to a generated file, ultimately breaking subsequent compilation.

While it still remains unclear *why* Go is behaving like that, the
symptom disappears when `go generate` runs in module mode; that is
without `-mod=vendor` and without `GO111MODULE=off`.  This was
reproducible on two separate machines (Ubuntu and Fedora).

Also, when facing an unset GOPATH, set it to Go's default (i.e.,
$HOME/go) and make sure that GOBIN is in PATH since `goimports`
is required by `go generate`.

Fixes: containers#9000
Signed-off-by: Valentin Rothberg <[email protected]>
iwita pushed a commit to iwita/podman that referenced this issue Jan 26, 2021
The Go gods did not shine upon us trying to understand what's going on
in containers#9000.  The symptom is that `go generate` did not add required
imports to a generated file, ultimately breaking subsequent compilation.

While it still remains unclear *why* Go is behaving like that, the
symptom disappears when `go generate` runs in module mode; that is
without `-mod=vendor` and without `GO111MODULE=off`.  This was
reproducible on two separate machines (Ubuntu and Fedora).

Also, when facing an unset GOPATH, set it to Go's default (i.e.,
$HOME/go) and make sure that GOBIN is in PATH since `goimports`
is required by `go generate`.

Fixes: containers#9000
Signed-off-by: Valentin Rothberg <[email protected]>
mheon pushed a commit to mheon/libpod that referenced this issue Jan 29, 2021
The Go gods did not shine upon us trying to understand what's going on
in containers#9000.  The symptom is that `go generate` did not add required
imports to a generated file, ultimately breaking subsequent compilation.

While it still remains unclear *why* Go is behaving like that, the
symptom disappears when `go generate` runs in module mode; that is
without `-mod=vendor` and without `GO111MODULE=off`.  This was
reproducible on two separate machines (Ubuntu and Fedora).

Also, when facing an unset GOPATH, set it to Go's default (i.e.,
$HOME/go) and make sure that GOBIN is in PATH since `goimports`
is required by `go generate`.

Fixes: containers#9000
Signed-off-by: Valentin Rothberg <[email protected]>
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants