Skip to content

Several downstream projects broken by repository rule changes #15667

@c-parsons

Description

@c-parsons

Description of the bug:

3c07a34 seems to have broken a number of downstream projects. https://buildkite.com/bazel/bazel-auto-sheriff-face-with-cowboy-hat/builds/938

Example failure log:

ERROR: Traceback (most recent call last):
--
  | File "/var/lib/buildkite-agent/builds/bk-docker-l5tx/bazel-downstream-projects/protobuf/WORKSPACE", line 65, column 20, in <toplevel>
  | kotlin_repositories()
  | File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/22bc6feb06bf3d09950f383d42d078bc/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 repository name '': must start with a letter and contain only letters, digits, '.', '-', or '_'

Identified broken projects:

Protobuf
rules_go
rules_kotlin
rules_rust
rules_scala

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

No response

Which operating system are you running Bazel on?

No response

What is the output of bazel info release?

No response

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Assignees

Labels

P1I'll work on this now. (Assignee required)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions