From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: Runciter <runciter@whispers-vpn.org>, 74411@debbugs.gnu.org
Subject: [bug#74411] freedict-dictionaries build non-deterministic
Date: Tue, 19 Nov 2024 09:43:26 +0100 [thread overview]
Message-ID: <87ttc3mx5d.fsf@ngraves.fr> (raw)
In-Reply-To: <8734jp82ts.fsf@whispers-vpn.org>
On 2024-11-18 06:37, Runciter via Guix-patches via wrote:
> The build of the package freedict-dictionaries is non-deterministic, at
> least because the output dictionaries are compressed by the utility
> dictzip, which includes a timestamp in the compressed file headers.
Are you sure there are no options at compression time to force
determinism on the archive?
Usually, there are some, see tar invocations for instance:
(invoke "tar" "cvfa" (string-append this-file ".tar")
"--mtime=1" "--owner=root:0" "--group=root:0" ; determinism
"--sort=name" ".")
The sort is here for determinism too.
>
> I have not confirmed it yet but I think I could fix it: it would involve
> a patch to the freedict-tools package, and then output dictionaries of
> freedict-dictionaries would not be compressed.
>
> The maintainers should just tell me if it's worth it to fix
> non-determinism in this way: we have to carry forward a patch (unless a
> better idea comes up), and we lose the benefit of compressing the outputs.
--
Best regards,
Nicolas Graves
next prev parent reply other threads:[~2024-11-19 8:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-17 18:06 [bug#74411] [PATCH 0/4] Add DICT and FreeDict projects packages Runciter via Guix-patches via
2024-11-18 5:55 ` [bug#74411] [PATCH 1/4] gnu: Add (gnu packages dictd) Runciter via Guix-patches via
2024-11-18 5:56 ` [bug#74411] [PATCH 2/4] gnu: Add dictd-1.13.1 Runciter via Guix-patches via
2024-11-18 5:56 ` [bug#74411] [PATCH 3/4] gnu: Add freedict-tools-0.6.0 Runciter via Guix-patches via
2024-11-18 5:56 ` [bug#74411] [PATCH 4/4] gnu: Add freedict-dictionaries Runciter via Guix-patches via
2024-11-18 6:37 ` [bug#74411] freedict-dictionaries build non-deterministic Runciter via Guix-patches via
2024-11-19 8:43 ` Nicolas Graves via Guix-patches via [this message]
2024-11-19 15:13 ` Runciter via Guix-patches via
2024-11-21 0:49 ` [bug#74411] [PATCH v2 1/5] gnu: Add (gnu packages dictd) Runciter via Guix-patches via
2024-11-21 0:49 ` [bug#74411] [PATCH v2 2/5] gnu: Add dictd-1.13.1 Runciter via Guix-patches via
2024-11-21 0:50 ` [bug#74411] [PATCH v2 3/5] gnu: Add freedict-tools-0.6.0 Runciter via Guix-patches via
2024-11-21 0:50 ` [bug#74411] [PATCH v2 4/5] gnu: Add freedict-dictionaries Runciter via Guix-patches via
2024-11-21 0:50 ` [bug#74411] [PATCH v2 5/5] gnu: freedict-tools: Fix non-determinism of dictzip compressed file headers Runciter via Guix-patches via
2024-11-21 1:15 ` [bug#74411] patch v2 non-determinism fix Runciter via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ttc3mx5d.fsf@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=74411@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
--cc=runciter@whispers-vpn.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.