-
Notifications
You must be signed in to change notification settings - Fork 368
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
TODO: Have a look at the patches from Debian #5058
Comments
https://salsa.debian.org/ocaml-team/opam/-/blob/master/debian/patches/0004-Use-HOME-env-variable-instead-of.patch should really not change anything since the functions called (e.g. I am guessing the "fix" might come from a lintian check that frowns upons strings like |
cc @glondu |
@mehdid did the patch... I don't have more explanation than what's written in the patch :-/ I will try to remove it in the next upload to see what happens. |
IIRC, it had to do with reproducible builds. Using ~ doesn't ensure the path is the same after each build. So I set HOME in https://salsa.debian.org/ocaml-team/opam/-/blob/master/debian/rules and use it in the code to ensure it remains always the same. |
I had a look at the patches again and noticed a new patch ported over from Fedora (https://src.fedoraproject.org/rpms/opam/c/b2a3f3e63c552c7fd7060da41c556f77a907d394?branch=rawhide) @jamesjer what is the reason for this patch? |
btw, small question for the Debian maintainers: is there a reason why opam on Debian Stable is stuck at 2.1.2 ? I'm currently releasing 2.1.6 but 2.1.2 is more than 2 years old |
When we introduced dune 3.11 into Fedora, opam started failing to build like this:
The patch avoids the build failure. I don't know why this didn't happen with dune 3.10 and earlier. |
I don't believe the patch does the right thing but in any case this failure with dune 3.11 was fixed in 2.1.6 so you should be able to remove this patch |
Thank you. I will do so. |
https://salsa.debian.org/ocaml-team/opam/-/tree/master/debian/patches
The text was updated successfully, but these errors were encountered: