-
-
Notifications
You must be signed in to change notification settings - Fork 579
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
Build failure for ppc64 #353
Comments
So, if I understood correctly it's an upstream problem related to ring, right? In this case, how could I help you? |
So, if I understood correctly it's an upstream problem related to ring, right? The only solution would be to manually downgrade ring in the lock file... did you try it? |
I've run a cargo update this morning, I'll check better later if a newer version came out |
Ring is not a direct dependency of sniffnet, as I understood. It is needed for |
Actually nope. |
Ok, Thanks for help. |
By the way, ring 0.16.20 is the latest version https://crates.io/crates/ring/versions So we are already up to date |
One more note: version 1.1.3 compiled successfully because it used If you place this line
in place of the current The rustls-tls feature was needed because of other issues with some Debian distros. |
Yes, it solves the problem (log). But I also want to check if sniffnet works on qemu ppc64 virt system. --- a/Cargo.toml
+++ b/Cargo.toml
@@ -44,9 +44,14 @@ maxminddb = "0.23.0"
confy = "0.5.1"
serde = { version = "1.0.183", default_features = false, features = ["derive"] }
rodio = { version = "0.17.1", default_features = false, features = ["mp3"] }
-reqwest = { version = "0.11.18", default-features = false, features = ["json", "blocking", "rustls-tls"] }
dns-lookup = "2.0.2"
+[target.'cfg(target_arch = "powerpc64")'.dependencies]
+reqwest = { version = "0.11.20", features = ["json", "blocking"] }
+
+[target.'cfg(not(target_arch = "powerpc64"))'.dependencies]
+reqwest = { version = "0.11.20", default-features = false, features = ["json", "blocking", "rustls-tls"] }
+ Will these changes be accepted by you, if I create a pull request? |
Yeah, looks good to me 👍 |
Ok, I will do a pull request as soon as check it on virt system. |
Disable rustls-tls features of reqwest dependency for ppc64 because of ruslts needs ring, which the latest stable version doesn't support this arch.
Disable rustls-tls features of reqwest dependency for ppc64 because of ruslts needs ring, which the latest stable version doesn't support this arch.
Disable rustls-tls features of reqwest dependency for ppc64 because of ruslts needs ring, which the latest stable version doesn't support this arch.
Is there an existing issue for this?
What's the problem?
Hello. I get an error while has tried to build sniffnet 1.2.2 for ppc64 using ALT Linux Sisyphus. See logs. It occurs due to ring which 0.16.2 version doesn't support this arch.
How did you install the app?
built locally by cloning the repository
Operating System
Linux
Additional context
Version 1.1.3 has been built for ppc64 successfully. Logs.
The text was updated successfully, but these errors were encountered: