singularity-cri icon indicating copy to clipboard operation
singularity-cri copied to clipboard

Inconsistent vendoring w/ 1.0.0-beta.7

Open LincolnBryant opened this issue 5 years ago • 2 comments

What are the steps to reproduce this issue?

  1. Clone singularity CRI
  2. Checkout the v1.0.0-beta.v7 tag
  3. Run make

What happens?

Singularity CRI fails to build

What were you expecting to happen?

Make to successfully complete

Any logs, error output, comments, etc?

 GO bin/sycri
go: inconsistent vendoring in /root/singularity-cri:
	github.com/sylabs/[email protected]: is replaced in go.mod, but not marked as replaced in vendor/modules.txt

run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory
make: *** [bin/sycri] Error 1

Environment?

CentOS 7

go version: 1.15.2 linux/amd64

go env:

GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/root/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="direct"
GOROOT="/usr/lib/golang"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build938617816=/tmp/go-build -gno-record-gcc-switches"

Singularity-CRI version: … v1.0.0-beta.7

Singularity version: … 3.6.3-1.el7

Kubernetes version: ... 1.19.x

LincolnBryant avatar Oct 21 '20 15:10 LincolnBryant

By the way, is this project still maintained? If not, is there any migration path for folks using Singularity with Kubernetes?

LincolnBryant avatar Oct 21 '20 15:10 LincolnBryant

Hi @LincolnBryant

I'm also working on singularity-cri. could you clone singularity-cr switched to branch 'master' is will work.

singularity-cri with kubernetes you can look on this Vagrantfile deploy. https://github.com/sylabs/wlm-operator/blob/master/vagrant/Vagrantfile

yylin1 avatar Oct 22 '20 17:10 yylin1