Translation files en@boldquot and en@quot are not reproducible

Hi! I package this project for Arch Linux. When building the package for 1.2.1 I noticed that the translation files for en@boldquot and en@quot are not reproducible, as their PO-Revision-Date is set to a non-reproducible date (now).

-- sane-1.2.1-3-x86_64.pkg.tar.zst
+++ ./build/sane-1.2.1-3-x86_64.pkg.tar.zst
├── sane-1.2.1-3-x86_64.pkg.tar
│ ├── file list
│ │ @@ -1,9 +1,9 @@
│ │  -rw-r--r--   0 root         (0) root         (0)     7822 2023-02-13 09:08:45.000000 .BUILDINFO
│ │ --rw-r--r--   0 root         (0) root         (0)    30635 2023-02-13 09:08:45.000000 .MTREE
│ │ +-rw-r--r--   0 root         (0) root         (0)    30634 2023-02-13 09:08:45.000000 .MTREE
│ │  -rw-r--r--   0 root         (0) root         (0)     3875 2023-02-13 09:08:45.000000 .PKGINFO
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2023-02-13 09:08:45.000000 etc/
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2023-02-13 09:08:45.000000 etc/sane.d/
│ │  -rw-r--r--   0 root         (0) root         (0)       25 2023-02-13 09:08:45.000000 etc/sane.d/abaton.conf
│ │  -rw-r--r--   0 root         (0) root         (0)       13 2023-02-13 09:08:45.000000 etc/sane.d/agfafocus.conf
│ │  -rw-r--r--   0 root         (0) root         (0)       24 2023-02-13 09:08:45.000000 etc/sane.d/apple.conf
│ │  -rw-r--r--   0 root         (0) root         (0)       25 2023-02-13 09:08:45.000000 etc/sane.d/artec.conf
│ ├── .MTREE
│ │ ├── .MTREE-content
│ │ │ @@ -514,18 +514,18 @@
│ │ │  ./usr/share/locale/da/LC_MESSAGES time=1676279325.0 type=dir
│ │ │  ./usr/share/locale/da/LC_MESSAGES/sane-backends.mo time=1676279325.0 mode=644 size=59190 md5digest=6edb7007342977a47b67b7bac87737b3 sha256digest=0d00f9c1bf38c02221
153d83a1b8ca0cf0efc3aeee39519e67174ed9d088eafb
│ │ │  ./usr/share/locale/de time=1676279325.0 type=dir
│ │ │  ./usr/share/locale/de/LC_MESSAGES time=1676279325.0 type=dir
│ │ │  ./usr/share/locale/de/LC_MESSAGES/sane-backends.mo time=1676279325.0 mode=644 size=104522 md5digest=cd7a2849fd246659322937fe44ced4a8 sha256digest=f4fa6c1f67c13bf8b
7e166a470c88c918af1004a974a7c7d52f69b15e084d83a
│ │ │  ./usr/share/locale/en@boldquot time=1676279325.0 type=dir
│ │ │  ./usr/share/locale/en@boldquot/LC_MESSAGES time=1676279325.0 type=dir
│ │ │ -./usr/share/locale/en@boldquot/LC_MESSAGES/sane-backends.mo time=1676279325.0 mode=644 size=104263 md5digest=947fa7049921e7ebaa87071380fdfe39 sha256digest=48f37499
eede152ad3b2e1b3b2592a445e07613ac1d79669b66fde63e72610c9
│ │ │ +./usr/share/locale/en@boldquot/LC_MESSAGES/sane-backends.mo time=1676279325.0 mode=644 size=104263 md5digest=803e8272ffc0bf2e2a49c34b93b3b200 sha256digest=f897a990
3962efe186bd60b322e625e4e1c55ac5fc991b530769eae835bdfbe3
│ │ │  ./usr/share/locale/en@quot time=1676279325.0 type=dir
│ │ │  ./usr/share/locale/en@quot/LC_MESSAGES time=1676279325.0 type=dir
│ │ │ -./usr/share/locale/en@quot/LC_MESSAGES/sane-backends.mo time=1676279325.0 mode=644 size=104019 md5digest=09243b57f424634469109a12e8c57f75 sha256digest=8b2e482d145d
ccff5e271b0cdeae9ef1430141f5b79cb777c3aad32b726d6bee
│ │ │ +./usr/share/locale/en@quot/LC_MESSAGES/sane-backends.mo time=1676279325.0 mode=644 size=104019 md5digest=be66032e5b4d1dc85b1cd12d521aa301 sha256digest=4f4586e1ad41
00e49438365cdcfc78bfdb094de64d0aa8e4b4bcdd3445a690d2
│ │ │  ./usr/share/locale/en_GB time=1676279325.0 type=dir
│ │ │  ./usr/share/locale/en_GB/LC_MESSAGES time=1676279325.0 type=dir
│ │ │  ./usr/share/locale/en_GB/LC_MESSAGES/sane-backends.mo time=1676279325.0 mode=644 size=104065 md5digest=6e7806783bc4a02eec681481e864caea sha256digest=156f47e145c1bc
96c1f4aeadbf26fb16c821b310ed967ff862fd4415da487434
│ │ │  ./usr/share/locale/eo time=1676279325.0 type=dir
│ │ │  ./usr/share/locale/eo/LC_MESSAGES time=1676279325.0 type=dir
│ │ │  ./usr/share/locale/eo/LC_MESSAGES/sane-backends.mo time=1676279325.0 mode=644 size=68937 md5digest=86529e1353c93821d282ca2f92397dc2 sha256digest=0b1fb1e3ebe45c9321
b35516de4a9755a6c0c207103307d3537db449178395d3
│ │ │  ./usr/share/locale/es time=1676279325.0 type=dir
│ ├── usr/share/locale/en@boldquot/LC_MESSAGES/sane-backends.mo
│ │ ├── msgunfmt {}
│ │ │ @@ -1,12 +1,12 @@
│ │ │  msgid ""
│ │ │  msgstr ""
│ │ │  "Project-Id-Version: sane-backends 1.2.1\n"
│ │ │  "Report-Msgid-Bugs-To: sane-devel@alioth-lists.debian.net\n"
│ │ │ -"PO-Revision-Date: 2023-02-13 10:16+0100\n"
│ │ │ +"PO-Revision-Date: 2023-02-13 10:56+0100\n"
│ │ │  "Last-Translator: Automatically generated\n"
│ │ │  "Language-Team: none\n"
│ │ │  "Language: en@boldquot\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"
│ ├── usr/share/locale/en@quot/LC_MESSAGES/sane-backends.mo
│ │ ├── msgunfmt {}
│ │ │ @@ -1,12 +1,12 @@
│ │ │  msgid ""
│ │ │  msgstr ""
│ │ │  "Project-Id-Version: sane-backends 1.2.1\n"
│ │ │  "Report-Msgid-Bugs-To: sane-devel@alioth-lists.debian.net\n"
│ │ │ -"PO-Revision-Date: 2023-02-13 10:16+0100\n"
│ │ │ +"PO-Revision-Date: 2023-02-13 10:56+0100\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"

This means that the package can not be reproducible on downstream distributions.

It would be great if this could be fixed. It likely relates to the two translations in question not having a dedicated .po file, so their revision date is chosen at build time instead of hardcoded.

To be on the safe side, timestamps should either be avoided or fully support SOURCE_DATE_EPOCH: https://reproducible-builds.org/docs/timestamps/

Assignee Loading
Time tracking Loading