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-fuzz-build: set GO111MODULE=off while building #237

Merged
merged 1 commit into from
May 3, 2019

Conversation

josharian
Copy link
Collaborator

Updates #195
Updates google/oss-fuzz/pull#2188

I'm genuinely unsure what other consequences this change might have. But since our module support is busted anyway, I suspect that this will at least make things no worse, and may fix some builds.

Updates dvyukov#195
Updates google/oss-fuzz/pull#2188
@josharian
Copy link
Collaborator Author

I wonder whether we also need GO111MODULE=off during our calls to go list. Ugh.

@liamsi
Copy link

liamsi commented May 2, 2019

Wouldn't it be better pass the systems environment vars?

Then one could run the command(s) with GO111MODULE=off go-fuzz-build packageXYZ

@liamsi
Copy link

liamsi commented May 2, 2019

Actually, you can already do that as the existing code appends to the systems environment. NVM.

@dvyukov dvyukov merged commit 9a598bb into dvyukov:master May 3, 2019
@thepudds
Copy link
Collaborator

thepudds commented May 3, 2019

I wonder whether we also need GO111MODULE=off during our calls to go list. Ugh.

FWIW, I suspect the current fix is not quite right. GO111MODULE=off would likely need to be set for any calls to go list, and x/tools/go/packages (which is partially built on top of go list), and possibly other go command invocations. Safest thing to do is probably to set it more broadly?

josharian added a commit to josharian/go-fuzz that referenced this pull request May 3, 2019
This is a follow-up to dvyukov#237.

Updates dvyukov#195
Updates google/oss-fuzz/pull#2188
dvyukov pushed a commit that referenced this pull request May 4, 2019
This is a follow-up to #237.

Updates #195
Updates google/oss-fuzz/pull#2188
bradleyjkemp pushed a commit to bradleyjkemp/simple-fuzz that referenced this pull request Oct 23, 2019
This is a follow-up to dvyukov#237.

Updates dvyukov#195
Updates google/oss-fuzz/pull#2188
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

Successfully merging this pull request may close these issues.

4 participants