Skip to content
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

Bindgen 0.32.3 compile failure #19

Closed
GregBowyer opened this issue Mar 12, 2018 · 1 comment
Closed

Bindgen 0.32.3 compile failure #19

GregBowyer opened this issue Mar 12, 2018 · 1 comment

Comments

@GregBowyer
Copy link
Contributor

I am not sure where this is hiding, but we might need to add host-target.txt into the sandbox somehow?

greg@gregslaptop ~/that-thing/third_party/rust $ bazel build '//third_party/rust:xbindgen'
INFO: Analysed target //third_party/rust:xbindgen (1 packages loaded).
INFO: Found 1 target...
ERROR: /home/greg/.cache/bazel/_bazel_greg/67d8da3589d026fae94b8bebe7cc20ac/external/raze__bindgen__0_32_3/BUILD.bazel:55:1: error executing shell command: 'set -e; rm -rf bazel-out/k8-fastbuild/bin/external/raze__bindgen__0_32_3/bindgen.deps; mkdir bazel-out/k8-fastbuild/bin/external/raze__bindgen__0_32_3/bindgen.deps
 ln -sf ../../raze__cexpr__0_2_3/...' failed (Exit 101)
error: couldn't read /home/greg/.cache/bazel/_bazel_greg/67d8da3589d026fae94b8bebe7cc20ac/bazel-sandbox/5232548725936954145/execroot/io_biasedunit/out_dir/host-target.txt: No such file or directory (os error 2)
   --> external/raze__bindgen__0_32_3/src/ir/context.rs:526:9
    |
526 |         include_str!(concat!(env!("OUT_DIR"), "/host-target.txt"));
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

Target @raze__bindgen__0_32_3//:cargo_bin_bindgen failed to build
Use --verbose_failures to see the command lines of failed build steps.
@GregBowyer
Copy link
Contributor Author

Should just use the right options when making the Cargo.toml

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

1 participant