GNU bug report logs

#31484 [PATCH] gnu: icu4c: Patch zoneinfo directory.

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Full log

Message #11 received at 31484@debbugs.gnu.org (full text, mbox, reply):

Received: (at 31484) by debbugs.gnu.org; 21 May 2018 17:15:20 +0000
From debbugs-submit-bounces@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@debbugs.gnu.org>)
	id 1fKoP1-0004Fy-Mi
	for submit@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@famulari.name>) id 1fKoOz-0004Fq-IA
 for 31484@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@famulari.name>
To: Ludovic Courtès <ludo@gnu.org>
Subject: Re: [bug#31484] [PATCH] gnu: icu4c: Patch zoneinfo directory.
Message-ID: <20180521171514.GA13182@jasmine.lan>
References: <20180517125834.7417-1-mail@cbaines.net> <878t8fpfah.fsf@gnu.org>
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@gnu.org>
User-Agent: Mutt/1.9.5 (2018-04-13)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31484
Cc: Christopher Baines <mail@cbaines.net>, 31484@debbugs.gnu.org
X-BeenThere: debbugs-submit@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
[Message part 1 (text/plain, inline)]
On Sat, May 19, 2018 at 10:21:42PM +0200, Ludovic Courtès wrote:
> Hello,
> 
> Christopher Baines <mail@cbaines.net> skribis:
> 
> > 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 ‘tzdata-for-tests’, 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’s 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...
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 03:50:57 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.