-
Notifications
You must be signed in to change notification settings - Fork 279
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: dial tcp: lookup non.existent.com: no such host #235
Comments
Sorry, I had a So I was able to work around this by setting GOPATH and deleting the I guess this will be a problem once go-fuzz becomes a go module? |
I'm not sure I understood what went wrong here. But yes, go-fuzz needs module support on two fronts: Becoming a module itself and fuzzing modules. The latter is #195. The former is blocked on understanding how to find go-fuzz-dep and other support packages; see my comments at golang/go#30515 (comment). |
This might shed light: Lines 10 to 11 in 9cfa592
It's a test for vendoring support, and I guess go modules are just ignoring the vendor'd packages. |
Ah! Thanks, yes, that clears it up. For now, I'll update the readme to recommend 'go get' with just the two relevant packages. Much of this will probably need to be re-thought when module time is upon us, but I can at least fix the docs in the meantime. I'm not sure what to do about the impending module crisis that will hit when Go 1.13 is released... |
Make the 'go get' command more specific. Fixes dvyukov#235. Add a note about disabling modules during go-fuzz-build.
Make the 'go get' command more specific. Fixes #235. Add a note about disabling modules during go-fuzz-build.
Make the 'go get' command more specific. Fixes dvyukov#235. Add a note about disabling modules during go-fuzz-build.
Following the instruction in the README to do
go get -u github.com/dvyukov/go-fuzz/...
, I get errors:The underlying reason is that there is some test code which it tries to build which imports a non-existent package.
This could be avoided by moving all of the commands to a
/cmd/...
directory and updating the instruction togo get -u github.com/dvyukov/go-fuzz/cmd/...
, or alternatively doing something to the test package to prevent it from being imported in this way, perhaps?The text was updated successfully, but these errors were encountered: