Skip to content

go get error #261

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

Closed
KMACEL opened this issue Jun 28, 2019 · 3 comments
Closed

go get error #261

KMACEL opened this issue Jun 28, 2019 · 3 comments
Assignees

Comments

@KMACEL
Copy link

KMACEL commented Jun 28, 2019

Bug Report

Environment

  • CLI version : arduino-cli Version: 0.3.7-alpha.preview Commit: BuildDate: 2019-06-28 06:44:10.27600698 +0000 UTC
  • Go version (if building from sources): go version go1.12.5 linux/amd64
  • OS version : Ubuntu 16.04.6 LTS

Expected behavior

"go get -u github.com/arduino/arduino-cli" error
if "GO111MODULE = on" gets the following error.

# github.com/cpuguy83/go-md2man/md2man
go/pkg/mod/github.com/cpuguy83/[email protected]/md2man/md2man.go:11:16: undefined: blackfriday.EXTENSION_NO_INTRA_EMPHASIS
go/pkg/mod/github.com/cpuguy83/[email protected]/md2man/md2man.go:12:16: undefined: blackfriday.EXTENSION_TABLES
go/pkg/mod/github.com/cpuguy83/[email protected]/md2man/md2man.go:13:16: undefined: blackfriday.EXTENSION_FENCED_CODE
go/pkg/mod/github.com/cpuguy83/[email protected]/md2man/md2man.go:14:16: undefined: blackfriday.EXTENSION_AUTOLINK
go/pkg/mod/github.com/cpuguy83/[email protected]/md2man/md2man.go:15:16: undefined: blackfriday.EXTENSION_SPACE_HEADERS
go/pkg/mod/github.com/cpuguy83/[email protected]/md2man/md2man.go:16:16: undefined: blackfriday.EXTENSION_FOOTNOTES
go/pkg/mod/github.com/cpuguy83/[email protected]/md2man/md2man.go:17:16: undefined: blackfriday.EXTENSION_TITLEBLOCK
go/pkg/mod/github.com/cpuguy83/[email protected]/md2man/md2man.go:19:29: too many arguments to conversion to blackfriday.Markdown: blackfriday.Markdown(doc, renderer, extensions)
go/pkg/mod/github.com/cpuguy83/[email protected]/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)
go/pkg/mod/github.com/cpuguy83/[email protected]/md2man/roff.go:102:11: undefined: blackfriday.LIST_TYPE_ORDERED
go/pkg/mod/github.com/cpuguy83/[email protected]/md2man/roff.go:102:11: too many errors
@masci masci added the kind/bug label Jul 17, 2019
@masci
Copy link
Contributor

masci commented Jul 17, 2019

Hi @KMACEL
the problem is upstream, I think you might have this same issue as golang/go#32495 where you might have accidentally go get the wrong version of https://github.com/russross/blackfriday.

I've opened #284 to consolidate the mod state but at glance it won't help you if you have blackfriday v2 installed. Can you try again from a clean state and let us know if things are different with these new info?

@masci masci self-assigned this Jul 17, 2019
@masci
Copy link
Contributor

masci commented Jul 24, 2019

I'm closing since this seems to work now, feel free to reopen if you still have the issue

@masci masci closed this as completed Jul 24, 2019
@rogercoll
Copy link

There's a problem with [email protected]/md2man library. I have also found this in different projects, hope is solved soon.

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

3 participants