[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70169] [PATCH 0/7] Reproducible `make dist' tarball in defiance of
From: |
Ludovic Courtès |
Subject: |
[bug#70169] [PATCH 0/7] Reproducible `make dist' tarball in defiance of Autotools and Gettext |
Date: |
Wed, 03 Apr 2024 23:28:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Janneke Nieuwenhuizen <janneke@gnu.org> skribis:
> I boldly pushed `origin/wip-tarball', you may try that :)
Silly me. π€¦
First try: I wasnβt running in a UTF-8 locale (in βguix shell -CPβ) so I
got things like this:
--8<---------------cut here---------------start------------->8---
β βββ guix-1.3.0.57425-80a228/AUTHORS
β β @@ -9,35 +9,35 @@
β β
β β 10255 Ricardo Wurmus <rekado@elephly.net>
β β 7293 Nicolas Goaziou <mail@nicolasgoaziou.fr>
β β 5991 Efraim Flashner <efraim@flashner.co.il>
β β 4033 Maxim Cournoyer <maxim.cournoyer@gmail.com>
β β 3124 Tobias Geerinckx-Rice <me@tobias.gr>
β β 2356 Marius Bakke <marius@gnu.org>
β β - 2306 Ludovic Court??s <ludo@gnu.org>
β β + 2306 Ludovic CourtΓ¨s <ludo@gnu.org>
--8<---------------cut here---------------end--------------->8---
Then thereβs prolly a timezone issue with the generated ChangeLog:
--8<---------------cut here---------------start------------->8---
β β -2024-02-19 Troy Figiel <troy@troyfigiel.com>
β β +2024-02-20 Troy Figiel <troy@troyfigiel.com>
β β
β β gnu: Add go-github-com-coocood-freecache.
β β * gnu/packages/golang-xyz.scm (go-github-com-coocood-freecache): New
variable.
--8<---------------cut here---------------end--------------->8---
The best thing to do is probably to drop βChangeLogβ generation (maybe
βAUTHORSβ too) and just add a text inviting users to check the Git log.
Then I must have stale βhelp2manβ byproducts:
--8<---------------cut here---------------start------------->8---
β βββ guix-1.3.0.57425-80a228/doc/guix-challenge.1
β β @@ -1,11 +1,11 @@
β β .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
β β .TH GUIX "1" "April 2024" "GNU" "User Commands"
β β .SH NAME
β β -guix \- manual page for guix challenge (GNU Guix) 1.3.0.51884-370f8f3
β β +guix \- manual page for guix challenge (GNU Guix) 1.3.0.57425-80a228
--8<---------------cut here---------------end--------------->8---
Lots of differences in Info files:
--8<---------------cut here---------------start------------->8---
β βββ guix-1.3.0.57425-80a228/doc/guix-cookbook.fr.info
β ββ xxd not available in path. Falling back to Python hexlify.
β β @@ -1,6 +1,8216 @@
β β 5468697320697320677569782d636f6f6b626f6f6b2e66722e696e666f2c2070
β β 726f6475636564206279206d616b65696e666f2076657273696f6e20362e3820
β β -66726f6d0a677569782d636f6f6b626f6f6b2e66722e746578692e0a0a0a1f0a
β β -546167205461626c653a0a1f0a456e6420546167205461626c650a0a1f0a4c6f
β β -63616c205661726961626c65733a0a636f64696e673a207574662d380a456e64
β β -3a0a
β β +66726f6d0a677569782d636f6f6b626f6f6b2e66722e746578692e0a0a436f70
β β +79726967687420c2a920323031392c2032303232205269636172646f20577572
β β +6d75730a436f7079726967687420c2a920323031392045667261696d20466c61
β β +73686e65720a436f7079726967687420c2a9203230313920506965727265204e
--8<---------------cut here---------------end--------------->8---
Something with PO files not being regenerated (?):
--8<---------------cut here---------------start------------->8---
β βββ guix-1.3.0.57425-80a228/po/packages/en@boldquot.po
β β @@ -1,11 +1,11 @@
β β # English translations for guix package.
β β -# Copyright (C) 2020 the authors of Guix (msgids)
β β +# Copyright (C) 2024 the authors of Guix (msgids)
β β # This file is distributed under the same license as the guix package.
β β -# Automatically generated, 2020.
β β +# Automatically generated, 2024.
β β #
β β # All this catalog "translates" are quotation characters.
β β # The msgids must be ASCII and therefore cannot contain real quotation
β β # characters, only substitutes like grave accent (0x60), apostrophe (0x27)
β β # and double quote (0x22). These substitutes look strange; see
β β # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
β β #
β β @@ -26,118 +26,85 @@
β β # transliterated to 0x22.
β β #
β β # This catalog furthermore displays the text between the quotation marks in
β β # bold face, assuming the VT100/XTerm escape sequences.
β β #
β β msgid ""
β β msgstr ""
β β -"Project-Id-Version: guix 1.2.0\n"
β β +"Project-Id-Version: guix 1.3.0.57419-5a2b40\n"
β β "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
β β -"POT-Creation-Date: 2020-11-22 20:33+0100\n"
β β -"PO-Revision-Date: 2020-11-22 20:33+0100\n"
β β +"POT-Creation-Date: 2024-04-03 09:04+0200\n"
β β +"PO-Revision-Date: 2024-04-03 09:04+0200\n"
--8<---------------cut here---------------end--------------->8---
and possibly a timezone issue for POT files:
--8<---------------cut here---------------start------------->8---
β βββ guix-1.3.0.57425-80a228/po/packages/guix-packages.pot
β β @@ -4,15 +4,15 @@
β β # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
β β #
β β #, fuzzy
β β msgid ""
β β msgstr ""
β β "Project-Id-Version: guix 1.3.0.57425-80a228\n"
β β "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
β β -"POT-Creation-Date: 2024-04-03 21:14+0000\n"
β β +"POT-Creation-Date: 2024-04-03 20:56+0200\n"
β β "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
--8<---------------cut here---------------end--------------->8---
Note that in βguix shell -CPβ I had no TZ and LC_* variable set and
/etc/timezone is missing.
Thatβs it for today!
Ludoβ.
- [bug#70169] [PATCH 5/7] maint: Generate 'doc/version-LANG.texi' reproducibly., (continued)
- [bug#70169] [PATCH v2 00/12] Reproducible `make dist' tarball in defiance of Autotools and Gettext, Janneke Nieuwenhuizen, 2024/04/06
- [bug#70169] [PATCH v2 02/12] maint: Use reproducible timestamps and name for tarball., Janneke Nieuwenhuizen, 2024/04/06
- [bug#70169] [PATCH v2 01/12] maint: Cater for running `make dist' from a worktree., Janneke Nieuwenhuizen, 2024/04/06
- [bug#70169] [PATCH v2 04/12] maint: Help help2man generate reproducible man-pages., Janneke Nieuwenhuizen, 2024/04/06
- [bug#70169] [PATCH v2 04/12] maint: Help help2man generate reproducible man-pages., Ludovic Courtès, 2024/04/08
- [bug#70169] [PATCH v2 04/12] maint: Help help2man generate reproducible man-pages., Janneke Nieuwenhuizen, 2024/04/08