You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/06/10 04:13:59 UTC

[GitHub] [arrow-datafusion] viirya opened a new issue #531: `cargo build` cannot build the project

viirya opened a new issue #531:
URL: https://github.com/apache/arrow-datafusion/issues/531


   **Describe the bug**
   Cannot build the project from a clean checkout.
   
   **To Reproduce**
   
   1. git clone the project
   2. cargo build
   
   Then the error:
   
   ```
      ...
      Compiling serde_urlencoded v0.7.0
      Compiling h2 v0.3.3
      Compiling tower v0.4.7
      Compiling csv v1.1.6
   error: failed to run custom build command for `etcd-client v0.6.3`
   
   Caused by:
     process didn't exit successfully: `/projects/arrow-datafusion/target/debug/build/etcd-client-a91f6504da36f75f/build-script-build` (exit code: 1)
     --- stdout
     cargo:rerun-if-changed=proto
   warning: build failed, waiting for other jobs to finish...
   error: build failed
   ```
   
   **Expected behavior**
   
   `cargo build` should build the project according to the development document.
   
   **Additional context**
   MacOS 11.3
   
   rustc 1.51.0
   cargo 1.51.0
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] viirya commented on issue #531: `cargo build` cannot build the project

Posted by GitBox <gi...@apache.org>.
viirya commented on issue #531:
URL: https://github.com/apache/arrow-datafusion/issues/531#issuecomment-859727700






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] alamb commented on issue #531: `cargo build` cannot build the project

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #531:
URL: https://github.com/apache/arrow-datafusion/issues/531#issuecomment-859119026


   🤔 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] viirya edited a comment on issue #531: `cargo build` cannot build the project

Posted by GitBox <gi...@apache.org>.
viirya edited a comment on issue #531:
URL: https://github.com/apache/arrow-datafusion/issues/531#issuecomment-860279492


   I uninstalled stable toolchain and install nightly toolchain using `rustup`. And it can build the project.
   
   Still don't know what the issue here because no descriptive error (tried verbose, etc.) can be found. But at least I can play with this project now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] viirya closed issue #531: `cargo build` cannot build the project

Posted by GitBox <gi...@apache.org>.
viirya closed issue #531:
URL: https://github.com/apache/arrow-datafusion/issues/531


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] edrevo commented on issue #531: `cargo build` cannot build the project

Posted by GitBox <gi...@apache.org>.
edrevo commented on issue #531:
URL: https://github.com/apache/arrow-datafusion/issues/531#issuecomment-859450733


   Do you have the required libs installed? See https://github.com/apache/arrow-datafusion/blob/master/ballista/docs/dev-env.md
   
   TL;DR
   
   ```
   sudo apt-get install -y pkg-config libssl-dev cmake
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] viirya commented on issue #531: `cargo build` cannot build the project

Posted by GitBox <gi...@apache.org>.
viirya commented on issue #531:
URL: https://github.com/apache/arrow-datafusion/issues/531#issuecomment-859116102


   Oh, thanks for asking. I have `protobuf` installed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] viirya edited a comment on issue #531: `cargo build` cannot build the project

Posted by GitBox <gi...@apache.org>.
viirya edited a comment on issue #531:
URL: https://github.com/apache/arrow-datafusion/issues/531#issuecomment-859084692


   Reinstalled rust using rustup. Still see:
   
   ```
      ...
      Compiling arrow-flight v4.2.0
      Compiling ballista-core v0.5.0-SNAPSHOT (/projects/arrow-datafusion/ballista/rust/core)
      Compiling etcd-client v0.6.3
   error: failed to run custom build command for `ballista-core v0.5.0-SNAPSHOT (/projects/arrow-datafusion/ballista/rust/core)`
   
   Caused by:
     process didn't exit successfully: `/projects/arrow-datafusion/target/debug/build/ballista-core-9ab32c5dcad9ff02/build-script-build` (exit code: 1)
     --- stdout
     cargo:rerun-if-env-changed=FORCE_REBUILD
     cargo:rerun-if-changed=proto/ballista.proto
   warning: build failed, waiting for other jobs to finish...
   error: build failed
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] viirya commented on issue #531: `cargo build` cannot build the project

Posted by GitBox <gi...@apache.org>.
viirya commented on issue #531:
URL: https://github.com/apache/arrow-datafusion/issues/531#issuecomment-859084692


   Reinstalled rust using rustup. Still see:
   
   ```
      ...
      Compiling arrow-flight v4.2.0
      Compiling ballista-core v0.5.0-SNAPSHOT (/Users/viirya/repos/arrow-datafusion/ballista/rust/core)
      Compiling etcd-client v0.6.3
   error: failed to run custom build command for `ballista-core v0.5.0-SNAPSHOT (/Users/viirya/repos/arrow-datafusion/ballista/rust/core)`
   
   Caused by:
     process didn't exit successfully: `/projects/arrow-datafusion/target/debug/build/ballista-core-9ab32c5dcad9ff02/build-script-build` (exit code: 1)
     --- stdout
     cargo:rerun-if-env-changed=FORCE_REBUILD
     cargo:rerun-if-changed=proto/ballista.proto
   warning: build failed, waiting for other jobs to finish...
   error: build failed
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-datafusion] alamb commented on issue #531: `cargo build` cannot build the project

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #531:
URL: https://github.com/apache/arrow-datafusion/issues/531#issuecomment-859112506


   There is a custom build script in ballista
   https://github.com/apache/arrow-datafusion/blob/master/ballista/rust/core/build.rs
   
   I wonder if this is related to needing `protobuf` installed?
   
   @andygrove any thoughts?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org