GNU bug report logs - #31484
[PATCH] gnu: icu4c: Patch zoneinfo directory.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Christopher Baines <mail@HIDDEN>; Keywords: patch; dated Thu, 17 May 2018 12:59:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 31484 <at> debbugs.gnu.org:


Received: (at 31484) by debbugs.gnu.org; 11 Jun 2018 18:18:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 11 14:18:35 2018
Received: from localhost ([127.0.0.1]:43665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fSROl-0001Fy-Ke
	for submit <at> debbugs.gnu.org; Mon, 11 Jun 2018 14:18:35 -0400
Received: from li622-129.members.linode.com ([212.71.249.129]:56746
 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1fSROk-0001Fp-CQ
 for 31484 <at> debbugs.gnu.org; Mon, 11 Jun 2018 14:18:34 -0400
Received: by mira.cbaines.net (Postfix, from userid 113)
 id 9B4ED1646D; Mon, 11 Jun 2018 19:18:33 +0100 (BST)
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0
Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net
 [86.27.34.15])
 by mira.cbaines.net (Postfix) with ESMTPSA id 4E9CF16456;
 Mon, 11 Jun 2018 19:18:33 +0100 (BST)
Received: from giedi (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id 6ae70013;
 Mon, 11 Jun 2018 18:18:32 +0000 (UTC)
References: <20180517125834.7417-1-mail@HIDDEN> <878t8fpfah.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Christopher Baines <mail@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: [bug#31484] [PATCH] gnu: icu4c: Patch zoneinfo directory.
In-reply-to: <878t8fpfah.fsf@HIDDEN>
Date: Mon, 11 Jun 2018 19:18:30 +0100
Message-ID: <871sdd426h.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 31484
Cc: Leo Famulari <leo@HIDDEN>, 31484 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hello,
>
> Christopher Baines <mail@HIDDEN> skribis:
>
>> Replace the hardcoded /usr/share/zoneinfo file with a reference to the t=
zdata
>> package.
>>
>> * gnu/packages/icu4c.scm (icu4c)[inputs]: Add tzdata.
>> [arguments]: Add a patch-zoneinfo-directory phase.
>
> Good catch.
>
> I wonder if icu4c should instead depend on =E2=80=98tzdata-for-tests=E2=
=80=99, which is
> changed less frequently to avoid full rebuilds?  Maybe Leo can comment.
>
> I hope icu4c also honors the TZDIR environment variable, which would
> allow users to have it refer to the latest version.  Do you know if
> that=E2=80=99s the case?

All I remember about this was that I don't think it fixed the problem I
was trying to solve :) I had the patch in a stash for a while before
submitting it.

I don't even know what icu4c actually does, so I'm not very well placed
to look at this further, but I'm glad you and Leo seem to be getting
something from it :)

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlsevPZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE
9XeVTg//V0seCP5tkLh+DE+x66Va8A73fRnfLyUU/u8lER/rMs8TkRhy6u8imgC5
hKYYXc04/MASEum3GKoZfSRZIpaVgaLtMnmMjoSUzx9ZU0mTgPQ8aymrRK8RFzSi
CajPszOANZFZyOeOQeG9X3byUwIAJ70iShjs3MBaQMpRZ36ZYMkMGn8Mmg0vQYC0
Ocz81GSeTYIKt0F12QMuL6s6Nd3coENA1F/2UzNkTIrJ7uY2rwdoiugg5NtEAcf0
jrgyT8pDyCjd+vzN8NvqWXtWhXoAZ72ZKtKwe9YkCSGFJwdAtqNIJFcViHil7wlw
UfrkXH7AJBLHPMP5Hi39g4KM3wfiFjWVBP1f1Qbt0mnHvKOzFC9eHQ/Z8xNY8DXm
sAZhJY2yZGnD9USR10NI6q1RHkGEGzl4ljjDPDvhQdi0WyYADPv6CtwMa8UI/Xic
zpdAieegRN8BAtnrrLFVYqYfJnYqbp59DwY2xSmqthmTA+VOGQ/AZseytzePSDML
zJFUj3KjjjTUVpEVx8W8XoEFdpshJf6w7gE5rkczOf7Z+wxGGrBF1AionWBFlGKn
CeEY3foUjvwOSoN2haCFAooTIYniohUh1tSuWO3/GYvqFdMRqhST9Yo4FNBHMyMc
kgb7+2CRm0nt2j7BhPxrHsv7YKF4jTkN/p+nR6j4aEUxTFoPtNw=
=oMpM
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#31484; Package guix-patches. Full text available.

Message received at 31484 <at> debbugs.gnu.org:


Received: (at 31484) by debbugs.gnu.org; 24 May 2018 16:31:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 24 12:31:02 2018
Received: from localhost ([127.0.0.1]:46671 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fLt8o-0003f5-4G
	for submit <at> debbugs.gnu.org; Thu, 24 May 2018 12:31:02 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:46145)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1fLt8m-0003eq-TJ
 for 31484 <at> debbugs.gnu.org; Thu, 24 May 2018 12:31:01 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id AAE5922584;
 Thu, 24 May 2018 12:30:59 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute4.internal (MEProxy); Thu, 24 May 2018 12:30:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=cc:content-type:date:from:in-reply-to:message-id:mime-version
 :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=
 mesmtp; bh=Dt8IXSkhE0yb254znh/8bD4PE3COKKCi0aBFo7QumkQ=; b=DsETe
 respsXHeyQIzpOGibLbydDCU/59tbshwKHNwhfzrYV2QGFuk7NJ5RU8ru9ayZBKt
 RVg/pI68NxC/8bNaaU/ly5owBSDqAYR5/bVfQLM5MLQdFnA/OkWQlkuk4CkorU/f
 hu5wmwyRQVl7Qxr7O1UTm2dSJN921Dueu8PufQ=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; bh=Dt8IXSkhE0yb254znh/8bD4PE3COK
 KCi0aBFo7QumkQ=; b=fRHGA08bLZf74maQNivR5Ubt+QD28pTpnTelu12uauT1j
 NkV5+ycqzw+JsPAk7O95GyvYrHHxDo9EnWIKebH2Kle4iIkwqhR9mHaI2S0OaTo5
 4im7EmifsR+HLZ24AGiN+eAkXnhQsj+RvZy6wAT6LE4tyQhv8u4fmqr5Y2QlT+Lb
 8Vz+JlrpRSMF+iiqeuinYoexNOhjiAG43w0KeTOjdds1pPBXWAJlNJM8FakQh33h
 zBsH5Dr+Vx3rmPb7RJ6utFB4yEZONkGCpbQMLoc0jZqJkzYL7dz61Na6JRfqg7SM
 tLoM3U7Ft2qOXliyYxXEG1sVkgormODudm+HJOiDg==
X-ME-Proxy: <xmx:w-gGW8ju0fBDh-xzgOQ95ivrlQBhPhJH0ueycAEGJFpMfSmxtu9GNQ>
X-ME-Proxy: <xmx:w-gGW6OiyuaFyhcgOKQeVgnzGVqbqkmmch9p3NL_Da9YfLUVvGSL2w>
X-ME-Proxy: <xmx:w-gGW3c5FLpmEOc86ZxvZnkuCENvYdOLqZKoNjjUQ09eEaOY-Wddpg>
X-ME-Proxy: <xmx:w-gGW8ygDzCqE9Qv_DVqP45aNKWLXieZUqBIKdBZuALpe9jcPlr3zw>
X-ME-Proxy: <xmx:w-gGW01SqofU4QrOa46pdjgM6K1vYFAqFFZOyA-Mqjv6QIsgaCh5qA>
X-ME-Proxy: <xmx:w-gGW7-I-siddz-3e3rI7-cNYPDvw4FZ7cHSLUh6tRPrSaC4XM6mqQ>
X-ME-Sender: <xms:w-gGW9b8SyxgNn_-P4ZYp_aLoOHGWqieXIP-8e4w1oR6A4S3kvduuw>
Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net
 [76.124.202.137])
 by mail.messagingengine.com (Postfix) with ESMTPA id 68DF210266;
 Thu, 24 May 2018 12:30:59 -0400 (EDT)
