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] Bazel compilation fails with "gcc failed : error executing CppCompile command" #6811

Open
sgowroji opened this issue Sep 28, 2024 · 1 comment
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: IntelliJ IntelliJ plugin topic: bazel Bazel integration (external repositories, aspects, flags, etc) type: bug

Comments

@sgowroji
Copy link
Member

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4156#019236d0-b5af-42d3-a0c5-5855e24822f9

Platform: Ubuntu

Logs:

ERROR: �[0m/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/d482ca816c4aff7186650e0e5ac8ac81/external/abseil-cpp+/absl/hash/BUILD.bazel:35:11: Compiling absl/hash/internal/hash.cc [for tool] failed: (Exit 1): gcc failed: error executing CppCompile command (from target @@abseil-cpp+//absl/hash:hash) 
error: filesystem: No such file or directory
ERROR: �[0m/var/lib/buildkite-agent/builds/bk-docker-ms75/bazel-org-repo-root/intellij/proto/BUILD:85:14 Building proto/libartifact_tracker_data_proto-speed.jar (1 source jar) failed: (Exit 1): gcc failed: error executing CppCompile command (from target @@abseil-cpp+//absl/hash:hash) 
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/intellij
git reset d1bd4a8d65d0aa493f02b013a6da36336b313ddd  --hard
export USE_BAZEL_VERSION=dfba96d081091e1e17c4f2b9970e8f79fca1dce6
bazel build  --define=ij_product=android-studio-latest -- //aswb//.... 

CC Greenteam @mai93

@sgowroji sgowroji added type: bug product: IntelliJ IntelliJ plugin topic: bazel Bazel integration (external repositories, aspects, flags, etc) awaiting-maintainer Awaiting review from Bazel team on issues labels Sep 28, 2024
@sgowroji sgowroji assigned mai93 and unassigned sgowroji, iancha1992 and satyanandak Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: IntelliJ IntelliJ plugin topic: bazel Bazel integration (external repositories, aspects, flags, etc) type: bug
Projects
None yet
Development

No branches or pull requests

4 participants