I'll get on this issue as soon as possible. It may be next week, but I'll work 
on it by then.

On March 16, 2022 4:05:10 PM EDT, Carlos Henrique Lima Melara 
<charlesmel...@outlook.com> wrote:
>Hi, Jody and Eriberto.
>
>Recently I've received a patch [1] to make paper reproducible, the
>email
>contained relevant information about the problem of reproducibility in
>regards to filesystem operations and concerns. Therefore, I'm
>forwarding
>2 emails to you in hope it can be of assistance.
>
>Regards,
>Charles
>
>[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005955
>
>----- Forwarded message from Chris Lamb <la...@debian.org> -----
>
>Date: Thu, 17 Feb 2022 17:47:08 -0800
>From: Chris Lamb <la...@debian.org>
>To: sub...@bugs.debian.org
>Subject: Bug#1005955: paper-icon-theme: please make the build
>reproducible
>X-Mailer: MessagingEngine.com Webmail Interface
>User-Agent:
>Cyrus-JMAP/3.5.0-alpha0-4778-g14fba9972e-fm-20220217.001-g14fba997
>
>Source: paper-icon-theme
>Version: 1.5.0+git20200312.aa3e8af-3
>Severity: wishlist
>Tags: patch
>User: reproducible-bui...@lists.alioth.debian.org
>Usertags: filesystem
>X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
>
>Hi,
>
>Whilst working on the Reproducible Builds effort [0] we noticed that
>paper-icon-theme could not be built reproducibly.
>
>This is caused by jdupes iterating over its arguments using the
>filesystem ordering, instead of using their filenames. A patch is
>attached that sorts the input prior to passing it to jdupes (using
>find, sort and xargs), but it may be more sensible that jdupes does
>this itself. Indeed, the jdupes manpage implies that it should do
>this, but I leave this up to your (almost certainly more informed)
>judgement.
>
> [0] https://reproducible-builds.org/
>
>
>Regards,
>
>-- 
>      ,''`.
>     : :'  :     Chris Lamb
>     `. `'`      la...@debian.org / chris-lamb.co.uk
>       `-
>
>--- a/debian/rules     2022-02-17 17:21:20.786897478 -0800
>--- b/debian/rules     2022-02-17 17:40:21.992308727 -0800
>@@ -7,4 +7,4 @@
> override_dh_auto_install:
>       dh_auto_install
>       # Remove duplicate files using softlinks
>-      jdupes -lr debian/paper-icon-theme/usr/share/icons
>+      find -type f -print0 debian/paper-icon-theme/usr/share/icons | sort
>-z | xargs -0r jdupes -Ol
>
>
>----- End forwarded message -----
>
>----- Forwarded message from Chris Lamb <la...@debian.org> -----
>
>Date: Tue, 08 Mar 2022 12:49:02 -0000
>From: Chris Lamb <la...@debian.org>
>To: Carlos Henrique Lima Melara <charlesmel...@outlook.com>
>Cc: 1005955-qu...@bugs.debian.org
>User-Agent:
>Cyrus-JMAP/3.5.0-alpha0-4778-g14fba9972e-fm-20220217.001-g14fba997
>Subject: Re: paper-icon-theme: please make the build reproducible
>
>Hi Carlos,
>
>> Actually, I wasn't able to reproduce this issue on my machine. I
>tested
>> back when the issue appeared and now that you submitted the patch and
>> the builds on my machine are identical.
>
>Ah, perhaps I could have helped here: given this is a filesystem
>ordering issue, it's unsurprising that you could not easily reproduce
>it locally.
>
>Unless you use disorderfs or similar, most file systems will happen to
>return directory entries in the same order if asked multiple times in
>a row — the underlying problem is that this is not defined and/or
>deterministic.
>
>
>Best wishes,
>
>--
>      ,''`.
>     : :'  :     Chris Lamb
>     `. `'`      la...@debian.org 🍥 chris-lamb.co.uk
>
>
>----- End forwarded message -----

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to