Skip to content

Error while running refresh_all #242

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

Open
akalsi87 opened this issue Feb 21, 2025 · 1 comment
Open

Error while running refresh_all #242

akalsi87 opened this issue Feb 21, 2025 · 1 comment

Comments

@akalsi87
Copy link

akalsi87 commented Feb 21, 2025

  File "<snip>/.pixi/envs/default/share/bazel/b26298d3d2cb16163244faa5fa9349eb/execroot/_main/bazel-out/k8-fastbuild/bin/external/hedron_compile_commands~/refresh_all.runfiles/hedron_compile_commands~/refresh_all.py", line 626, 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/rules_cc~~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', '-g', '-std=c++17', '-MD', '-MF', 'bazel-out/k8-dbg/bin/external/boost.json~/_objs/boost.json/json.h.d', '-iquote', 'external/boost.json~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.json~', '-iquote', 'external/boost.align~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.align~', '-iquote', 'external/boost.assert~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.assert~', '-iquote', 'external/boost.config~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.config~', '-iquote', 'external/boost.core~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.core~', '-iquote', 'external/boost.static_assert~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.static_assert~', '-iquote', 'external/boost.throw_exception~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.throw_exception~', '-iquote', 'external/boost.container~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.container~', '-iquote', 'external/boost.intrusive~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.intrusive~', '-iquote', 'external/boost.container_hash~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.container_hash~', '-iquote', 'external/boost.describe~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.describe~', '-iquote', 'external/boost.mp11~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.mp11~', '-iquote', 'external/boost.type_traits~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.type_traits~', '-iquote', 'external/boost.move~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.move~', '-iquote', 'external/boost.system~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.system~', '-iquote', 'external/boost.variant2~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.variant2~', '-iquote', 'external/boost.winapi~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.winapi~', '-iquote', 'external/boost.predef~', '-iquote', 'bazel-out/k8-dbg/bin/external/boost.predef~', '-isystem', 'external/boost.json~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.json~/include', '-isystem', 'external/boost.align~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.align~/include', '-isystem', 'external/boost.assert~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.assert~/include', '-isystem', 'external/boost.config~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.config~/include', '-isystem', 'external/boost.core~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.core~/include', '-isystem', 'external/boost.static_assert~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.static_assert~/include', '-isystem', 'external/boost.throw_exception~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.throw_exception~/include', '-isystem', 'external/boost.container~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.container~/include', '-isystem', 'external/boost.intrusive~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.intrusive~/include', '-isystem', 'external/boost.container_hash~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.container_hash~/include', '-isystem', 'external/boost.describe~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.describe~/include', '-isystem', 'external/boost.mp11~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.mp11~/include', '-isystem', 'external/boost.type_traits~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.type_traits~/include', '-isystem', 'external/boost.move~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.move~/include', '-isystem', 'external/boost.system~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.system~/include', '-isystem', 'external/boost.variant2~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.variant2~/include', '-isystem', 'external/boost.winapi~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.winapi~/include', '-isystem', 'external/boost.predef~/include', '-isystem', 'bazel-out/k8-dbg/bin/external/boost.predef~/include', '-std=gnu++17', '-Wall', '-Wextra', '-Wpedantic', '-Werror', '-Wunused-parameter', '-Wunused-function', '-Wunused-variable', '-Wsign-compare', '-Wimplicit-fallthrough', '-Wcast-qual', '-Wcast-function-type', '-Wcast-align', '-Wformat-nonliteral', '-Wformat-security', '-Wformat', '-Wodr', '-Wpointer-arith', '-Wstrict-aliasing', '-Wswitch', '-Wsizeof-pointer-memaccess', '-Wstrict-overflow', '-ggdb', '-fsanitize=address', '-fsanitize=leak', '-fsanitize=undefined', '-fno-sanitize=vptr', '-fno-omit-frame-pointer', '-fprofile-arcs', '-ftest-coverage', '-I/proc/self/cwd/.pixi/envs/default/lib/gcc/x86_64-conda-linux-gnu/14.2.0/include', '-Wno-error', '-c', 'external/boost.json~/include/boost/json.hpp', '-o', 'bazel-out/k8-dbg/bin/external/boost.json~/_objs/boost.json/json.h.processed', '-Wno-builtin-macro-redefined', '-D__DATE__="redacted"', '-D__TIMESTAMP__="redacted"', '-D__TIME__="redacted"'].
Please file an issue with this information!
@johanzwarteveld
Copy link

i have a equivalent issue, when executing bazel run :refresh_compile_commands.

#241 let me to the following solution / workaround: #219

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

2 participants