Date: Thu, 24 May 2018 12:30:58 -0400
From: Leo Famulari <leo@HIDDEN>
To: Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Subject: Re: [bug#31484] [PATCH] gnu: icu4c: Patch zoneinfo directory.
Message-ID: <20180524163058.GB11853@HIDDEN>
References: <20180517125834.7417-1-mail@HIDDEN> <878t8fpfah.fsf@HIDDEN>
 <20180521171514.GA13182@HIDDEN> <878t8b6giq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu"
Content-Disposition: inline
In-Reply-To: <878t8b6giq.fsf@HIDDEN>
User-Agent: Mutt/1.10.0 (2018-05-17)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31484
Cc: Christopher Baines <mail@HIDDEN>, 31484 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 22, 2018 at 02:06:53PM +0200, Ludovic Court=C3=A8s wrote:
> For the case where TZDIR is unset, programs can still use
> tzdata-for-tests, which could be slightly outdated, but I consider it a
> =E2=80=9Cdegraded=E2=80=9D mode and I think it=E2=80=99s fine.

Okay, I'll rename it tzdata-old in core-updates to better describe the
full range of use cases.

> > I wonder what is done in Nixpkgs...
>=20
> It may be that the majority of their users don=E2=80=99t live in the regi=
ons
> affected by recent timezone changes=E2=80=A6

Yes, and these last minute changes tend not to affect the wealthier
parts of the world, where such problems would have a greater impact.

--TRYliJ5NKNqkz5bu
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlsG6MEACgkQJkb6MLrK
fwhBQQ/+KQT3L7kK70CmOGPBlSLcu/VVZZgin0IuFIP/4Ux7JfNwTB/e+8eXZmhe
QRM2t3VcUupszsm8jgaVMb14HPgbZubbcKW/7hAQ8EXcKoVKTjVu/9LHa0nvY1X2
fI0/m4zNHPRAXjU42nJ8q9FzlB/qofj5UfYYkjDfvdtzNuhhzazV8p+RTy3EUd3S
Y0B1vKjS6sSbVqdVoF2OVW1GAG8Mu2hvau0mZLVO8/VqGK/ef/6ccy5g/QSrUewu
U4ZW9E0ieq1dTuPnozuxoxibniKhVlBWEhive7B76zpe+aqBL2lEHyzQeG4+TNpj
wRBmB7sUg33wCg6BZYx9vw2OxFQ57Kev/pnFxEDefjDI6b6f8FI7PiZV/stxjUz4
c1VJC3XHdIg0W/wL5ndkkdP2Pi7pqhCBGT3xvjri4duCnVxG0ryhCCWrpm2BcEGn
RxN1hV3fRH1rSz8UREjjY1e8Bss2PEELfKcK8UTnZCqpmC7gF5d/iDno0Z9pHqWQ
u0KSF6TMO9BpHdvSn0Jz/7+/qhZe+IMfJVUznhAL2oqVlChRe/hhUtHaCECCbFLk
J4iobeaERCfUnSPPQqEe0zRkYliupOjY6nZyixn9KOo0ZatkC+QzkdQ7BNfq7uNT
K4wmc/Y4JU7C+jh0CW+5xkPGl88poPI8w0xbzZTcu3kdahW92X0=
=6uWQ
-----END PGP SIGNATURE-----

--TRYliJ5NKNqkz5bu--




Information forwarded to guix-patches@HIDDEN:
bug#31484; Package guix-patches. Full text available.

Message received at 31484 <at> debbugs.gnu.org:


Received: (at 31484) by debbugs.gnu.org; 22 May 2018 12:07:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 22 08:07:13 2018
Received: from localhost ([127.0.0.1]:43750 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fL64P-0000Qd-B7
	for submit <at> debbugs.gnu.org; Tue, 22 May 2018 08:07:13 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39264)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1fL64K-0000QN-G2
 for 31484 <at> debbugs.gnu.org; Tue, 22 May 2018 08:07:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1fL649-0007gq-Bs
 for 31484 <at> debbugs.gnu.org; Tue, 22 May 2018 08:07:03 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43963)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1fL649-0007gl-7D; Tue, 22 May 2018 08:06:57 -0400
