Closed GMNGeoffrey closed 2 months ago
Too help you narrow your search, this is the line that I think is causing the crash: https://github.com/GMNGeoffrey/iree/blob/899447b3584fd40d2eed353e960e2c8e335c0dc9/build_tools/bazel/native_binary.bzl#L24-L27
Yes, the issue is that fetching from an unset string attribute gives the empty string, not None, so the crash is caused by ctx.actions.declare_file("")
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale.
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please post @bazelbuild/triage
in a comment here and we'll take a look. Thanks!
Description of the problem / feature request:
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
python[3] configure_bazel.py
bazel test //iree/compiler/Dialect/HAL/IR/test:all
What operating system are you running Bazel on?
Linux Debian
What's the output of
bazel info release
?release 4.2.2
What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?You should really stop assuming that this indicates someones git remote. Link to specific commit is above.
Have you found anything relevant by searching the web?
No
Any other information, logs, or outputs that you want to share?
I'm assuming there's something about how my rule is configured that is making Bazel upset. I think it's that the native_binary out is derived from name, but regardless it seems like an internal error -> bug
Stack trace: