Open stefanbucur opened 2 years ago
Caused by https://github.com/bazelbuild/bazel/issues/15667, will need to wait for that to be resolved in a rules_kotlin release.
https://github.com/bazelbuild/bazel/issues/15667 seems to be fixed now? FWIW, rules_fuzzing still fails when running on the latest Bazel.
I would have to update the rules_kotlin pin. In the meantime, Jazzer has been heavily refactored and is now available as a prebuilt jar on Maven. I am planning to make use of this new architecture to simplify the way Jazzer is loaded and run by rules_fuzzing.
Came to same issue
bazelisk run --config=jazzer //:NativeFuzzTest_run
ERROR: Traceback (most recent call last):
File "/server/jazzer_test/fuzzing/WORKSPACE", line 55, column 12, in <toplevel>
jazzer_init()
File "/home/user/.cache/bazel/_bazel_user/ce25cb582fa08943403630574741128d/external/jazzer/init.bzl", line 26, column 24, in jazzer_init
kotlin_repositories()
File "/home/user/.cache/bazel/_bazel_user/ce25cb582fa08943403630574741128d/external/io_bazel_rules_kotlin/src/main/starlark/core/repositories/initialize.bzl", line 96, column 21, in kotlin_repositories
rules_repository(
Error in repository_rule: invalid user-provided repo name '': valid names may contain only A-Z, a-z, 0-9, '-', '_', '.', and must start with a letter
ERROR: Error computing the main repository mapping: error loading package 'external': Package 'external' contains errors
See for example https://github.com/bazelbuild/rules_fuzzing/actions/runs/2522403386:
Seems to be related to a Jazzer dependency on Kotlin. CC @fmeum for visibility.