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

failed to run custom build command for `hopper-harness v1.0.0 #31

Open
rtczza opened this issue Dec 3, 2024 · 0 comments
Open

failed to run custom build command for `hopper-harness v1.0.0 #31

rtczza opened this issue Dec 3, 2024 · 0 comments

Comments

@rtczza
Copy link

rtczza commented Dec 3, 2024

通过build.rs编译出hopper后,

执行命令:

./hopper compile --header /include/example_test.h  --library /usr/lib64/libexample_test.so  --output output

报错如下:

warning: [email protected]: dir=Hopper/output, lib=example_test_fuzz

error: failed to run custom build command for `hopper-harness v1.0.0 (Hopper/hopper-harness)`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `Hopper/output/release/build/hopper-harness-e84283c1e2c3727f/build-script-build` (exit status: 101)
  --- stdout
  cargo:warning=dir=Hopper/output, lib=example_test_fuzz
  cargo:rustc-link-lib=dylib=example_test_fuzz
  cargo:rustc-link-arg=-Wl,-rpath,Hopper/output
  cargo:rustc-link-search=native=Hopper/output
  cargo:rustc-link-arg=-Wl,--allow-shlib-undefined
  cargo:rerun-if-changed=/include/example_test.h
warning: build failed, waiting for other jobs to finish...
error: failed to compile `hopper-harness v1.0.0 (Hopper/hopper-harness)`, intermediate artifacts can be found at `Hopper/output`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
15:31:49 [ERROR] Meets error: cargo install error
Error: cargo install error

请教大佬们,上述报错,应如何调整?

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