unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 26247@debbugs.gnu.org
Subject: bug#26247: Gettext introduces timestamps in .mo files
Date: Thu, 03 Dec 2020 11:32:54 +0100	[thread overview]
Message-ID: <87v9djgox5.fsf@gnu.org> (raw)
In-Reply-To: <865z5luzxx.fsf@gmail.com> (zimoun's message of "Tue, 01 Dec 2020 19:46:34 +0100")

Hi Simon,

zimoun <zimon.toutoune@gmail.com> skribis:

> On Fri, 24 Mar 2017 at 23:54, ludo@gnu.org (Ludovic Courtès) wrote:
>
>> Gettext 0.19.8.1 (current core-updates,
>> 77ab6983a19ef307558ab2607920158d6bb94ba8) introduces timestamps in .mo
>> file, without honoring SOURCE_DATE_EPOCH, which leads to
>> non-reproducible builds (for example ‘guix’).
>
> Is it still relevant?  Since Gettext is now at 0.20.1.  How can I
> reproduce the issue?

I still see this:

--8<---------------cut here---------------start------------->8---
$ guix challenge guix --substitute-urls="https://ci.guix.gnu.org https://bayfront.guix.gnu.org"
updating substitutes from 'https://bayfront.guix.gnu.org'... 100.0%
/gnu/store/babcmx68gkfxwzr3rmccan88dqjiqzb4-guix-1.2.0-3.35a32fe contents differ:
  no local build for '/gnu/store/babcmx68gkfxwzr3rmccan88dqjiqzb4-guix-1.2.0-3.35a32fe'
  https://ci.guix.gnu.org/nar/lzip/babcmx68gkfxwzr3rmccan88dqjiqzb4-guix-1.2.0-3.35a32fe: 13wvxga668grzs0p6sp0ghvdiy96nc9w71vs11djjkypsaf7wpw1
  https://bayfront.guix.gnu.org/nar/lzip/babcmx68gkfxwzr3rmccan88dqjiqzb4-guix-1.2.0-3.35a32fe: 1rpwil9h2whjd9dbwpikxn8prkg924nhljglwj9yjijh578nlfr8
  differing files:
    /share/locale/en@quot/LC_MESSAGES/guix.mo
    /share/locale/en@quot/LC_MESSAGES/guix-packages.mo
    /share/locale/en@boldquot/LC_MESSAGES/guix.mo
    /share/locale/en@boldquot/LC_MESSAGES/guix-packages.mo
    /share/info/guix-cookbook.de.info.gz
    /lib/guile/3.0/site-ccache/guix/workers.go
    /lib/guile/3.0/site-ccache/guix/ui.go
    /lib/guile/3.0/site-ccache/guix/swh.go
    /lib/guile/3.0/site-ccache/guix/svn-download.go
[…]
--8<---------------cut here---------------end--------------->8---

‘--diff=diffoscope’ is not an option here because it takes too long
looking at all the .go files…

A focused diff shows this:

--8<---------------cut here---------------start------------->8---
$ diffoscope --exclude-directory-metadata=yes /tmp/{t1,t2}/share/locale/en@quot/
--- /tmp/t1/share/locale/en@quot/
+++ /tmp/t2/share/locale/en@quot/
│   --- /tmp/t1/share/locale/en@quot/LC_MESSAGES
├── +++ /tmp/t2/share/locale/en@quot/LC_MESSAGES
│ │   --- /tmp/t1/share/locale/en@quot/LC_MESSAGES/guix-packages.mo
│ ├── +++ /tmp/t2/share/locale/en@quot/LC_MESSAGES/guix-packages.mo
│ │ ├── msgunfmt {}
│ │ │ @@ -1,12 +1,12 @@
│ │ │  msgid ""
│ │ │  msgstr ""
│ │ │  "Project-Id-Version: guix 1.2.0-3.35a32fe\n"
│ │ │  "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
│ │ │ -"PO-Revision-Date: 2020-11-29 18:33+0000\n"
│ │ │ +"PO-Revision-Date: 2020-12-02 10:10+0000\n"
│ │ │  "Last-Translator: Automatically generated\n"
│ │ │  "Language-Team: none\n"
│ │ │  "Language: en@quot\n"
│ │ │  "MIME-Version: 1.0\n"
│ │ │  "Content-Type: text/plain; charset=UTF-8\n"
│ │ │  "Content-Transfer-Encoding: 8bit\n"
│ │ │  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
│ │   --- /tmp/t1/share/locale/en@quot/LC_MESSAGES/guix.mo
│ ├── +++ /tmp/t2/share/locale/en@quot/LC_MESSAGES/guix.mo
│ │ ├── msgunfmt {}
│ │ │ @@ -1,12 +1,12 @@
│ │ │  msgid ""
│ │ │  msgstr ""
│ │ │  "Project-Id-Version: guix 1.2.0-3.35a32fe\n"
│ │ │  "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
│ │ │ -"PO-Revision-Date: 2020-11-29 18:33+0000\n"
│ │ │ +"PO-Revision-Date: 2020-12-02 10:10+0000\n"
│ │ │  "Last-Translator: Automatically generated\n"
│ │ │  "Language-Team: none\n"
│ │ │  "Language: en@quot\n"
│ │ │  "MIME-Version: 1.0\n"
│ │ │  "Content-Type: text/plain; charset=UTF-8\n"
│ │ │  "Content-Transfer-Encoding: 8bit\n"
│ │ │  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
--8<---------------cut here---------------end--------------->8---

Ludo’.




  reply	other threads:[~2020-12-03 10:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-24 22:54 bug#26247: Gettext introduces timestamps in .mo files Ludovic Courtès
2020-12-01 18:46 ` zimoun
2020-12-03 10:32   ` Ludovic Courtès [this message]
2020-12-03 12:07     ` Julien Lepiller
2020-12-03 14:41       ` Ludovic Courtès
2020-12-11 13:26         ` Miguel Ángel Arruga Vivas
2020-12-14  9:09           ` Ludovic Courtès
2022-10-08 14:25           ` zimoun
2023-10-16 23:48             ` Simon Tournier
2023-10-17 10:11               ` Julien Lepiller

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v9djgox5.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=26247@debbugs.gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).