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

Build errors in ./dev/build-ballista-rust.sh #407

Closed
andygrove opened this issue Oct 19, 2022 · 2 comments
Closed

Build errors in ./dev/build-ballista-rust.sh #407

andygrove opened this issue Oct 19, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@andygrove
Copy link
Member

Describe the bug

./dev/build-ballista-rust.sh
   Compiling ballista-core v0.8.0 (/home/builder/workspace/ballista/core)
   Compiling ballista-scheduler v0.8.0 (/home/builder/workspace/ballista/scheduler)
   Compiling ballista-executor v0.8.0 (/home/builder/workspace/ballista/executor)
   Compiling etcd-client v0.9.2
   Compiling arrow v24.0.0
   Compiling parquet v24.0.0
   Compiling arrow-flight v24.0.0
   Compiling datafusion-common v13.0.0
   Compiling datafusion-expr v13.0.0
   Compiling datafusion-row v13.0.0
   Compiling datafusion-physical-expr v13.0.0
   Compiling datafusion-sql v13.0.0
   Compiling datafusion-optimizer v13.0.0
   Compiling datafusion v13.0.0
   Compiling datafusion-proto v13.0.0
   Compiling datafusion-cli v13.0.0
error[E0583]: file not found for module `datafusion`
  --> /usr/local/cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/datafusion-proto-13.0.0/src/generated/mod.rs:21:1
   |
21 | pub mod datafusion;
   | ^^^^^^^^^^^^^^^^^^^
   |
   = help: to create the module `datafusion`, create file "/usr/local/cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/datafusion-proto-13.0.0/src/generated/datafusion.rs" or "/usr/local/cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/datafusion-proto-13.0.0/src/generated/datafusion/mod.rs"

error[E0433]: failed to resolve: could not find `plan_type` in `protobuf`
  --> /usr/local/cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/datafusion-proto-13.0.0/src/from_proto.rs:18:22

To Reproduce

./dev/build-ballista-rust.sh

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@andygrove andygrove added the bug Something isn't working label Oct 19, 2022
@avantgardnerio
Copy link
Contributor

It seems like the codegen in build.rs is not being run, but I have no idea why that would be. Could this be related? rust-lang/cargo#4468

    println!("cargo:rerun-if-env-changed=FORCE_REBUILD");

it looks like you can set the FORCE_REBUILD env var as a work around

@andygrove
Copy link
Member Author

A ran cargo clean and this resolved the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants