-
Notifications
You must be signed in to change notification settings - Fork 30
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
Investigate alternatives to use of nightly features (and other Gentoo build issues) #397
Comments
We've worked around the first issue via It's been suggested that the use of Meson build will enable rustls-ffi to build the tests without clobbering the release crates, addressing the second issue. |
I'm hoping that if you can avoid the I'm successfully building the .so with a WIP Nix flake using cargo-c & stable rust with that branch. I'm 0% familiar with Gentoo but Nix's build environment is also fairly picky so I hope the success translates. |
Going to leave this open until it's confirmed that #398's updated form works for you folks. |
Thanks! It's looking good now. |
I suspect that the test phase changing compile phase output is still an issue. Will check. |
Great, thank you! I'll close this out.
My understanding of
We're not (at least presently) using cargo-c to do anything fancy with tests. If this step is causing you issues, I suspect running In any case, if there's still trouble I think a second issue focused on that problem with as much detail as you can provide would be helpful. Thanks! |
Gentoo has some requirements for building packages that are causing issues with my attempt to update our package to 0.12.1.
Gentoo users compile software locally, and our package manager will use the installed Rust to build this package.
As per #345 this fails when using
cbindgen
unless you use a nightly comipler or disable stability guarantees, but maybe we don't need to runcbindgen
for release builds?src_compile
phaseIf we attempt to work around this with
RUSTC_BOOTSTRAP=1
, I see compilation whencargo cinstall
is run if thesrc_test
phase has been called (i.e. ifcargo ctest
has been run betweencargo cbuild
andcargo cinstall
)We don't allow this in Gentoo - compilation should happen in the appropriate
src_compile
phase.Current state of the Gentoo Ebuild:
pinging @thesamesam as the actual Gentoo package maintainer, I just touched some curl-y stuff related to rustls detection and realised that cURL 8.7.1 needs rustls >=0.12.0 :)
The text was updated successfully, but these errors were encountered: