Skip to content

Warning: "Output file not detected in arguments" for 'googletest' bazel_dep (BCR) and --platforms=@emsdk//:platform_wasm #269

@nick-dodonov

Description

@nick-dodonov

Running bazel run @hedron_compile_commands//:refresh_all -- --platforms=@emsdk//:platform_wasm suggested to create issue in following warning:

>>> Please file an issue containing the following: Output file not detected in arguments ['external/emsdk++emscripten_deps+emscripten_bin_mac_arm64/bin/clang', '-target', 'wasm32-unknown-emscripten', '-fignore-exceptions', '-mllvm', '-combiner-global-alias-analysis=false', '-mllvm', '-enable-emscripten-sjlj', '-mllvm', '-disable-lsr', '--sysroot=/private/var/tmp/_bazel_rix/1b4150e0bd5fb01fec2f73043048bd2e/external/emsdk++emscripten_deps+emscripten_bin_mac_arm64/emscripten/cache/sysroot', '-D__EMSCRIPTEN_SHARED_MEMORY__=1', '-DEMSCRIPTEN', '--sysroot=external/emsdk++emscripten_deps+emscripten_bin_mac_arm64/emscripten/cache/sysroot', '-fdiagnostics-color', '-fno-exceptions', '-fno-strict-aliasing', '-funsigned-char', '-no-canonical-prefixes', '-std=gnu++17', '-nostdinc', '-nostdinc++', '-fno-omit-frame-pointer', '-g3', '-O0', '-Wall', '-iquote', 'external/googletest+', '-iquote', 'bazel-out/darwin_arm64-dbg-wasm/bin/external/googletest+', '-isystem', 'external/googletest+/googlemock', '-isystem', 'bazel-out/darwin_arm64-dbg-wasm/bin/external/googletest+/googlemock', '-isystem', 'external/googletest+/googlemock/include', '-isystem', 'bazel-out/darwin_arm64-dbg-wasm/bin/external/googletest+/googlemock/include', '-isystem', 'external/googletest+/googletest', '-isystem', 'bazel-out/darwin_arm64-dbg-wasm/bin/external/googletest+/googletest', '-isystem', 'external/googletest+/googletest/include', '-isystem', 'bazel-out/darwin_arm64-dbg-wasm/bin/external/googletest+/googletest/include', '-ffile-compilation-dir=.', '--std=c++20', '-pthread', '-iwithsysroot/include/c++/v1', '-iwithsysroot/include/compat', '-iwithsysroot/include', '-isystem', 'external/emsdk++emscripten_deps+emscripten_bin_mac_arm64/lib/clang/22/include', '-MD', '-MF', 'bazel-out/darwin_arm64-dbg-wasm/bin/external/googletest+/_objs/gtest/gmock-cardinalities.d', '-c', 'external/googletest+/googlemock/src/gmock-cardinalities.cc', '-obazel-out/darwin_arm64-dbg-wasm/bin/external/googletest+/_objs/gtest/gmock-cardinalities.o', '-Wno-builtin-macro-redefined', '-D__DATE__="redacted"', '-D__TIMESTAMP__="redacted"', '-D__TIME__="redacted"'].
    Not a big deal; things will work but will be a little slower.
    Thanks for your help!
    Continuing gracefully...

Looks like it doesn't detect argument '-obazel-out/darwin_arm64-dbg-wasm/bin/external/googletest+/_objs/gtest/gmock-cardinalities.o'.

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