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

Can't build with go-fuzz-build, import cycle not allowed #40

Closed
Thomasdezeeuw opened this issue Jul 18, 2015 · 3 comments
Closed

Can't build with go-fuzz-build, import cycle not allowed #40

Thomasdezeeuw opened this issue Jul 18, 2015 · 3 comments

Comments

@Thomasdezeeuw
Copy link
Contributor

I ran go-fuzz-build github.com/dvyukov/go-fuzz/examples/png, and I got this error:

failed to execute go build: exit status 1
import cycle not allowed
package go-fuzz-main
        imports github.com/dvyukov/go-fuzz/examples/png
        imports bytes
        imports github.com/dvyukov/go-fuzz/go-fuzz-dep
        imports time
        imports internal/syscall/windows/registry
        imports github.com/dvyukov/go-fuzz/go-fuzz-dep

I get the same error trying to run it on my own code. I'm running Windows 7 64bit, go compiled from source at commit aadd84e0c4ac2476644d0f60b4873867c9549306, just after 1.5 beta 2.

@Thomasdezeeuw
Copy link
Contributor Author

I've tried this on Ubuntu 14.04 64 bit (virtualized on win7 64bit with Virtual box) and it works. So it seems like a Windows specific issue.

@dvyukov
Copy link
Owner

dvyukov commented Jul 18, 2015

Hi,

6ac550c should fix the bug.
I don't have a windows machine at the moment. Please test whether it actually fixed the bug.

@Thomasdezeeuw
Copy link
Contributor Author

That fixed it, thank you.

rlmcpherson pushed a commit to rlmcpherson/go-fuzz that referenced this issue Jul 20, 2015
AlekSi pushed a commit to AlekSi/go-fuzz that referenced this issue Feb 6, 2018
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