Hi Olivier,

Olivier Dion <[email protected]> writes:

> On Wed, 18 Feb 2026, "Bernhard M. Wiedemann" <[email protected]> wrote:
>> On 2/18/26 1:55 PM, Olivier Dion wrote:
>>> On Wed, 18 Feb 2026, "Bernhard M. Wiedemann" <[email protected]> wrote:
>>>> Today I reverted that work-around for a test and parallelism still
>>>> caused variations.
>>> 
>>> Interesting, so cross-modules inlining is not the only culprit.  Do you
>>> have an idea?  If you have a .tar.gz, with two binaries so I could use
>>> diffoscope on them, that would be great.
>>
>> I uploaded 2 rpms to
>> https://rb.zq1.de/other/guile/
>>
>> With rpm2cpio you can unpack them.
>> And I uploaded them to diffoscope for you:
>
> But is this the case with Guile core?
>
> It seems to me that guile-parted is not reproducible, because of the
> inlining issue.
>
> I attached a small patch (to be applied on top of 0.0.7) that I just
> copied from the two stages from Guile core.  On my system, I managed to
> make guile-parted reproducible that way.
>
>
>
> Note that I did not added the logic to install the binaries from stage2.
>
> Now I wonder, is Guile core itself reproducible?

A comment in the guile-3.0 package definition (currently at 3.0.9)
reads:

       ;; Guile 3.0.9 is bit-reproducible when built in parallel, thanks to
       ;; its multi-stage build process for cross-module inlining, except when
       ;; cross-compiling.
       ((#:parallel-build? _ #f)

Add in commit:

--8<---------------cut here---------------start------------->8---
commit dd6b951fe05ff2729c7420a1b5749df825d045d8
Author: Ludo [...]
Date:   Tue Mar 1 10:59:02 2022 +0100

    gnu: [email protected]: Disable parallel builds when cross-compiling.
    
    Cross builds, as in "guix build [email protected] --target=i586-pc-gnu", are
    not bit-reproducible unless built sequentially.
    
    * gnu/packages/guile.scm (guile-3.0-latest)[arguments]: Set 
#:parallel-build?
    to #f when cross-compiling.
--8<---------------cut here---------------end--------------->8---

Adding Ludo to CC in case they'd like to tip in.

-- 
Thanks,
Maxim



Reply via email to