Skip to content

RBE Failures related to protobuf, abseil-cpp, and #include <filesystem> #3084

@dougthor42

Description

@dougthor42

RBE failures

🐞 bug report

Affected Rule

N/A

Is this a regression?

Hard to track down - recent RBE CI jobs in PRs have failed. The latest commit to main (#3021) also failed but I can't think of any way those changes would break RBE...

Description

RBE CI jobs are failing; multiple instances across mostly independent PRs:

The common theme across PRs is that they're all related to the Gazelle plugin.

However, other Gazelle PRs made it through just fine:

🔬 Minimal Reproduction

N/A

🔥 Exception or Error

Buildkite logs can't show everything - you have to download the log file. Here's an excerpt:

bk;t=1752373435607^G(02:23:55) ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/ec321eb2cc2d0f8f91b676b6d4c66c29/external/protobuf~/src/google/protobuf/compiler/java/lite/BUILD.bazel:1:11: Compiling src/google/protobuf/compiler/java/lite/make_field_gens.cc [for tool] failed: (Exit 1): gcc failed: error executing CppCompile command (from target
 @@protobuf~//src/google/protobuf/compiler/java/lite:field_generators) 
bk;t=1752373435607^G  (cd /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/ec321eb2cc2d0f8f91b676b6d4c66c29/execroot/_main && \
bk;t=1752373435607^G  exec env - \
bk;t=1752373435607^G    PATH=/bin:/usr/bin:/usr/local/bin \
bk;t=1752373435607^G    PWD=/proc/self/cwd \
bk;t=1752373435607^G  /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++17' -MD -MF bazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/compiler/java/lite/_objs/field_generators/make_fie
ld_gens.d '-frandom-seed=bazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/compiler/java/lite/_objs/field_generators/make_field_gens.o' -iquote external/protobuf~ -iquote bazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~ -iquote external/abseil-cpp~ -iquote bazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/abseil-cpp~ -iquote external/
zlib~ -iquote bazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/zlib~ -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/compiler/java/lite/_virtual_includes/field_generators -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/_virtual_includes/protobuf -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~
/src/google/protobuf/_virtual_includes/internal_visibility -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/_virtual_includes/port -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/_virtual_includes/protobuf_lite -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/_virtual_includes
/arena -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/_virtual_includes/arena_align -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/stubs/_virtual_includes/lite -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/_virtual_includes/arena_allocation_policy -Ibazel-out/k8-opt-exec
-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/_virtual_includes/arena_cleanup -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/_virtual_includes/string_block -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/_virtual_includes/endian -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src
/google/protobuf/_virtual_includes/varint_shuffle -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/io/_virtual_includes/io -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/io/_virtual_includes/io_win32 -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/third_party/utf8_range/_virtual_includes/utf8_v
alidity -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/third_party/utf8_range/_virtual_includes/utf8_range -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/io/_virtual_includes/gzip_stream -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/stubs/_virtual_includes/stubs -Ibazel-out/k8-opt-exec-ST-1
50d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/io/_virtual_includes/printer -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/io/_virtual_includes/zero_copy_sink -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/io/_virtual_includes/tokenizer -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/
src/google/protobuf/compiler/java/_virtual_includes/generator_common -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/compiler/java/_virtual_includes/helpers -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/compiler/_virtual_includes/code_generator -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/
src/google/protobuf/compiler/_virtual_includes/code_generator_lite -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/compiler/_virtual_includes/retention -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/compiler/_virtual_includes/versions -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/
protobuf/compiler/java/_virtual_includes/internal_helpers -Ibazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/compiler/java/_virtual_includes/java_features_bootstrap -isystem external/zlib~/zlib/include -isystem bazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/zlib~/zlib/include -g0 -g0 -c external/protobuf~/src/google/protobuf/compiler/java/lit
e/make_field_gens.cc -o bazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/compiler/java/lite/_objs/field_generators/make_field_gens.o -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"')
bk;t=1752373435607^G# Configuration: b9113c5f6273d63b11251bd220fa9e82b592016cf064716f09cbcb27749c2db2
bk;t=1752373435607^G# Execution platform: @@_main~internal_dev_deps~buildkite_config//config:platform
bk;t=1752373435607^GIn file included from external/abseil-cpp~/absl/hash/hash.h:85:0,
bk;t=1752373435607^G                 from external/abseil-cpp~/absl/container/internal/hash_function_defaults.h:55,
bk;t=1752373435607^G                 from external/abseil-cpp~/absl/container/flat_hash_map.h:41,
bk;t=1752373435607^G                 from bazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/compiler/java/_virtual_includes/helpers/google/protobuf/compiler/java/context.h:14,
bk;t=1752373435607^G                 from bazel-out/k8-opt-exec-ST-150d2d5f4ddd/bin/external/protobuf~/src/google/protobuf/compiler/java/lite/_virtual_includes/field_generators/google/protobuf/compiler/java/lite/make_field_gens.h:14,
bk;t=1752373435607^G                 from external/protobuf~/src/google/protobuf/compiler/java/lite/make_field_gens.cc:12:
bk;t=1752373435607^Gexternal/abseil-cpp~/absl/hash/internal/hash.h:66:10: fatal error: filesystem: No such file or directory
bk;t=1752373435607^G #include <filesystem>  // NOLINT
bk;t=1752373435607^G          ^~~~~~~~~~~~
bk;t=1752373435607^Gcompilation terminated.

🌍 Your Environment

Operating System:

N/A

Output of bazel version:

N/A

Rules_python version:

N/A

Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy