-
Notifications
You must be signed in to change notification settings - Fork 336
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
cargo/rust, off-line and reproduceable builds #1537
Comments
From @remicollet
Same issue with RPM build (which are done offline, especially required for reproducible builds) |
From @osokin
Yeah, so I've created a separate port specifically for the Unit's OTel, devel/unit-otel. |
For your information RPM offline build with OTEL enabled is done using vendored cargo directory Solution 1/ build sources tarball with dependencies See https://git.remirepo.net/cgit/rpms/unit.git/tree/makedeps.sh 2/ add configuration to use vendored libraries See https://git.remirepo.net/cgit/rpms/unit.git/tree/unit.spec#n94 P.S. BTW, this is a workaround, proper way is to follow the Fedora Rust Packaging Guidelines, but this requires that all libraries are available in the repository. |
This looks good to me, thank you.
Another issue is related to
cargo
build procedure. FreeBSD usespoudriere(8)
package builder to build ports, and network connectivity is unavailable after thefetch
phase (phases are:fetch
->patch
->configure
->build
->install
, all havepre-
andpost-
targets). I do believe we may follow a similar tounit-java
module procedure for the case. I'm glad to hear your thoughts on that.Thank you in advance.
Originally posted by @osokin in #1527 (comment)
The text was updated successfully, but these errors were encountered: