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

Unable to build 0.7.2 for armv7 #378

Closed
ggardet opened this issue Apr 1, 2021 · 3 comments · Fixed by #381
Closed

Unable to build 0.7.2 for armv7 #378

ggardet opened this issue Apr 1, 2021 · 3 comments · Fixed by #381
Labels
bug Something isn't working

Comments

@ggardet
Copy link

ggardet commented Apr 1, 2021

0.6.0 builds fine for armv7, but I am unable to build 0.7.2 for armv7 due to:

[  179s] error: failed to run custom build command for `tss-esapi-sys v0.1.1`
[  179s] 
[  179s] Caused by:
[  179s]   process didn't exit successfully: `/home/abuild/rpmbuild/BUILD/parsec-0.7.2/target/release/build/tss-esapi-sys-2076e3c7eb1fcc79/build-script-build` (exit code: 101)
[  179s]   --- stderr
[  179s]   thread 'main' panicked at 'Compilation target (armv7-unknown-linux-gnueabihf) is not part of the supported targets (["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "armv7-unknown-linux-gnueabi", "arm-unknown-linux-gnueabi"]). Please compile with the "generate-bindings" feature or add support for your platform :)', /home/abuild/rpmbuild/BUILD/parsec-0.7.2/vendor/tss-esapi-sys/build.rs:34:13
@hug-dev hug-dev added the bug Something isn't working label Apr 1, 2021
@hug-dev
Copy link
Member

hug-dev commented Apr 1, 2021

Thanks for the report!
If you can modify features, you can compile adding the feature "tss-esapi/generate-bindings" to go over that bug.

@hug-dev
Copy link
Member

hug-dev commented Apr 6, 2021

Your immediate bug will be fixed with #381 (hopefully). It's a bit more tricky to add cross-compilation of the TPM provider as one needs to also cross-compile the TSS libraries. It will be looked at in #382.
The tss-esapi crate has its own cross-compilation tests in here.

@hug-dev
Copy link
Member

hug-dev commented Apr 8, 2021

That should be fixed in the latest main but feel free to say if not and we will re-open :)

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

Successfully merging a pull request may close this issue.

2 participants