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

can't build dovi_meta on macOS #1

Closed
RaphFLC opened this issue Nov 16, 2022 · 3 comments
Closed

can't build dovi_meta on macOS #1

RaphFLC opened this issue Nov 16, 2022 · 3 comments

Comments

@RaphFLC
Copy link

RaphFLC commented Nov 16, 2022

Hello there,

I'm having some difficulties to build dovi_meta on macOS.

error: failed to run custom build command for dovi_meta v0.1.0 (/Users/rt/dovi_meta-master)

Caused by:
process didn't exit successfully: /Users/rt/dovi_meta-master/debug/build/dovi_meta-017700cb314f61ba/build-script-build (exit status: 101)
--- stderr
thread 'main' panicked at 'called Result::unwrap() on an Err value: could not find repository from '/Users/rt/dovi_meta-master'; class=Repository (6); code=NotFound (-3)', build.rs:10:20
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Any ideas?

Thanks!

@RaphFLC
Copy link
Author

RaphFLC commented Nov 16, 2022

I have tried this too:

Cargo Build

SDKROOT=$(xcrun -sdk macosx --show-sdk-path) cargo build --target=x86_64-apple-darwin --release
SDKROOT=$(xcrun -sdk macosx --show-sdk-path) cargo build --target=aarch64-apple-darwin --release
But still not working.

error: failed to run custom build command for dovi_meta v0.1.0 (/Users/rt/dovi_meta-master)

Caused by:
process didn't exit successfully: /Users/rt/dovi_meta-master/target/release/build/dovi_meta-b9bfdb8dbe82877c/build-script-build (exit status: 101)
--- stderr
thread 'main' panicked at 'called Result::unwrap() on an Err value: could not find repository from '/Users/rt/dovi_meta-master'; class=Repository (6); code=NotFound (-3)', build.rs:10:20
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

@saindriches
Copy link
Owner

Hi, the build requires that a Git repository is present in the directory, so build with source code zip doesn’t work, I will fix that later. You can clone the repository with Git and it should work.

@RaphFLC
Copy link
Author

RaphFLC commented Nov 16, 2022

Oh, alright!
Thank You!

@RaphFLC RaphFLC closed this as completed Nov 16, 2022
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

2 participants