Received: from [131.254.252.93] (port=56264 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1fL648-0004Fk-Jy; Tue, 22 May 2018 08:06:57 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Leo Famulari <leo@HIDDEN>
Subject: Re: [bug#31484] [PATCH] gnu: icu4c: Patch zoneinfo directory.
References: <20180517125834.7417-1-mail@HIDDEN> <878t8fpfah.fsf@HIDDEN>
 <20180521171514.GA13182@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 3 Prairial an 226 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Tue, 22 May 2018 14:06:53 +0200
In-Reply-To: <20180521171514.GA13182@HIDDEN> (Leo Famulari's message of
 "Mon, 21 May 2018 13:15:14 -0400")
Message-ID: <878t8b6giq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31484
Cc: Christopher Baines <mail@HIDDEN>, 31484 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Heya,

Leo Famulari <leo@HIDDEN> skribis:

> It indicates two general problems, IMO:
>
> 1) the lack of build farm capacity
> 2) it should be possible to update the time zone database without
> rebuilding packages (the packages should use TZDIR)

I think tzdata is an example where dynamic composition (i.e., TZDIR) is
what we should use.  That way we can update tzdata as frequently as we
want.

For the case where TZDIR is unset, programs can still use
tzdata-for-tests, which could be slightly outdated, but I consider it a
=E2=80=9Cdegraded=E2=80=9D mode and I think it=E2=80=99s fine.

