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

BUG: gen-corim is broken #203

Closed
thomas-fossati opened this issue Dec 5, 2023 · 5 comments
Closed

BUG: gen-corim is broken #203

thomas-fossati opened this issue Dec 5, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@thomas-fossati
Copy link
Contributor

What version of the package are you using?

HEAD (at dfb0682)

Does this issue reproduce with the latest release?

yes

What OS and CPU architecture are you using (go env)?

GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/tho/Library/Caches/go-build'
GOENV='/Users/tho/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/tho/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/tho/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.21.0'
GCCGO='gccgo'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/Users/tho/Code/github.com/veraison/services/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/st/1wblnvg95bg4p9hnzc6dwjzh0000gn/T/go-build2551571816=/tmp/go-build -gno-record-gcc-switches -fno-common'

What did you do?

I tried to install the command following the instructions in the README

What did you expect to see?

I expected the gen-corim command to be installed in my computer.

What did you see instead?

First:

go: github.com/veraison/services/gen-corim@latest: module github.com/veraison/services@latest found (v0.0.0-20231006082242-dfb068204473), but does not contain package github.com/veraison/services/gen-corim

because the package path is not correct (it should be github.com/veraison/services/utils/gen-corim@latest instead).

Then, with the right path:

# github.com/veraison/services/utils/gen-corim/cmd
/Users/tho/go/pkg/mod/github.com/veraison/[email protected]/utils/gen-corim/cmd/gen-corim.go:390:53: undefined: comid.VerifKeys
/Users/tho/go/pkg/mod/github.com/veraison/[email protected]/utils/gen-corim/cmd/gen-corim.go:395:15: undefined: comid.NewVerifKey
/Users/tho/go/pkg/mod/github.com/veraison/[email protected]/utils/gen-corim/cmd/gen-corim.go:397:16: undefined: comid.NewVerifKeys
@thomas-fossati thomas-fossati added the bug Something isn't working label Dec 5, 2023
@thomas-fossati
Copy link
Contributor Author

thomas-fossati commented Dec 5, 2023

This bug was reported by @hannestschofenig

@yogeshbdeshpande
Copy link
Collaborator

@hannestschofenig
PLease try https://github.com/veraison/gen-corim
and report if still this is an issue

@yogeshbdeshpande
Copy link
Collaborator

gen-corim under veraison/services/utils is been deprecated!

@thomas-fossati
Copy link
Contributor Author

gen-corim under veraison/services/utils is been deprecated!

hmmm, deprecated? Is that stated somewhere?

@thomas-fossati
Copy link
Contributor Author

Fixed in #204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants