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
[bug] [reproducibility] installation contains a build log file mkmf.log #2755
Comments
Hi, I'd like to help, but I'm not sure I understand. Can you please help me understand what you're asking, why you think it's a problem, what you're hoping to do that you're prevented from doing? I'm unfamiliar with guix, I'm unfamiliar with diffoscope, and you haven't explained enough about your problem to put this into context for me. This looks like a temporary file name being generated during the build process, likely part of Ruby's MakeMakefile system. Have you investigated whether this is nokogiri-specific or something more general? |
(rewriting this comment to reflect better information) |
Ah, OK, on my debian system I see this:
This output is generated from MakeMakefile's |
Hello; the problem is that the log file gets installed, somehow, and is not reproducible (because of the changing temporary names it includes), so it breaks the reproducibility of builds (building the nokogiri package from source twice doesn't result in a bit indentical copy). I'll check if this was fixed in later version of Ruby (Guix is still on the aging 2.7.4 version), and open a bug otherwise. Thanks for taking a look! |
OK, to be clear, this log file is not "installed", we don't package it in the |
More context on this: From the source, if I try to install the gem with:
The files installed under the
You are correct that nokogiri has no bearing on that process and that I should report the issue upstream; I'll attempt to do so! Thank you. |
For the record, here's the upstream ticket: https://bugs.ruby-lang.org/issues/19329?next_issue_id=19328. |
Installing nokogiri captures a build time mkmf.log file that contains a non-deterministic file name. See the following diffoscope diff across two builds:
As the output above shows, this was found for the latest release, 1.13.10 with GNU Guix.
The text was updated successfully, but these errors were encountered: