Skip to content

publicsuffix: fix broken build - #16048

Open
xingyaner wants to merge 1 commit into
google:masterfrom
xingyaner:fix-publicsuffix
Open

xingyaner wants to merge 1 commit into
google:masterfrom
xingyaner:fix-publicsuffix

Conversation

@xingyaner

Copy link
Copy Markdown
Contributor

The fuzzing build failed because build.sh created a go.mod file and ran go mod tidy from the repository root. The repository root does not contain a Go package, so the generated module did not provide github.com/publicsuffix/list/tools. As a result, compile_native_go_fuzzer failed with:

no required module provides package github.com/publicsuffix/list/tools

The tools directory is the actual Go module containing the fuzz target.
Remove the root‑level go mod init and go mod tidy commands, change into the tools directory before resolving dependencies, and disable VCS metadata injection during the build.

@github-actions

Copy link
Copy Markdown

xingyaner is a new contributor to projects/publicsuffix-list. The PR must be approved by known contributors before it can be merged.

This branch has not been deployed

No deployments
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.

1 participant