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

[Bazel CI] Error: Remove unknown repo @fcgi from Bazel files #68

Open
sgowroji opened this issue Sep 17, 2024 · 0 comments
Open

[Bazel CI] Error: Remove unknown repo @fcgi from Bazel files #68

sgowroji opened this issue Sep 17, 2024 · 0 comments

Comments

@sgowroji
Copy link

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4128#0191f902-7ebc-4948-aac6-61efebd6b36d

Platform: Ubuntu

Logs:

ERROR: �[0mno such package '@@[unknown repo 'fcgi' requested from @@]//': The repository '@@[unknown repo 'fcgi' requested from @@]' could not be resolved: No repository visible as '@fcgi' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration.
ERROR: �[0m/var/lib/buildkite-agent/builds/bk-docker-j6js/bazel-org-repo-root/rules_perl/examples/cpan_remote/BUILD:19:10: no such package '@@[unknown repo 'fcgi' requested from @@]//': The repository '@@[unknown repo 'fcgi' requested from @@]' could not be resolved: No repository visible as '@fcgi' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration. and referenced by '//examples/cpan_remote:fcgi_import_test'
ERROR: �[0mAnalysis of target '//examples/cpan_remote:fcgi_import_test' failed; build aborted: Analysis failed
ERROR: �[0mBuild did NOT complete successfully
FAILED:�[0m 
FAILED:�[0m 
Error: The command exited with status 1�[0m
error: The plugin docker command hook exited with status 1

Culprit:

Steps:

git clone https://github.com/bazelbuild/rules_perl
git reset 9cbb859f744c8b885ea45f67d81289c5207c2f9b  --hard
export USE_BAZEL_VERSION=7b8d07253adf84d5e3d46ac915a1440e518fab3c
bazel test //... 

CC Greenteam @comius

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

No branches or pull requests

1 participant