> I wonder what is done in Nixpkgs...

It may be that the majority of their users don=E2=80=99t live in the regions
affected by recent timezone changes=E2=80=A6

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#31484; Package guix-patches. Full text available.

Message received at 31484 <at> debbugs.gnu.org:


Received: (at 31484) by debbugs.gnu.org; 21 May 2018 17:15:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 21 13:15:19 2018
Received: from localhost ([127.0.0.1]:43197 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fKoP1-0004Fy-Mi
	for submit <at> debbugs.gnu.org; Mon, 21 May 2018 13:15:19 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36583)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1fKoOz-0004Fq-IA
 for 31484 <at> debbugs.gnu.org; Mon, 21 May 2018 13:15:18 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 8035B21F25;
 Mon, 21 May 2018 13:15:16 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute4.internal (MEProxy); Mon, 21 May 2018 13:15:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=cc:content-type:date:from:in-reply-to:message-id:mime-version
 :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=
 mesmtp; bh=TK5HD9IBhpe2kmyV7XxYIO2YcloGd99MGj578+x+L0I=; b=vChfb
 A4QOqHjRi9SbUhWiDbUgjdEmX/X5sXh1YonQR+F7AO737vtTMbdDmBhbtUQ7Sjqy
 +q71iQL8dSYvjEDZeGH5E9gyc3VFrjU8hGUqKwmHQOu94YmLR1tCe5C7XHmUBHGk
 DiM+mYncqSWabUyjzgImK0lwhx/ZtV2ChYKrUk=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; bh=TK5HD9IBhpe2kmyV7XxYIO2YcloGd
 99MGj578+x+L0I=; b=asobmM1gf4eVhujVy1vJU/H9IGZDLbKVRyE1nZIqfwxfA
 Xn81iOwOR3jGMK3CxEmP89HNU6fVKdhQGjdLktqJ0zYhXp4gMkltSpjoMlgbMXmS
 y3iToP3CHMJnpiFt3Dx9vIodsMXbBY+LKnhBSFs2ZA2d972cWb9VIj4QoF0TLelw
 /uGujiHkLkiIvvNCgk66Ca/NWd1zMTxPf5H3gB1y4BLjzH2yvL+aJAJ2hvdamA7n
 NUHdFRf70Td3c19DY0gfw10rY2CxuqzvQ0nEgcszSre+l2xYnWc1+xUwZu/afjF6
 MpnKq4UJggjfQobXzn9ToFA1VuxWQ6PZxrjJ41tHw==
