From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SCUKOG75QmSFawEASxT56A (envelope-from ) for ; Fri, 21 Apr 2023 23:00:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SH4QOG75QmRVGgEA9RJhRA (envelope-from ) for ; Fri, 21 Apr 2023 23:00:30 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 99CD1BADD for ; Fri, 21 Apr 2023 23:00:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppxrT-0003mC-Ay; Fri, 21 Apr 2023 17:00:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppxrQ-0003lH-EL for guix-patches@gnu.org; Fri, 21 Apr 2023 17:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ppxrP-000664-B1 for guix-patches@gnu.org; Fri, 21 Apr 2023 17:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ppxrO-000585-SQ for guix-patches@gnu.org; Fri, 21 Apr 2023 17:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63006] Time zone database improvements Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Apr 2023 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63006 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 63006@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168211078819659 (code B ref -1); Fri, 21 Apr 2023 21:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Apr 2023 20:59:48 +0000 Received: from localhost ([127.0.0.1]:41282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppxr9-000571-MN for submit@debbugs.gnu.org; Fri, 21 Apr 2023 16:59:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:50638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppxr7-00056t-Tq for submit@debbugs.gnu.org; Fri, 21 Apr 2023 16:59:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppxr7-0003hw-Hy for guix-patches@gnu.org; Fri, 21 Apr 2023 16:59:45 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppxr5-00060b-T7 for guix-patches@gnu.org; Fri, 21 Apr 2023 16:59:45 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 53BA65C00C6; Fri, 21 Apr 2023 16:59:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 21 Apr 2023 16:59:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=mesmtp; t=1682110783; x=1682197183; bh=CYy8EzPi2j0ltGAsNRgjMI CpB//+mOSEl8Q56WDgCVI=; b=Myq9jQYyD57DY5+1/pSsHZF1BeXfbGgF3WyNEG 2olCF/RNPiRDY9KnBbFFB9gASMYNDNKK5xs65VwV1PIP/S6Ny5zVhZ2kNn2e/WsG XEEDeGv6QtY0b0JrDidepq2UAWDIq523G1FD21W5/JXzWrPmfYyN3EpPBdQC1Wep on95I= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682110783; x=1682197183; bh=CYy8EzPi2j0ltGAsNRgjMICpB//+mOSEl8Q 56WDgCVI=; b=VAhi2UuA1ycUD7s9uAIbDatUCM2XdBlC6z37fsCMe5Knkrapmrj qiMZ1fL5EXTdEcj5Nu0CGfoJSz+pDENUiU+Sgjl9WM33+OeMSDLR4uZPaVBze834 /nBc5Ou/Xgw12GeYtzWNe9q7lXyPyP9tAgT7H3b9Zxhg+skU2YBlHWEJJ6qiYiae R/tWgjG3mOMROkGbGNPSvjyswau65k3BO0exkfEMuwnUTkAZXu9D7x3K2IooI1gg IZX7LpMl5n5+ofcj7xkeCkPfV7lv37v2/hsPyL4K7wgr+29/5mSlolx2gcn6JoLL z+ZhfY6pthxhKTQ+9zk6sw7AxZNfawwOs1w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtgedgudehhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehttdertd dttddvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghr ihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeejudeggedufeeltefhtdejjeevtdffhf etueeftdffvdehhffgudfgieeikedvfeenucffohhmrghinhepghhithhhuhgsrdgtohhm pdhfvgguohhrrghprhhojhgvtghtrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 21 Apr 2023 16:59:43 -0400 (EDT) Date: Fri, 21 Apr 2023 16:59:41 -0400 From: Leo Famulari Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=66.111.4.29; envelope-from=leo@famulari.name; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682110825; a=rsa-sha256; cv=none; b=MWcPycX91rSYchlZz93oWmJqqLNQ/8MlD8yYBJTp9FTi+IDJnxYEa3D+9ZjRFOaCkXjmZD gmyOWCNQA34XQNeJQ4YgMSei9PtT5n1ss9NE/2YCJ0dd0sJGVY1qpjdTYC2V2JMM2KLKcJ UlmE44bpASukTRXKCK382K+ittPOqmtpxvy6AMX8AKUuRsH/la337PFYwdoyfaxzBARvzq tVQPOutj/idbFIUc2f1S9c9gl3TpMAJO32SHnhIfgvlFMYEHOzqUcW9RN4Kt0rcscOFsYW bE5rOvpJ5PuB9t6la4RfnNX78nEKjGvmzlBKQnF/e2TdPQ0u8RjKm6FrMeZkQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=Myq9jQYy; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=VAhi2UuA; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682110825; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=CYy8EzPi2j0ltGAsNRgjMICpB//+mOSEl8Q56WDgCVI=; b=P8PSj+zOn3lO89dHBKY9Xm9LJwSOnMQm2NFVQXV0wlzAdCCinmgC5u1sXwq2oioY1Dn0pI mQ9qP7c07oUK4EM/juj9XcbnN0XUvgXlZRtboMNY6IPn5j2b0pZ1lDlP0VLfH7ELSfoZh+ F8oKp8ACZ6ZxtFKIcKVuOFUp6jSXtjJ3US1VV4Qt2fmJTIt6SzctJN13lACx0a7Vy5t4vN YRnsx+nXtJTZYFfJJfJqOuF22GqujnhNkCJTLQnx473XH4B6SWCKHklmgShr2GBsMK9BXt Sc7cuGUvQYQaBq7ywmy9f6MkktkU5tQhRdZpiQ06QfP9dfGPzNCOQDdA2uE/Rg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=Myq9jQYy; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=VAhi2UuA; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.49 X-Spam-Score: 0.49 X-Migadu-Queue-Id: 99CD1BADD X-TUID: w5wJVLRLRwLR Currently, almost the entire distro is rebuilt when we need to update the time zone database, tzdata. We need to do this a few times a year, and it doesn't make any sense for packages to keep a static reference to this database which will be out of date in a few months. Instead, they should look up the time zones at run-time, which most programs that actually use time zones do. These patches start improving the situation. Libical has committed a fix for this almost 5 years ago, but still hasn't released it, so we cherry-pick Nix's patch: https://github.com/libical/libical/issues/350 Go wants to embed a copy of the database in case one cannot be found. I don't see why having an incorrect time zone is better than no time zones, so here's a patch to remove the embedded copy. And after those two changes, we are able to update tzdata to the current version. We have more work to do to remove or replace python-pytz, which unfortunately contains its own embedded copy of the database and a few thousand dependents. Luckily, it seems that Python 3.9 has made pytz obsolete: https://fedoraproject.org/wiki/Changes/DeprecatePytz#Deprecate_pytz And there are still some small reverse dependency graphs of packages that mistakenly depend on tzdata.