Skip to content

Error while running bazel run @hedron_compile_commands//:refresh_all #241

@sibi-venti

Description

@sibi-venti
external/c-ares~/ares_process.c:166:2: error: #error "Neither EWOULDBLOCK nor EAGAIN defined" 166 | #error "Neither EWOULDBLOCK nor EAGAIN defined" | ^~~~~ external/c-ares~/ares_process.c:971:4: error: #error "no non-blocking method was found/used/set" 971 | # error "no non-blocking method was found/used/set" | ^~~~~ Traceback (most recent call last): File "/home/sibi/.cache/bazel/_bazel_sibi/ad5718c37fe6ee10ff4b89a44d2ee8eb/execroot/_main/bazel-out/k8-opt/bin/external/hedron_compile_commands~/refresh_all.runfiles/_main/../hedron_compile_commands~/refresh_all.check_python_version.py", line 16, in <module> refresh_all.main() File "/home/sibi/.cache/bazel/_bazel_sibi/ad5718c37fe6ee10ff4b89a44d2ee8eb/execroot/_main/bazel-out/k8-opt/bin/external/hedron_compile_commands~/refresh_all.runfiles/hedron_compile_commands~/refresh_all.py", line 1072, in main compile_command_entries.extend(_get_commands(target, flags)) File "/home/sibi/.cache/bazel/_bazel_sibi/ad5718c37fe6ee10ff4b89a44d2ee8eb/execroot/_main/bazel-out/k8-opt/bin/external/hedron_compile_commands~/refresh_all.runfiles/hedron_compile_commands~/refresh_all.py", line 933, in _get_commands yield from _convert_compile_commands(parsed_aquery_output) File "/home/sibi/.cache/bazel/_bazel_sibi/ad5718c37fe6ee10ff4b89a44d2ee8eb/execroot/_main/bazel-out/k8-opt/bin/external/hedron_compile_commands~/refresh_all.runfiles/hedron_compile_commands~/refresh_all.py", line 818, in _convert_compile_commands for source_files, header_files, compile_command_args in outputs: File "/home/sibi/.cache/bazel/_bazel_sibi/ad5718c37fe6ee10ff4b89a44d2ee8eb/external/rules_python~~python~python_3_11_x86_64-unknown-linux-gnu/lib/python3.11/concurrent/futures/_base.py", line 619, in result_iterator yield _result_or_cancel(fs.pop()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sibi/.cache/bazel/_bazel_sibi/ad5718c37fe6ee10ff4b89a44d2ee8eb/external/rules_python~~python~python_3_11_x86_64-unknown-linux-gnu/lib/python3.11/concurrent/futures/_base.py", line 317, in _result_or_cancel return fut.result(timeout) ^^^^^^^^^^^^^^^^^^^ File "/home/sibi/.cache/bazel/_bazel_sibi/ad5718c37fe6ee10ff4b89a44d2ee8eb/external/rules_python~~python~python_3_11_x86_64-unknown-linux-gnu/lib/python3.11/concurrent/futures/_base.py", line 449, in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File "/home/sibi/.cache/bazel/_bazel_sibi/ad5718c37fe6ee10ff4b89a44d2ee8eb/external/rules_python~~python~python_3_11_x86_64-unknown-linux-gnu/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result raise self._exception File "/home/sibi/.cache/bazel/_bazel_sibi/ad5718c37fe6ee10ff4b89a44d2ee8eb/external/rules_python~~python~python_3_11_x86_64-unknown-linux-gnu/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sibi/.cache/bazel/_bazel_sibi/ad5718c37fe6ee10ff4b89a44d2ee8eb/execroot/_main/bazel-out/k8-opt/bin/external/hedron_compile_commands~/refresh_all.runfiles/hedron_compile_commands~/refresh_all.py", line 785, in _get_cpp_command_for_files source_files, header_files = _get_files(compile_action) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sibi/.cache/bazel/_bazel_sibi/ad5718c37fe6ee10ff4b89a44d2ee8eb/execroot/_main/bazel-out/k8-opt/bin/external/hedron_compile_commands~/refresh_all.runfiles/hedron_compile_commands~/refresh_all.py", line 574, in _get_files assert source_file_candidates, f"No source files found in compile args: {compile_action.arguments}.\nPlease file an issue with this information!" ^^^^^^^^^^^^^^^^^^^^^^ AssertionError: No source files found in compile args: ['external/bazel_tools~cc_configure_extension~local_config_cc/cc_wrapper.sh', '-xc++-header', '-fsyntax-only', '-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++14', '-MD', '-MF', 'bazel-out/k8-opt/bin/external/abseil-cpp~/absl/container/_objs/flat_hash_map/flat_hash_map.h.d', '-iquote', 'external/abseil-cpp~', '-iquote', 'bazel-out/k8-opt/bin/external/abseil-cpp~', '-O3', '-fdiagnostics-color=always', '-DAV_PLATFORM_FINGERPRINT=eec19c6659c67cb12d54d8c2ce8dee54155e3130b5ec9518fb45446f70cd4757', '-std=c++20', '-Wall', '-Wextra', '-Wcast-qual', '-Wconversion-null', '-Wformat-security', '-Wmissing-declarations', '-Wnon-virtual-dtor', '-Woverlength-strings', '-Wpointer-arith', '-Wundef', '-Wunused-local-typedefs', '-Wunused-result', '-Wvarargs', '-Wvla', '-Wwrite-strings', '-DNOMINMAX', '-Wno-error', '-Wno-builtin-macro-redefined', '-D__DATE__="redacted"', '-D__TIMESTAMP__="redacted"', '-D__TIME__="redacted"', '-c', 'external/abseil-cpp~/absl/container/flat_hash_map.h', '-o', 'bazel-out/k8-opt/bin/external/abseil-cpp~/absl/container/_objs/flat_hash_map/flat_hash_map.h.processed']. Please file an issue with this information! 

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