X-ME-Proxy: <xmx:pP4CW0dp8xIiByfcaZUb2deQ7ewyjoA2bpQCNNX89r4HUk3XE0Z_jA>
X-ME-Proxy: <xmx:pP4CW9xsP7ggKmzAraF07v5R19WYzONhylzPuLDVip21-uBV3pRz5Q>
X-ME-Proxy: <xmx:pP4CW1IMSqyVCc7ta0rXzItVRCLEoSyYWk29yrjMZbV5RsoTefQcRQ>
X-ME-Proxy: <xmx:pP4CW2tK5A1M5p9t9XeMfSLkoMpbWEf3LNrbQD-Kk0QASeB_KICL9A>
X-ME-Proxy: <xmx:pP4CW3RZBX7ZeSNVAnCSU3nwIp1Sg8NRMgD0PBe3DUKbH_clYPiW4Q>
X-ME-Proxy: <xmx:pP4CW3CNUZP8xoRccN6Y1m8DvraLYLMf6uiC8C97mJTysYpUQuVnqA>
X-ME-Sender: <xms:pP4CWzhGR-BMrK3Aln6GFrT3umFlZKfINXWv2PU4jkOXwaVTLIeXOg>
Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net
 [76.124.202.137])
 by mail.messagingengine.com (Postfix) with ESMTPA id 0870310264;
 Mon, 21 May 2018 13:15:16 -0400 (EDT)
Date: Mon, 21 May 2018 13:15:14 -0400
From: Leo Famulari <leo@HIDDEN>
To: Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Subject: Re: [bug#31484] [PATCH] gnu: icu4c: Patch zoneinfo directory.
Message-ID: <20180521171514.GA13182@HIDDEN>
References: <20180517125834.7417-1-mail@HIDDEN> <878t8fpfah.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm"
Content-Disposition: inline
In-Reply-To: <878t8fpfah.fsf@HIDDEN>
User-Agent: Mutt/1.9.5 (2018-04-13)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31484
Cc: Christopher Baines <mail@HIDDEN>, 31484 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, May 19, 2018 at 10:21:42PM +0200, Ludovic Court=C3=A8s wrote:
> Hello,
>=20
> Christopher Baines <mail@HIDDEN> skribis:
>=20
> > Replace the hardcoded /usr/share/zoneinfo file with a reference to the =
tzdata
> > package.
> >
> > * gnu/packages/icu4c.scm (icu4c)[inputs]: Add tzdata.
> > [arguments]: Add a patch-zoneinfo-directory phase.

Thanks for noticing this, Chris.

> I wonder if icu4c should instead depend on =E2=80=98tzdata-for-tests=E2=
=80=99, which is
> changed less frequently to avoid full rebuilds?  Maybe Leo can comment.

tzdata-for-tests is meant to be used by packages that don't need current
time zone info. Thus, "for test suites only". We added tzdata-for-tests
to make it cheaper to update tzdata.

If icu4c needs current time zone info, it should not use
tzdata-for-tests. Chris, can you give more context about how icu4c uses
time zone information?

> I hope icu4c also honors the TZDIR environment variable, which would
> allow users to have it refer to the latest version.  Do you know if
> that=E2=80=99s the case?

Yeah, it would be great if icu4c could just use TZDIR, which would allow
us to continue updating the time zones relatively frequently... if icu4c
actually needs the time zone database.

Already, we have problems keeping them up to date because too many
packages depend on them, and that's a problem for Guix users (clocks
will be wrong in some time zones). If we let icu4c depend on tzdata,
then we will only be able to update the time zones during core-updates,
which is not frequent enough. Currently, we can at least update tzdata
on 'staging' braches.

It indicates two general problems, IMO:

