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

Building SSH CA fails with "go-md2man" package not found #51

Open
mathiasgomig opened this issue Oct 13, 2021 · 0 comments
Open

Building SSH CA fails with "go-md2man" package not found #51

mathiasgomig opened this issue Oct 13, 2021 · 0 comments

Comments

@mathiasgomig
Copy link

I was trying to build the current master branch as per https://github.com/cloudtools/ssh-cert-authority/blob/master/BUILDING.rst.

After executing ...

docker run \
    -v `pwd`:/build/ssh-cert-authority/go/src/github.com/cloudtools/ssh-cert-authority \
    -t cloudtools/ssh-cert-authority-buildenv \
    bash build.sh

... the build process fails with the following error message after a few minutes:

package github.com/cpuguy83/go-md2man/v2/md2man: cannot find package "github.com/cpuguy83/go-md2man/v2/md2man" in any of:
	/build/go-build/go/src/github.com/cpuguy83/go-md2man/v2/md2man (from $GOROOT)
	/build/ssh-cert-authority/go/src/github.com/cpuguy83/go-md2man/v2/md2man (from $GOPATH)
../../codegangsta/cli/docs.go:11:2: cannot find package "github.com/cpuguy83/go-md2man/v2/md2man" in any of:
	/build/go-build/go/src/github.com/cpuguy83/go-md2man/v2/md2man (from $GOROOT)
	/build/ssh-cert-authority/go/src/github.com/cpuguy83/go-md2man/v2/md2man (from $GOPATH)
Makefile:54: recipe for target 'test' failed
make: *** [test] Error 1

It seems like v2 of go-md2man was finally released and is not available as a separate branch anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant