You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing dependency declaration with path mapping #23681
I was testing this out with #23630 applied, I got pretty far but I hit this issue:
ERROR: AsyncRT/BUILD.bazel:138:23: Compiling AsyncRT/lib/Runtime/Globals/Globals.cpp failed: undeclared inclusion(s) in rule '//AsyncRT:RuntimeGlobals.static':
this rule is missing dependency declarations for the following files included by 'AsyncRT/lib/Runtime/Globals/Globals.cpp':
'bazel-out/cfg/bin/external/gperftools/tcmalloc/include/gperftools/tcmalloc.h'
Where the header here is from a rules_foreign_cc target:
A fix for this issue has been included in Bazel 7.4.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=7.4.0rc1. Thanks!
Activity
fmeum commentedon Sep 19, 2024
@keith I added integration test coverage for headers from an external repo, but everything works there. Could you try to build a reproducer for me?
keith commentedon Sep 19, 2024
Here's a repro, I didn't try to isolate more than using this rules_foreign_cc target
repro.zip
nikhilkalige commentedon Sep 24, 2024
This may be of help #21718 (comment)
Path map non-direct children of tree artifacts during header discovery
Path map non-direct children of tree artifacts during header discovery
[7.4.0] Path map non-direct children of tree artifacts during header …
iancha1992 commentedon Oct 11, 2024
A fix for this issue has been included in Bazel 7.4.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting
USE_BAZEL_VERSION=7.4.0rc1. Thanks![envoy] fix build failure due to bazel issue (#12895)
feat(whl_install): enable path mapping for remote cache deduplication (…