1) the lack of build farm capacity
2) it should be possible to update the time zone database without
rebuilding packages (the packages should use TZDIR)

I wonder what is done in Nixpkgs...

--uAKRQypu60I7Lcqm
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlsC/qIACgkQJkb6MLrK
fwj4cA//QU8BC1a43Y+JsuGAIRraab+0E5TwbzVYoIDq2TkEw0Nf8FCuN9l+60hy
z5fbC7V6taUujSLa7TFPiXsuKl1/jsRwqEI+iSxvJb9SIekubkIC8K1r0B60kY86
c8tCjrJRpD+Me2fvWQ2KC+46y5eyKa1YKU8czFj179vs3nUyzuKfLn/APLmKt8nj
lc3I4NpkSIg/Zgh8k0CmvZUqiLB80cKfPcvEOCLONOAIqfnBQjeXyr5Gy4wTbL2D
V0ZVoW11xPUr060o75Qx/wXZVhPKd+vxzqCC2JdvWAQGgzeiNrDsdHTHbY+sCZ+t
2WSZt/tB/DF8+vOtTrg0zaTR/NPSqU4fux6goRZK4J4y5XU76aDjXvs5uy4/uNFC
ik+kkR+EadjW/nSXjy1OtEruJx7/aMTAnXQOCdy3ptwW2t76B0KEhueQzkIg5PV9
qfA63nH4nVA1GLW6AL5pxdNh5c2Mm8cqKjVfawZ1rCaqEHImDYABD7QDwdoffDYH
kQg5FeZjqslutWxnbage8CCrl4e3D8AsZDwOZwOzzATy3j48j3U4uHrITgJuNhHA
UZW0Nsj2+6Ua0Ft6jsgqFtnSMAKVGf7ESbrwoRspNuYT9s/NeaT8S20i1HuDIOeX
lertsTtcupPMjSwziAfQpa3sh4yPR2Xoh/O9ZH44h4zJe0/qZQY=
=A0oP
-----END PGP SIGNATURE-----

--uAKRQypu60I7Lcqm--




Information forwarded to guix-patches@HIDDEN:
bug#31484; Package guix-patches. Full text available.

Message received at 31484 <at> debbugs.gnu.org:


Received: (at 31484) by debbugs.gnu.org; 19 May 2018 20:21:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 19 16:21:55 2018
Received: from localhost ([127.0.0.1]:41354 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fK8MU-0000Oo-Qe
	for submit <at> debbugs.gnu.org; Sat, 19 May 2018 16:21:55 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42479)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1fK8MS-0000Oc-Rm
 for 31484 <at> debbugs.gnu.org; Sat, 19 May 2018 16:21:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1fK8MN-0008Ug-1r
 for 31484 <at> debbugs.gnu.org; Sat, 19 May 2018 16:21:47 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49927)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1fK8MK-0008So-Es; Sat, 19 May 2018 16:21:44 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36958 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1fK8MJ-00009h-VY; Sat, 19 May 2018 16:21:44 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Christopher Baines <mail@HIDDEN>
