datafusion-comet
datafusion-comet copied to clipboard
error: failed to determine package fingerprint for build script
Hello Team,
I am getting
cd native && RUSTFLAGS="-Ctarget-cpu=native" cargo build --release
error: failed to determine package fingerprint for build script for datafusion-comet-proto v0.2.0 (/Users/radhika.bajaj/Documents/datafusion-comet/native/proto)
An I/O error happened. Please make sure you can access the file.
By default, if your project contains a build script, cargo scans all files in
it to determine whether a rebuild is needed. If you don't expect to access the
file, specify `rerun-if-changed` in your build script.
See https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed for more information.
Caused by:
failed to determine the most recently modified file in /Users/radhika.bajaj/Documents/datafusion-comet/native/proto
Caused by:
failed to determine list of files in /Users/radhika.bajaj/Documents/datafusion-comet/native/proto
Caused by:
Could not read repository exclude
Caused by:
Permission denied (os error 13)
make: *** [release] Error 101
when I run make release PROFILES="-Pspark-3.4 -Pscala-2.13" while following the instructions to Install DataFusion Comet.
I already have rust installed.
@radhikabajaj123 What happens if you run the following command from the terminal?
ls -l /Users/radhika.bajaj/Documents/datafusion-comet/native/proto
The issues seems to be with permissions to files in that folder?
It outputs:
total 24 -rw-r--r-- 1 radhika.bajaj staff 1339 Aug 23 10:56 Cargo.toml -rw-r--r-- 1 radhika.bajaj staff 992 Aug 23 10:56 README.md -rw-r--r-- 1 radhika.bajaj staff 1343 Aug 23 10:56 build.rs drwxr-xr-x 4 radhika.bajaj staff 128 Aug 23 10:56 src