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

Go get for build-lambda-zip failing on an internal dependency #231

Closed
Narendra-Kamath opened this issue Sep 10, 2019 · 2 comments
Closed

Comments

@Narendra-Kamath
Copy link
Contributor

Narendra-Kamath commented Sep 10, 2019

From sometime since today, we are failing to go get the build-lambda-zip.

Command used:
go get -u github.com/aws/aws-lambda-go/cmd/build-lambda-zip

Error:

go: finding github.com/aws/aws-lambda-go/cmd/build-lambda-zip latest
go: finding github.com/aws/aws-lambda-go/cmd latest
go: finding github.com/aws/aws-lambda-go v1.13.1
go: downloading github.com/aws/aws-lambda-go v1.13.1
go: extracting github.com/aws/aws-lambda-go v1.13.1
go: finding github.com/stretchr/testify v1.4.0
go: finding github.com/stretchr/objx v0.2.0
go: finding github.com/urfave/cli v1.22.0
go: finding gopkg.in/check.v1 latest
go: finding github.com/russross/blackfriday v2.0.0+incompatible
go: downloading github.com/urfave/cli v1.22.0
go: extracting github.com/urfave/cli v1.22.0
go: downloading github.com/russross/blackfriday v2.0.0+incompatible
go: extracting github.com/russross/blackfriday v2.0.0+incompatible
go: finding github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: extracting github.com/shurcooL/sanitized_anchor_name v1.0.0
# github.com/cpuguy83/go-md2man/md2man
..\..\pkg\mod\github.com\cpuguy83\go-md2man@v1.0.10\md2man\md2man.go:11:16: undefined: blackfriday.EXTENSION_NO_INTRA_EMPHASIS
..\..\pkg\mod\github.com\cpuguy83\go-md2man@v1.0.10\md2man\md2man.go:12:16: undefined: blackfriday.EXTENSION_TABLES
..\..\pkg\mod\github.com\cpuguy83\go-md2man@v1.0.10\md2man\md2man.go:13:16: undefined: blackfriday.EXTENSION_FENCED_CODE
..\..\pkg\mod\github.com\cpuguy83\go-md2man@v1.0.10\md2man\md2man.go:14:16: undefined: blackfriday.EXTENSION_AUTOLINK
..\..\pkg\mod\github.com\cpuguy83\go-md2man@v1.0.10\md2man\md2man.go:15:16: undefined: blackfriday.EXTENSION_SPACE_HEADERS
..\..\pkg\mod\github.com\cpuguy83\go-md2man@v1.0.10\md2man\md2man.go:16:16: undefined: blackfriday.EXTENSION_FOOTNOTES
..\..\pkg\mod\github.com\cpuguy83\go-md2man@v1.0.10\md2man\md2man.go:17:16: undefined: blackfriday.EXTENSION_TITLEBLOCK
..\..\pkg\mod\github.com\cpuguy83\go-md2man@v1.0.10\md2man\md2man.go:19:29: too many arguments to conversion to blackfriday.Markdown: blackfriday.Markdown(doc, renderer, extensions)
..\..\pkg\mod\github.com\cpuguy83\go-md2man@v1.0.10\md2man\roff.go:19:9: cannot use &roffRenderer literal (type *roffRenderer) as type blackfriday.Renderer in return argument:
        *roffRenderer does not implement blackfriday.Renderer (missing RenderFooter method)
..\..\pkg\mod\github.com\cpuguy83\go-md2man@v1.0.10\md2man\roff.go:102:11: undefined: blackfriday.LIST_TYPE_ORDERED
..\..\pkg\mod\github.com\cpuguy83\go-md2man@v1.0.10\md2man\roff.go:102:11: too many errors

@Narendra-Kamath Narendra-Kamath changed the title Go get for build-lambda-zip failing on an internal dependency (go-md2man/md2man) Go get for build-lambda-zip failing on an internal dependency Sep 10, 2019
@Narendra-Kamath
Copy link
Contributor Author

It is noticed that github.com/urfave/cli v1.22.0 is being downloaded.

Probable workaround as of now would be to add the following line at the end of go.mod file:

replace github.com/urfave/cli v1.22.0 => github.com/urfave/cli v1.21.0

@asahasrabuddhe
Copy link

This bug would be fixed with the release v1.22.1 of the cli library which should happen sometime today. You can then update our dependencies likewise.

Narendra-Kamath added a commit to Narendra-Kamath/aws-lambda-go that referenced this issue Sep 11, 2019
Narendra-Kamath added a commit to Narendra-Kamath/aws-lambda-go that referenced this issue Sep 12, 2019
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

2 participants