Subject: Re: [bug#31484] [PATCH] gnu: icu4c: Patch zoneinfo directory.
References: <20180517125834.7417-1-mail@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 30 =?utf-8?Q?Flor=C3=A9al?= an 226 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sat, 19 May 2018 22:21:42 +0200
In-Reply-To: <20180517125834.7417-1-mail@HIDDEN> (Christopher Baines's
 message of "Thu, 17 May 2018 13:58:34 +0100")
Message-ID: <878t8fpfah.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31484
Cc: Leo Famulari <leo@HIDDEN>, 31484 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Hello,

Christopher Baines <mail@HIDDEN> skribis:

> Replace the hardcoded /usr/share/zoneinfo file with a reference to the tz=
data
> package.
>
> * gnu/packages/icu4c.scm (icu4c)[inputs]: Add tzdata.
> [arguments]: Add a patch-zoneinfo-directory phase.

Good catch.

I wonder if icu4c should instead depend on =E2=80=98tzdata-for-tests=E2=80=
=99, which is
changed less frequently to avoid full rebuilds?  Maybe Leo can comment.

I hope icu4c also honors the TZDIR environment variable, which would
allow users to have it refer to the latest version.  Do you know if
that=E2=80=99s the case?

Last thing: this would probably be for =E2=80=98core-updates-next=E2=80=99.

Thanks,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#31484; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 May 2018 12:58:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 17 08:58:55 2018
Received: from localhost ([127.0.0.1]:38047 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fJIUg-0006FK-VJ
	for submit <at> debbugs.gnu.org; Thu, 17 May 2018 08:58:55 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48070)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1fJIUf-0006F8-Le
 for submit <at> debbugs.gnu.org; Thu, 17 May 2018 08:58:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1fJIUV-0006l1-QY
 for submit <at> debbugs.gnu.org; Thu, 17 May 2018 08:58:48 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,UNPARSEABLE_RELAY
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:43785)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mail@HIDDEN>) id 1fJIUV-0006kv-Mn
 for submit <at> debbugs.gnu.org; Thu, 17 May 2018 08:58:43 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39039)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1fJIUU-0006Il-At
 for guix-patches@HIDDEN; Thu, 17 May 2018 08:58:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1fJIUP-0006ik-Cy
 for guix-patches@HIDDEN; Thu, 17 May 2018 08:58:42 -0400
Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:54220)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1fJIUP-0006iW-75
 for guix-patches@HIDDEN; Thu, 17 May 2018 08:58:37 -0400
Received: by mira.cbaines.net (Postfix, from userid 113)
 id A828C16264; Thu, 17 May 2018 13:58:35 +0100 (BST)
Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net
 [86.27.34.15])
 by mira.cbaines.net (Postfix) with ESMTPSA id 7B5D816241
 for <guix-patches@HIDDEN>; Thu, 17 May 2018 13:58:35 +0100 (BST)
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id cad5fc0e
 for <guix-patches@HIDDEN>; Thu, 17 May 2018 12:58:34 +0000 (UTC)
From: Christopher Baines <mail@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: icu4c: Patch zoneinfo directory.
Date: Thu, 17 May 2018 13:58:34 +0100
Message-Id: <20180517125834.7417-1-mail@HIDDEN>
X-Mailer: git-send-email 2.16.3
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Replace the hardcoded /usr/share/zoneinfo file with a reference to the tzdata
package.

* gnu/packages/icu4c.scm (icu4c)[inputs]: Add tzdata.
[arguments]: Add a patch-zoneinfo-directory phase.
---
 gnu/packages/icu4c.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index 57e8fffb3..d34b61745 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -22,6 +22,7 @@
 
 (define-module (gnu packages icu4c)
   #:use-module (gnu packages)
+  #:use-module (gnu packages base)
   #:use-module (gnu packages perl)
   #:use-module (guix licenses)
   #:use-module (guix packages)
@@ -45,7 +46,8 @@
              (base32 "065l3n0q9wqaw8dz20x82srshhm6i987fr9ync5xf9mr6n7ylwzh"))))
    (build-system gnu-build-system)
    (inputs
-    `(("perl" ,perl)))
+    `(("perl" ,perl)
+      ("tzdata" ,tzdata)))
    (arguments
     `(#:configure-flags
       '("--enable-rpath"
@@ -58,7 +60,13 @@
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'chdir-to-source
-          (lambda _ (chdir "source") #t)))))
+          (lambda _ (chdir "source") #t))
+        (add-after 'chdir-to-source 'patch-zoneinfo-directory
+          (lambda* (#:key inputs #:allow-other-keys)
+            (substitute* "common/putil.cpp"
+              (("\\/usr\\/share\\/zoneinfo")
+               (string-append (assoc-ref inputs "tzdata")
+                              "/share/zoneinfo"))))))))
    (synopsis "International Components for Unicode")
    (description
     "ICU is a set of C/C++ and Java libraries providing Unicode and
-- 
2.16.3





Acknowledgement sent to Christopher Baines <mail@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#31484; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.