From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Mar 2017 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 26238@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149037258113948 (code B ref -1); Fri, 24 Mar 2017 16:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Mar 2017 16:23:01 +0000 Received: from localhost ([127.0.0.1]:42656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crRzL-0003ck-0t for submit@debbugs.gnu.org; Fri, 24 Mar 2017 12:23:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crRzG-0003cT-Pc for submit@debbugs.gnu.org; Fri, 24 Mar 2017 12:22:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crRz9-0005vy-RV for submit@debbugs.gnu.org; Fri, 24 Mar 2017 12:22:45 -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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1crRz9-0005vu-NZ for submit@debbugs.gnu.org; Fri, 24 Mar 2017 12:22:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crRz7-0006Cj-SV for guix-patches@gnu.org; Fri, 24 Mar 2017 12:22:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crRz3-0005uc-Ka for guix-patches@gnu.org; Fri, 24 Mar 2017 12:22:41 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59506) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1crRz3-0005uB-9x for guix-patches@gnu.org; Fri, 24 Mar 2017 12:22:37 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 09FB7208EC; Fri, 24 Mar 2017 12:22:36 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Fri, 24 Mar 2017 12:22:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=JFx jOBNiTj7CRbU3cBjzBMpZTrIHPziWQBEKivJ75Zc=; b=KyYNfEMLohJfHWcq0T5 3F7B/xF6ltYKfAk+H3Tonu0V35qmQwb8h4Crke+FMTcHLNVr724M/t2gp9gpzO3F lu7nFjKeX0gBdjDo29rlx/2VWq01kYDFQ+q9CkDKjGXFTA96Ec0AsqziDmAzgJh0 /wdrqULf9uT1NfhShcp3FZZQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=JFxjOBNiTj7CRbU3cBjzBMpZTrIHPziWQBEKivJ75 Zc=; b=YhhzYoQRv6kfc22quQzV0G1GZKoLw+I65ea73zvYt+MdlWYuqZhgbc60v aXT50Hr9B7xuyidQgosi60D7CfJDwhDqyEZqhKi/9Shkm1lWm/V3XNirl4GAVIk7 61oFNnaOkh2xm/XrUswS5zkIjG+crzPqD6YWXqvsTR1WkLQ8W82PQ/ImBHMlk3rH pG9++RObH7ec/bD1a4bHyC1L88m6nrIowwNLPHxEm+COVNvxTYsUX3EOm2PFEqx0 xjFF22LY9h7AmfV2Owgoo9YZqQqqdPV4ixubVhxXlrAEy3SDZE/Ttc59yY2nFbOt 94iCFfO/HNQ3zNq18JvOyBdVmoTrw== X-ME-Sender: X-Sasl-enc: Or3PPguWtDt5MlR0m58h/1e81oNRjVQHZUw757uV2yu9 1490372555 Received: from localhost (unknown [172.56.28.226]) by mail.messagingengine.com (Postfix) with ESMTPA id AC08324371 for ; Fri, 24 Mar 2017 12:22:35 -0400 (EDT) Date: Fri, 24 Mar 2017 12:22:34 -0400 From: Leo Famulari Message-ID: <20170324162234.GA32596@jasmine> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline User-Agent: Mutt/1.8.0 (2017-02-23) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) --1UWUbFP1cBYEclgG Content-Type: multipart/mixed; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline After discussion on #guix, Ludovic and I decided to try grafting coreutils to fix a bug in `date` that breaks converting between time zones. https://gnunet.org/bot/log/guix/2017-03-24#T1333113 But, I'm not sure how to handle coreutils-final from (gnu packages commencement). Any advice? --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-WIP-coreutils-Fix-a-time-zone-bug-in-date-8.26.patch" Content-Transfer-Encoding: quoted-printable =46rom 25897d2d2201251c7e98d938f9a78e00c4f6f27d Mon Sep 17 00:00:00 2001 =46rom: Leo Famulari Date: Fri, 24 Mar 2017 12:18:21 -0400 Subject: [PATCH] WIP: coreutils: Fix a time-zone bug in date 8.26. * gnu/packages/base.scm (coreutils)[replacement]: New field. (coreutils/fixed): New variable. * gnu/packages/commencement.scm (coreutils-final): *** Help wanted :) *** * gnu/packages/patches/coreutils-fix-time-zone-conversion.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/local.mk | 1 + gnu/packages/base.scm | 13 +++ .../coreutils-fix-time-zone-conversion.patch | 114 +++++++++++++++++= ++++ 3 files changed, 128 insertions(+) create mode 100644 gnu/packages/patches/coreutils-fix-time-zone-conversion= =2Epatch diff --git a/gnu/local.mk b/gnu/local.mk index c9e3131c0..72cc93b1b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -515,6 +515,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/cmake-fix-tests.patch \ %D%/packages/patches/coda-use-system-libs.patch \ %D%/packages/patches/coreutils-fix-cross-compilation.patch \ + %D%/packages/patches/coreutils-fix-time-zone-conversion.patch \ %D%/packages/patches/cpio-CVE-2016-2037.patch \ %D%/packages/patches/cpufrequtils-fix-aclocal.patch \ %D%/packages/patches/cracklib-CVE-2016-6318.patch \ diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index ba9c820ef..4157525b6 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -284,6 +284,7 @@ used to apply commands with arbitrarily long arguments.= ") (define-public coreutils (package (name "coreutils") + (replacement coreutils/fixed) (version "8.26") (source (origin (method url-fetch) @@ -338,11 +339,23 @@ functionality beyond that which is outlined in the PO= SIX standard.") (license gpl3+) (home-page "http://www.gnu.org/software/coreutils/"))) =20 +(define coreutils/fixed + (package + (inherit coreutils) + (source + (origin + (inherit (package-source coreutils)) + (patches + (append + (origin-patches (package-source coreutils)) + (search-patches "coreutils-fix-time-zone-conversion.patch"))))= ))) + (define-public coreutils-minimal ;; Coreutils without its optional dependencies. (package (inherit coreutils) (name "coreutils-minimal") + (replacement #f) (outputs '("out")) (inputs '()))) =20 diff --git a/gnu/packages/patches/coreutils-fix-time-zone-conversion.patch = b/gnu/packages/patches/coreutils-fix-time-zone-conversion.patch new file mode 100644 index 000000000..56a86b3b5 --- /dev/null +++ b/gnu/packages/patches/coreutils-fix-time-zone-conversion.patch @@ -0,0 +1,114 @@ +Fixes a bug in `date` that prevents converting between time zones: + +https://bugs.debian.org/851934 + +Patch copied from upstream source repository: + +https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=3Db14be5085cd1a= efd473a000456b21270e6070711 + +From b14be5085cd1aefd473a000456b21270e6070711 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Fri, 20 Jan 2017 18:24:02 -0800 +Subject: [PATCH] date: fix TZ=3D regression + +Problem reported by Paul Wise for Debian, in: +https://bugs.debian.org/851934 +This is fallout from the fix for GNU Bug#23035. +* src/date.c (batch_convert): New args TZ and TZSTRING. +All uses changed. +(batch_convert, main): Adjust to parse_datetime2 API change. +(main): Allocate time zone object. +* tests/misc/date-debug.sh: Fix incorrect test case, +caught by the fix. +* tests/misc/date.pl: Test the fix. +--- + src/date.c | 14 +++++++++----- + tests/misc/date-debug.sh | 4 ++-- + tests/misc/date.pl | 6 ++++++ + 3 files changed, 17 insertions(+), 7 deletions(-) + +diff --git a/src/date.c b/src/date.c +index eed09016d..eb7c624e3 100644 +--- a/src/date.c ++++ b/src/date.c +@@ -286,7 +286,8 @@ Show the local time for 9AM next Friday on the west co= ast of the US\n\ + Return true if successful. */ +=20 + static bool +-batch_convert (const char *input_filename, const char *format, timezone_t= tz) ++batch_convert (const char *input_filename, const char *format, ++ timezone_t tz, char const *tzstring) + { + bool ok; + FILE *in_stream; +@@ -320,7 +321,8 @@ batch_convert (const char *input_filename, const char = *format, timezone_t tz) + break; + } +=20 +- if (! parse_datetime2 (&when, line, NULL, parse_datetime_flags)) ++ if (! parse_datetime2 (&when, line, NULL, ++ parse_datetime_flags, tz, tzstring)) + { + if (line[line_length - 1] =3D=3D '\n') + line[line_length - 1] =3D '\0'; +@@ -502,10 +504,11 @@ main (int argc, char **argv) + } + } +=20 +- timezone_t tz =3D tzalloc (getenv ("TZ")); ++ char const *tzstring =3D getenv ("TZ"); ++ timezone_t tz =3D tzalloc (tzstring); +=20 + if (batch_file !=3D NULL) +- ok =3D batch_convert (batch_file, format, tz); ++ ok =3D batch_convert (batch_file, format, tz, tzstring); + else + { + bool valid_date =3D true; +@@ -545,7 +548,8 @@ main (int argc, char **argv) + if (set_datestr) + datestr =3D set_datestr; + valid_date =3D parse_datetime2 (&when, datestr, NULL, +- parse_datetime_flags); ++ parse_datetime_flags, ++ tz, tzstring); + } + } +=20 +diff --git a/tests/misc/date-debug.sh b/tests/misc/date-debug.sh +index 06de8dd37..48f460506 100755 +--- a/tests/misc/date-debug.sh ++++ b/tests/misc/date-debug.sh +@@ -48,10 +48,10 @@ date: new date/time =3D '(Y-M-D) 1990-12-14 00:00:= 00 TZ=3D+09:00' + date: '(Y-M-D) 1990-12-14 00:00:00 TZ=3D+09:00' =3D 661100400 epoch-secon= ds + date: after time adjustment (+0 hours, -90 minutes, +0 seconds, +0 ns), + date: new time =3D 661095000 epoch-seconds +-date: output timezone: -06:00 (set from TZ=3D"America/Belize" environment= value) ++date: output timezone: +09:00 (set from TZ=3D"Asia/Tokyo" environment val= ue) + date: final: 661095000.000000000 (epoch-seconds) + date: final: (Y-M-D) 1990-12-13 13:30:00 (UTC0) +-date: final: (Y-M-D) 1990-12-13 07:30:00 (output timezone TZ=3D-06:00) ++date: final: (Y-M-D) 1990-12-13 22:30:00 (output timezone TZ=3D+09:00) + Thu Dec 13 07:30:00 CST 1990 + EOF +=20 +diff --git a/tests/misc/date.pl b/tests/misc/date.pl +index 519c2474d..f026909bf 100755 +--- a/tests/misc/date.pl ++++ b/tests/misc/date.pl +@@ -291,6 +291,12 @@ my @Tests =3D + {ERR =3D> "date: invalid date 'TZ=3D\"\"\"'\n"}, + {EXIT =3D> 1}, + ], ++ ++ # https://bugs.debian.org/851934#10 ++ ['cross-TZ-mishandled', "-d 'TZ=3D\"EST5\" 1970-01-01 00:00'", ++ {ENV =3D> 'TZ=3DPST8'}, ++ {OUT =3D> 'Wed Dec 31 21:00:00 PST 1969'}, ++ ], + ); +=20 + # Repeat the cross-dst test, using Jan 1, 2005 and every interval from 1.= =2E364. +--=20 +2.12.0 + --=20 2.12.0 --/04w6evG8XlLl3ft-- --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAljVR8QACgkQJkb6MLrK fwg65BAAw7AwRdJ4HnZM96ckHsTjE/HwrQwE0tF1j3F/H38oGJN6Rl2baXA5R4tt rYTbIm/E23NzT6dATJ6L+5F7pzrDzZaaYGcorrJMYApBpvIWbM+QSTgOAlFpMCKI blcyd6poCpnt74zUputy2y/u9ocLaMYJPF1nxxNwMjl7MGS6uneQKmWCGQ/JL3y/ d3vTXotG+yjsa14HYQxs2Y3QmmvwJtuuBXWPf3Yrj4CRQ/AFYjpksbMJQ1LghcZO 5quzpdQrdG/hOGde9Wn4iijOUE9XXBZ8Iy6ro28zgK6KkLJwKLjs4L2zxI18Sd5i 6tnuwYY0R10kU6oS+Wi5WjRvjXm0DDNDe6OpiRc9wNeTpBKdCRf4B1SAnhvgdPxK MoPti60uAX2VOpSsvIyR017n3B1ArEQmQEVeJLLFOLbrLNYoOA31dsGUF+m/Dfar qpR3iL6Ei6qrJmwbGKS7BxXY55xYNZ5+VHQmdyOR9/y1ZkA+dO5RtG+Agb79tSfl nCb3ZqueSGy6kQdrhZURyKFbNw4+AgiVIZBZqtJXCyudsLKqENTOD48x8AXzP1A+ NBNYSni/8hTvKyS8Yn3LUVFr5UZwhr2AqO2lDkKwh21bBZzobcGfLgJnrYsg/DUL Vvt020w51PxxpJmz77wF6z5jqGFWYQ3/gCTUnPKTvwcsIF78vpU= =qGRA -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Mar 2017 18:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Famulari , 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.14903809698456 (code B ref 26238); Fri, 24 Mar 2017 18:43:01 +0000 Received: (at 26238) by debbugs.gnu.org; 24 Mar 2017 18:42:49 +0000 Received: from localhost ([127.0.0.1]:42747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crUAj-0002CJ-Jb for submit@debbugs.gnu.org; Fri, 24 Mar 2017 14:42:49 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:51297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crUAh-0002CB-7w for 26238@debbugs.gnu.org; Fri, 24 Mar 2017 14:42:48 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 51ABC20AB4; Fri, 24 Mar 2017 14:42:45 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 24 Mar 2017 14:42:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=9Dm5NSVMYqyJxfHX7uI0bArjGqKqn4Z7X/e/4BNDr UA=; b=A9bhM8DbhG5XmOEwBz0bUTvzG1OcuTiP8c+csoCcqaifjUqZAtFuFPY3I sBXy0h7lbu8/mADjvLYyNqnzYRBNO5Qdpm1CMKiyLAjJkfCqdgENmPGunoQRRx/W 8p1rBYgV5xIrzo/Hy8Bov/TfGE6uBSeiUqrajs3dFpJ+tC5NSd8VWzSNXCsKh0Kl cf/YkWl+cVs9WHZAMcOMZzd9WjsBtQbGpR1yUoRvaBrW0kQcmtzlzQhgJQn7e+CT a0cwbrMBC38gNmRWuZEqwXUCBBxIppfAdlG+zR8DGf+lo0YQWof4ZkPZe0Hh9j5o ktRRnVPuatmcIjwxl2Q7TeTJhQzrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=9Dm5NSVMYqyJxfHX7u I0bArjGqKqn4Z7X/e/4BNDrUA=; b=jcV0Z1DjxeeHVmS6FgnbqBwz98IycZwMVI W9tiR4Yku7dD8s30s8AV+77NXS/4BHSy1zRX72v/V+192YYsPc3IgbUPD2/DIuV4 Ab94LjHnqJJWnbuJ4wQspbeU19YRHuDGTv5ZUL60KbOYiRTR/FB9Bb1ASr0izfL/ nKjG5wW0mzOO1BqwWlejQ7JXU4CONLEnw98+rHQIUufAkYUC7t3aRm9q9OSAX5Y7 CrHpXzxZ3HWzSMt7JY+wJmJE7rBaaQ4tw7VMnq+iYelWUGksp++yrITzVwLIgNsy unW3WZOGlVQF1XdjPGXURZUvtBgwIyZwX9WtlCKg9BQPfsxm5Yhw== X-ME-Sender: X-Sasl-enc: R5m145HxuFop5ljmT3yOopC8mEw6JOptNK7DsOlfpR+7 1490380964 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id D70F07E46B; Fri, 24 Mar 2017 14:42:44 -0400 (EDT) From: Marius Bakke In-Reply-To: <20170324162234.GA32596@jasmine> References: <20170324162234.GA32596@jasmine> User-Agent: Notmuch/0.24 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Fri, 24 Mar 2017 19:42:43 +0100 Message-ID: <87a88ay0rg.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Leo Famulari writes: > After discussion on #guix, Ludovic and I decided to try grafting > coreutils to fix a bug in `date` that breaks converting between time > zones. > > https://gnunet.org/bot/log/guix/2017-03-24#T1333113 > > But, I'm not sure how to handle coreutils-final from (gnu packages > commencement). > > Any advice? It looks like coreutils-final can e.g. (inherit (coreutils) (replacement #f)). However, I'm unable to test it since the datetime fix requires this patch to the bundled gnulib: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=4e6e16b3f43ce96302b1e52e48730c1f15e18c14 ...but it doesn't apply cleanly: "5 out of 24 hunks FAILED -- saving rejects to file lib/parse-datetime.y.rej" Maybe we should try to graft 8.27 instead? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljVaKMACgkQoqBt8qM6 VPpLDAf+JzICuR8Jp3dJfXAje0rHLxXtWmJLdHAhwRrwdoNyuqwUXNXFTJVmYEv0 dtA7KMobACPpJQc3XaPJd0sjCwVNWkThdEHb8c944goYfl3S1glHdZ6qnYFETJpb z97jzBEDTXrH352rWcUhnYiio3TULu8WkQQ5OJP5vXhcIUROKvcNrOPbF+doxuHr BuEmS+BiNct89Jyjc1rrQlQt0m2xbe7h3fSzP+BWffdGFwGGSrdyqja8PlfxPVT5 AiOI9Rwfj0sj3ZMU06CF0epakUl2Ven2xLAGap/fVyGqJGiVuM2LxtEt3/xzABp4 1kmjUkZbi/PnyJoXVDegbluBOhyeuQ== =pJDf -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Mar 2017 19:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Famulari , 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149038420521087 (code B ref 26238); Fri, 24 Mar 2017 19:37:02 +0000 Received: (at 26238) by debbugs.gnu.org; 24 Mar 2017 19:36:45 +0000 Received: from localhost ([127.0.0.1]:42806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crV0v-0005U3-2D for submit@debbugs.gnu.org; Fri, 24 Mar 2017 15:36:45 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crV0s-0005Tr-IX for 26238@debbugs.gnu.org; Fri, 24 Mar 2017 15:36:43 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2356820A76; Fri, 24 Mar 2017 15:36:42 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 24 Mar 2017 15:36:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=1Kc7n2yBukN0A6mYpOv4YJmLE/hPweIQMPSpDN4W9 /Y=; b=UpqEdCLJZhMdRuFATHZONr4btSgPFmEuUfSjFOABzXHo/u3vtK7+nHqds Vv8x7HPMXWDJoGvDDUfZwCWQokofY6E1XB9qVGGHlJh5Lhy/lkfR1eriK0GhZ7CH 4CbK1uadalp8TMfI6li4uQbkUO2Lbu/gMr5kf9LyA9kWP0PmiHVxKiZ62YbKgdXP hmsVW6xFd33Dgz8r4sjObInWTndtyXw+InIV/D9yPHoNEZ1TkkbHYjLifIt6/2m1 nmRzvEuloZF9qjv/END9LtHYL4f4XDQIb1UfxT5VS6wAEIJf5rISo5N9QZ6SbsI8 DLaH/3bnUKvYFaUSaf7T3vOoDqj/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=1Kc7n2yBukN0A6mYpO v4YJmLE/hPweIQMPSpDN4W9/Y=; b=idHSXrzGbpUkPpk583HAAj9mP6JNa6NJPw cBhWZf36UgRvR5tAwQlFc5oVPt33bisKYO0Ln71bWPMr2Zstg2jdy9L1amDOL71o euj6lYoB4aFzESBhaSQTdWcw8BqnstTXtZKReUtNiKBc7rM5X1QsNuq9en+M/Omh nVRuTrFKf9KwadghRc2AuyRDncKCfli1I0Mu9Ld1c3f/tyR3AjBJIDc7TH91oe4w YT5e7zCwZvw010vsC7XnDMa2N3/KhQAAEDUpayiY1dAtJqswfNt3xpsqHcyMzSqM tWuaIahDoaCrY1EJqdHquNxbbqU8na1bU/DeQs8yOKrVR7YVV5xg== X-ME-Sender: X-Sasl-enc: gBnlA7tZF8/AYOnibBoH78HNcBmBlHOD6TNpE5Fqsn8U 1490384201 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id ABBAE7E352; Fri, 24 Mar 2017 15:36:41 -0400 (EDT) From: Marius Bakke In-Reply-To: <87a88ay0rg.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20170324162234.GA32596@jasmine> <87a88ay0rg.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Notmuch/0.24 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Fri, 24 Mar 2017 20:36:40 +0100 Message-ID: <877f3exy9j.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Marius Bakke writes: > Leo Famulari writes: > >> After discussion on #guix, Ludovic and I decided to try grafting >> coreutils to fix a bug in `date` that breaks converting between time >> zones. >> >> https://gnunet.org/bot/log/guix/2017-03-24#T1333113 >> >> But, I'm not sure how to handle coreutils-final from (gnu packages >> commencement). >> >> Any advice? > > It looks like coreutils-final can e.g. > (inherit (coreutils) > (replacement #f)). I tried (package (inherit coreutils) (replacement #f)) in coreutils-final, but could not get it to work either. The implicit build inputs are still getting rebuilt. So, I'm lost. :-) > Maybe we should try to graft 8.27 instead? How many days does Hydra use on a full rebuild on the different arches? Not counting the jobs that need to be restarted manually, disk space management etc.. :-( --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljVdUgACgkQoqBt8qM6 VPpPfgf/eCaiGJ14EmSLquFayMz6Vka2Wv/Qf2rnQH2Qbr7MKbmpoXXj1//pZR/9 mnnj6DUkI50HjRHJHYgYUVx34uR4Um0EMdDXWS0eJA6IRFvQQbP/W+vN4eX9Ejil sqdCQdk3FYcj1HpDn1iEy0PEM5EQY9YW6cgln8CtKNqBWXIIxjNoSWTKRA4/vGja +tUGyxkZwQRMugh7EygM72DAsM+BH7PLdUVdBtxjk+IdUKZoz6A4JQ4Ift+h9nPn WbUJ99cI38+UU5ORtuMja0VSthtBRSyZYdYJlGG+UNSP0rCTDWbsIKyY90rLT5Nk cly9iMV9l2dwO8xzYJXW2Idv2ps7Tw== =NmAM -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Mar 2017 06:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Famulari , 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.14905107307332 (code B ref 26238); Sun, 26 Mar 2017 06:46:01 +0000 Received: (at 26238) by debbugs.gnu.org; 26 Mar 2017 06:45:30 +0000 Received: from localhost ([127.0.0.1]:44946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cs1vd-0001uC-RR for submit@debbugs.gnu.org; Sun, 26 Mar 2017 02:45:30 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cs1vc-0001u4-4i for 26238@debbugs.gnu.org; Sun, 26 Mar 2017 02:45:28 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EF8A320B2B; Sun, 26 Mar 2017 02:45:27 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sun, 26 Mar 2017 02:45:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=loDmJamfXraXIASPneFrKmIcnpQwOSztYF8aylFSa WA=; b=soJBknktsgoOPyZ3lWQp2vwRWFWYFiP1REP0AwKx6cNLrmxH87uPWxgT2 JgUXLWcHiDQ9YlMz7HRN+6sHAXoSV5Tza+uoC8nAzEXDegsjfzcy0cp2CFn0sIwK IxuqATErzyF+YVzPhITKNwd1agGQwQ+CyKEhCBt1mtAQniN8919iELAYJCkW1XuU TPipXEhWoyiv0JmSy2KeHCGQw0ysWYmrDl0bEsFPmPCWbWGnHotmLkMu2WNg4ndv iiCKyMlQLqpXdXe5VGgMcJiATOD0ovAULi0MtU5pqFA4gOjDRf3Dckj1N8Z8lod3 UcQYkU+Cl2TCscsNewskVgg4oLgMg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=loDmJamfXraXIASPne FrKmIcnpQwOSztYF8aylFSaWA=; b=sZV2IaUO5xnep1QK1d8/K6jL9Eeu1hNZSh uWWdUtpEWSa+tjuMS/vD8N6KBRN2ZO4Yl2m+ZBHJDaEAunXY3DEufDy9YWDXekS1 k6XyZliZyR/PpnvbSUzb6hVnleMEricUVHeIoJF+CVCuWYcYac1OG4dago5LkJ/p 50YB7QrPeH11auki4Hd88bDSoLiyku5ny8ZQrxwtNPCnHBC2DA+jf1FC/iq68MKa 6jR2/S+tZ6Ti1/yUexbWsHS9gTygIFL23cWlnn9eZhP08vuifc4C1aiAdF7Uipqk T9hoSMJE4HjWBUg01XhRc8+/lBhSGb2zrKpOShWcOUZ6tXKDbBXw== X-ME-Sender: X-Sasl-enc: gwtpnqDUKFug5KuzcMsTu3ZkIPI3bv6kwfh4uU8HzfrC 1490510727 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 85D83242B6; Sun, 26 Mar 2017 02:45:27 -0400 (EDT) From: Marius Bakke In-Reply-To: <20170324162234.GA32596@jasmine> References: <20170324162234.GA32596@jasmine> User-Agent: Notmuch/0.24 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Sun, 26 Mar 2017 08:45:25 +0200 Message-ID: <87r31kwn7e.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Leo Famulari writes: > After discussion on #guix, Ludovic and I decided to try grafting > coreutils to fix a bug in `date` that breaks converting between time > zones. > > https://gnunet.org/bot/log/guix/2017-03-24#T1333113 How serious is this problem? Maybe we can try to do another core-updates round immediately after the current iteration is merged. Is it something we can live with for 3-4 weeks? I already have updates for perl, ed, xorg and others in my queue, not to mention coreutils and Guile 2.2. WDYT? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljXY4YACgkQoqBt8qM6 VPozZQgA0L1ScbbgGxdy1w4TYBwGvJENh4K/P11ZXJPFpuOyuDZQpNNx8aylRLOU NPeL78Ib4lKByQ18bij//3czlMKnGn4e5yEZWgh3M97z7f7dWWvZ84OgOTa1ouOP 2/s2roeKexm7xAHmLIvYjVj7ppzpz4f5Z9Jyqhb+QQCseRf+HzXXl3PqB86u5aJX 7GwgGXLI5jLw3xSpaXYU5+AS34tblB7vHULsgDgbSI0W2lErhh5ZSo7aR5qx9gr/ vXUmHdc54WYU1/TbrI0jS6bhU696F96vpJ47czB37Fii3tZ/g6TTXRovbveO4AgI rEUc6LxpjIbuBP8muD8ETUbgtv6EkA== =i/ix -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Mar 2017 14:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Famulari Cc: 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149053757719455 (code B ref 26238); Sun, 26 Mar 2017 14:13:01 +0000 Received: (at 26238) by debbugs.gnu.org; 26 Mar 2017 14:12:57 +0000 Received: from localhost ([127.0.0.1]:46005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cs8ud-00053i-Mm for submit@debbugs.gnu.org; Sun, 26 Mar 2017 10:12:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cs8uZ-00053N-UF for 26238@debbugs.gnu.org; Sun, 26 Mar 2017 10:12:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cs8uQ-0002Xz-M4 for 26238@debbugs.gnu.org; Sun, 26 Mar 2017 10:12:46 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cs8uQ-0002Xp-Ig; Sun, 26 Mar 2017 10:12:42 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:35270 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cs8uP-0002os-QG; Sun, 26 Mar 2017 10:12:42 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170324162234.GA32596@jasmine> Date: Sun, 26 Mar 2017 16:12:40 +0200 In-Reply-To: <20170324162234.GA32596@jasmine> (Leo Famulari's message of "Fri, 24 Mar 2017 12:22:34 -0400") Message-ID: <87d1d4p1nr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Leo, Leo Famulari skribis: > But, I'm not sure how to handle coreutils-final from (gnu packages > commencement). I think =E2=80=98coreutils-final=E2=80=99 doesn=E2=80=99t need the replacem= ent because the =E2=80=98coreutils=E2=80=99 package that we get on GuixSD or when typing = =E2=80=98guix package -i coreutils=E2=80=99 is not =E2=80=98coreutils-final=E2=80=99. =E2=80=98-final=E2=80=99 is only used as an implicit input of =E2=80=98gnu-= build-system=E2=80=99, where the =E2=80=98date=E2=80=99 bug is arguably not a problem. So for =E2=80=98coreutils-final=E2=80=99, I=E2=80=99d just do: (replacement #f) WDYT? > From 25897d2d2201251c7e98d938f9a78e00c4f6f27d Mon Sep 17 00:00:00 2001 > From: Leo Famulari > Date: Fri, 24 Mar 2017 12:18:21 -0400 > Subject: [PATCH] WIP: coreutils: Fix a time-zone bug in date 8.26. > > * gnu/packages/base.scm (coreutils)[replacement]: New field. > (coreutils/fixed): New variable. > * gnu/packages/commencement.scm (coreutils-final): *** Help wanted :) *** > * gnu/packages/patches/coreutils-fix-time-zone-conversion.patch: New file. > * gnu/local.mk (dist_patch_DATA): Add it. [...] > (define-public coreutils-minimal > ;; Coreutils without its optional dependencies. > (package > (inherit coreutils) > (name "coreutils-minimal") > + (replacement #f) > (outputs '("out")) > (inputs '()))) For good measure, =E2=80=98coreutils-minimal=E2=80=99 should also have: (source (package-source coreutils/fixed)) so that it gets the fix (nothing depends on =E2=80=98coreutils-minimal=E2= =80=99, so there=E2=80=99s no need for a graft here.) Thanks! Ludo=E2=80=99. From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Mar 2017 20:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149055848726441 (code B ref 26238); Sun, 26 Mar 2017 20:02:01 +0000 Received: (at 26238) by debbugs.gnu.org; 26 Mar 2017 20:01:27 +0000 Received: from localhost ([127.0.0.1]:46211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csELp-0006sI-Si for submit@debbugs.gnu.org; Sun, 26 Mar 2017 16:01:26 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csELk-0006s8-Vh for 26238@debbugs.gnu.org; Sun, 26 Mar 2017 16:01:20 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D108820A5A; Sun, 26 Mar 2017 16:01:16 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sun, 26 Mar 2017 16:01: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 :x-sasl-enc; s=mesmtp; bh=96Vjnfuc/1HVGvG5eb5AyFHyUGfc+RHZKccGVa B/TIk=; b=AHn5miIQI8OAaiIRe9CBxv7jtnMl9TrSIkYe9t0sI4HLuZFG3v9v3J +HNfX+f/33O8CahFBuk20EoU9QzHF7G5q36TEzGTP+ZeSkHPTm03tW5Zag1c9WWc lzpCDd32pkr+ePmoqYKzrjs6dvNfShIUPEpmVrRVS/n5SW5JZaGCw= 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:x-sasl-enc; s=fm1; bh=96Vjnfuc/1HVGvG5eb 5AyFHyUGfc+RHZKccGVaB/TIk=; b=WwsRVrZE8kbcyTq8tGAA6Q1xHxeXdMGfH/ Uv/bQAqsWoChooB0/Kf3uJol42/E8i8aFwackRCfMkSvl2IgQepxUweNMzG5y1Ad Gwo3/ECB1lSDKo8926EJlV8aITq91iiZFqGZV2mh4+qK9BFw4yXgQ217MH5ZHf54 k1Ekm5XFWIjGf0j2QBgyZLdbTHjmdrsyGG8rMT+mOMtV9RwA7dVqsQ5qyUaUIs57 Byn1G+z+1ky48/BYawQk3lhSTho6SBOlf5bPp1u9r3TOI9najSVJrxsH5x4QD9F3 f9OAIOUk4ddG69zTYOBH8q3rh92elPo2BZSERsM2FNysHm7cYARQ== X-ME-Sender: X-Sasl-enc: D1y/oHBGzfoMY5NIbccFxAZd8FE8E8BKNHAnC2ucUl7u 1490558476 Received: from localhost (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 884CB242B6; Sun, 26 Mar 2017 16:01:16 -0400 (EDT) Date: Sun, 26 Mar 2017 16:01:14 -0400 From: Leo Famulari Message-ID: <20170326200114.GA9140@jasmine> References: <20170324162234.GA32596@jasmine> <87d1d4p1nr.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline In-Reply-To: <87d1d4p1nr.fsf@gnu.org> User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --V0207lvV8h4k8FAm Content-Type: multipart/mixed; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 26, 2017 at 04:12:40PM +0200, Ludovic Court=C3=A8s wrote: > Leo Famulari skribis: > I think =E2=80=98coreutils-final=E2=80=99 doesn=E2=80=99t need the replac= ement because the > =E2=80=98coreutils=E2=80=99 package that we get on GuixSD or when typing = =E2=80=98guix package > -i coreutils=E2=80=99 is not =E2=80=98coreutils-final=E2=80=99. Right. > =E2=80=98-final=E2=80=99 is only used as an implicit input of =E2=80=98gn= u-build-system=E2=80=99, where > the =E2=80=98date=E2=80=99 bug is arguably not a problem. >=20 > So for =E2=80=98coreutils-final=E2=80=99, I=E2=80=99d just do: >=20 > (replacement #f) >=20 > WDYT? I adapted the example of diffutils-boot0 in the attached patch. > For good measure, =E2=80=98coreutils-minimal=E2=80=99 should also have: >=20 > (source (package-source coreutils/fixed)) >=20 > so that it gets the fix (nothing depends on =E2=80=98coreutils-minimal=E2= =80=99, so > there=E2=80=99s no need for a graft here.) Ah, thanks for pointing this out. I've attached a revised patch. --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-coreutils-Fix-a-time-zone-bug-in-date-8.26.patch" Content-Transfer-Encoding: quoted-printable =46rom 466a0ebad18ee5e38f280acf19ab19aadffa2206 Mon Sep 17 00:00:00 2001 =46rom: Leo Famulari Date: Fri, 24 Mar 2017 12:18:21 -0400 Subject: [PATCH] gnu: coreutils: Fix a time-zone bug in date 8.26. * gnu/packages/base.scm (coreutils)[replacement]: New field. (coreutils/fixed): New variable. (coreutils-minimal)[source]: Use the source of coreutils/fixed. * gnu/packages/commencement.scm (coreutils-final)[replacement]: New field. * gnu/packages/patches/coreutils-fix-time-zone-conversion.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/local.mk | 1 + gnu/packages/base.scm | 13 +++ gnu/packages/commencement.scm | 20 ++-- .../coreutils-fix-time-zone-conversion.patch | 114 +++++++++++++++++= ++++ 4 files changed, 139 insertions(+), 9 deletions(-) create mode 100644 gnu/packages/patches/coreutils-fix-time-zone-conversion= =2Epatch diff --git a/gnu/local.mk b/gnu/local.mk index 782bf7479..48af6fc40 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -516,6 +516,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/coda-use-system-libs.patch \ %D%/packages/patches/coreutils-cut-huge-range-test.patch \ %D%/packages/patches/coreutils-fix-cross-compilation.patch \ + %D%/packages/patches/coreutils-fix-time-zone-conversion.patch \ %D%/packages/patches/cpio-CVE-2016-2037.patch \ %D%/packages/patches/cpufrequtils-fix-aclocal.patch \ %D%/packages/patches/cracklib-CVE-2016-6318.patch \ diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 2a6f6a43e..304566ec6 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -284,6 +284,7 @@ used to apply commands with arbitrarily long arguments.= ") (define-public coreutils (package (name "coreutils") + (replacement coreutils/fixed) (version "8.26") (source (origin (method url-fetch) @@ -361,11 +362,23 @@ functionality beyond that which is outlined in the PO= SIX standard.") (license gpl3+) (home-page "http://www.gnu.org/software/coreutils/"))) =20 +(define coreutils/fixed + (package + (inherit coreutils) + (source + (origin + (inherit (package-source coreutils)) + (patches + (append + (origin-patches (package-source coreutils)) + (search-patches "coreutils-fix-time-zone-conversion.patch"))))= ))) + (define-public coreutils-minimal ;; Coreutils without its optional dependencies. (package (inherit coreutils) (name "coreutils-minimal") + (source (package-source coreutils/fixed)) (outputs '("out")) (inputs '()))) =20 diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 675852fb5..fce75b503 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -868,15 +868,17 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a= /~a \"$@\"~%" ;; The final Coreutils. Treat them specially because some packages, suc= h as ;; Findutils, keep a reference to the Coreutils they were built with. (package-with-bootstrap-guile - (package-with-explicit-inputs coreutils - %boot5-inputs - (current-source-location) - - ;; Use the final Guile, linked against the - ;; final libc with working iconv, so that - ;; 'substitute*' works well when touching - ;; test files in Gettext. - #:guile guile-final))) + (let ((p (package-with-explicit-inputs coreutils + %boot5-inputs + (current-source-location) + + ;; Use the final Guile, linked = against the + ;; final libc with working icon= v, so that + ;; 'substitute*' works well whe= n touching + ;; test files in Gettext. + #:guile guile-final))) + (package (inherit p) + (replacement #f))))) =20 (define grep-final ;; The final grep. Gzip holds a reference to it (via zgrep), so it must= be diff --git a/gnu/packages/patches/coreutils-fix-time-zone-conversion.patch = b/gnu/packages/patches/coreutils-fix-time-zone-conversion.patch new file mode 100644 index 000000000..56a86b3b5 --- /dev/null +++ b/gnu/packages/patches/coreutils-fix-time-zone-conversion.patch @@ -0,0 +1,114 @@ +Fixes a bug in `date` that prevents converting between time zones: + +https://bugs.debian.org/851934 + +Patch copied from upstream source repository: + +https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=3Db14be5085cd1a= efd473a000456b21270e6070711 + +From b14be5085cd1aefd473a000456b21270e6070711 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Fri, 20 Jan 2017 18:24:02 -0800 +Subject: [PATCH] date: fix TZ=3D regression + +Problem reported by Paul Wise for Debian, in: +https://bugs.debian.org/851934 +This is fallout from the fix for GNU Bug#23035. +* src/date.c (batch_convert): New args TZ and TZSTRING. +All uses changed. +(batch_convert, main): Adjust to parse_datetime2 API change. +(main): Allocate time zone object. +* tests/misc/date-debug.sh: Fix incorrect test case, +caught by the fix. +* tests/misc/date.pl: Test the fix. +--- + src/date.c | 14 +++++++++----- + tests/misc/date-debug.sh | 4 ++-- + tests/misc/date.pl | 6 ++++++ + 3 files changed, 17 insertions(+), 7 deletions(-) + +diff --git a/src/date.c b/src/date.c +index eed09016d..eb7c624e3 100644 +--- a/src/date.c ++++ b/src/date.c +@@ -286,7 +286,8 @@ Show the local time for 9AM next Friday on the west co= ast of the US\n\ + Return true if successful. */ +=20 + static bool +-batch_convert (const char *input_filename, const char *format, timezone_t= tz) ++batch_convert (const char *input_filename, const char *format, ++ timezone_t tz, char const *tzstring) + { + bool ok; + FILE *in_stream; +@@ -320,7 +321,8 @@ batch_convert (const char *input_filename, const char = *format, timezone_t tz) + break; + } +=20 +- if (! parse_datetime2 (&when, line, NULL, parse_datetime_flags)) ++ if (! parse_datetime2 (&when, line, NULL, ++ parse_datetime_flags, tz, tzstring)) + { + if (line[line_length - 1] =3D=3D '\n') + line[line_length - 1] =3D '\0'; +@@ -502,10 +504,11 @@ main (int argc, char **argv) + } + } +=20 +- timezone_t tz =3D tzalloc (getenv ("TZ")); ++ char const *tzstring =3D getenv ("TZ"); ++ timezone_t tz =3D tzalloc (tzstring); +=20 + if (batch_file !=3D NULL) +- ok =3D batch_convert (batch_file, format, tz); ++ ok =3D batch_convert (batch_file, format, tz, tzstring); + else + { + bool valid_date =3D true; +@@ -545,7 +548,8 @@ main (int argc, char **argv) + if (set_datestr) + datestr =3D set_datestr; + valid_date =3D parse_datetime2 (&when, datestr, NULL, +- parse_datetime_flags); ++ parse_datetime_flags, ++ tz, tzstring); + } + } +=20 +diff --git a/tests/misc/date-debug.sh b/tests/misc/date-debug.sh +index 06de8dd37..48f460506 100755 +--- a/tests/misc/date-debug.sh ++++ b/tests/misc/date-debug.sh +@@ -48,10 +48,10 @@ date: new date/time =3D '(Y-M-D) 1990-12-14 00:00:= 00 TZ=3D+09:00' + date: '(Y-M-D) 1990-12-14 00:00:00 TZ=3D+09:00' =3D 661100400 epoch-secon= ds + date: after time adjustment (+0 hours, -90 minutes, +0 seconds, +0 ns), + date: new time =3D 661095000 epoch-seconds +-date: output timezone: -06:00 (set from TZ=3D"America/Belize" environment= value) ++date: output timezone: +09:00 (set from TZ=3D"Asia/Tokyo" environment val= ue) + date: final: 661095000.000000000 (epoch-seconds) + date: final: (Y-M-D) 1990-12-13 13:30:00 (UTC0) +-date: final: (Y-M-D) 1990-12-13 07:30:00 (output timezone TZ=3D-06:00) ++date: final: (Y-M-D) 1990-12-13 22:30:00 (output timezone TZ=3D+09:00) + Thu Dec 13 07:30:00 CST 1990 + EOF +=20 +diff --git a/tests/misc/date.pl b/tests/misc/date.pl +index 519c2474d..f026909bf 100755 +--- a/tests/misc/date.pl ++++ b/tests/misc/date.pl +@@ -291,6 +291,12 @@ my @Tests =3D + {ERR =3D> "date: invalid date 'TZ=3D\"\"\"'\n"}, + {EXIT =3D> 1}, + ], ++ ++ # https://bugs.debian.org/851934#10 ++ ['cross-TZ-mishandled', "-d 'TZ=3D\"EST5\" 1970-01-01 00:00'", ++ {ENV =3D> 'TZ=3DPST8'}, ++ {OUT =3D> 'Wed Dec 31 21:00:00 PST 1969'}, ++ ], + ); +=20 + # Repeat the cross-dst test, using Jan 1, 2005 and every interval from 1.= =2E364. +--=20 +2.12.0 + --=20 2.12.0 --fUYQa+Pmc3FrFX/N-- --V0207lvV8h4k8FAm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAljYHgIACgkQJkb6MLrK fwj69g//RQZH5HswHioeFt0hiK3NpQZeVo9iJcDwVOY8bVtb2zJ0quTBPND0DTXR 82GN82IPq+OvzlAJXxr6NWM9geQHi/VfwNKUx3WqorFd0i5kGZOqkfQlSa+ucCko EUrmvqp/O99MK+/JLwss8N74xZ0v3wknib+KJ+JFz/kZD+JTsrIQVGRfpyyU0QEB 8aGFv4uPkunAqYkDb+hBDj88cO0B7OKi8o9+/YC5lYyx5qROihhDc3gJ2HnFEV/P oej9J+ure3qp6GhP80T3Ug3Eq4JwPivy9rkba0XWd8URHDtZP5RhwkAPOvd78zgt QKwE9pgzHMSZYzhxLocCuyvLQEqRq0MoWFg2uxMa3/YK6f4r5myKSWMwx4i2CYSH JBoPFBKUKPaQro7uZdzWN/RujzqfRwsiFoDKVj4D2U6CikgXWsJBnemqF2o7Zqu3 +muohxLY5Tbffy9QFTFWDb0JbChgJE6p8GPcoUxe9Q/OE85BmG84jMmea2HmyS2a pkLQDUQNFbLiLvIcmgUtuFqZ6fIHGc/vmDGDJrNUPc/M6edzRxP8oAaTwDeT2uQw RKGe6wS9iHF5kvywGW5jgHzkZjVKjdagS/dmVEdZ2nICbaob88UjfVM+cmPxZwCx /00i4HkpJluT5+ZlcSWdfK0IdLu+lc92Sjms9ofq9ebbZy/Ytjo= =gSvG -----END PGP SIGNATURE----- --V0207lvV8h4k8FAm-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Mar 2017 20:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Marius Bakke Cc: 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149055918327461 (code B ref 26238); Sun, 26 Mar 2017 20:14:02 +0000 Received: (at 26238) by debbugs.gnu.org; 26 Mar 2017 20:13:03 +0000 Received: from localhost ([127.0.0.1]:46227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csEX9-00078r-Hg for submit@debbugs.gnu.org; Sun, 26 Mar 2017 16:13:03 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csEX7-00078Y-Td for 26238@debbugs.gnu.org; Sun, 26 Mar 2017 16:13:02 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C9FF02090A; Sun, 26 Mar 2017 16:13:01 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sun, 26 Mar 2017 16:13:01 -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 :x-sasl-enc; s=mesmtp; bh=1kqpeLgqtyDxaCblvTexJQ8zphjDsvKsMRsiUq X6s8U=; b=zuk7DqZB5B2s+PLm4hYxO3rqQm4UHLybwq7f5+cMQjTBC6Y9pUTWUr tq/ajnmiOWjvKiMbZkSo73ncyZrL1pcoS6kv522fUgl1REONa6AZbS4ZQSdPXoRa Zp2crhZI3ukt4KVXODidZjyAnUiE15mfLJNTDtNxdbUjCVLNByS6Q= 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:x-sasl-enc; s=fm1; bh=1kqpeLgqtyDxaCblvT exJQ8zphjDsvKsMRsiUqX6s8U=; b=VKnA6sZQ264gBHSa7Qts/Ag2LAotThnbSE 5xQG/+5MftDTJSwohLVhpx+DreO9I81NpDXUDKtjgQ/e+ZJUcXX7VUf3wmHWZARF QNEPJWGkuIwGWG9aaFH3y2vgv8EQsd5MPNzorNfdY2ZzVDW9/QcFIfiu9fhQNniE WZpytKTTcTAVYIqhf32hqC7E6e5im+MWIkOTTaTlIGvJjkIEbCV6ket+YKVOy3No tfbWniaQbnNZIJRmvUJLO/8FuhNHqJNhDWj8aPchf2dWp5h/YRDvVnEGehhSr7qO fvLerhO2r2PGy/VVsn2hlhj0bUdPZI/6wPzMrIOXw4U5EU44EeYg== X-ME-Sender: X-Sasl-enc: p7MtD0EXTl2RYrHNEWaihdUImXDNUEkXOASuRK7/rCZm 1490559181 Received: from localhost (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 89FDC240B3; Sun, 26 Mar 2017 16:13:01 -0400 (EDT) Date: Sun, 26 Mar 2017 16:13:00 -0400 From: Leo Famulari Message-ID: <20170326201300.GA9812@jasmine> References: <20170324162234.GA32596@jasmine> <87r31kwn7e.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <87r31kwn7e.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 26, 2017 at 08:45:25AM +0200, Marius Bakke wrote: > Leo Famulari writes: >=20 > > After discussion on #guix, Ludovic and I decided to try grafting > > coreutils to fix a bug in `date` that breaks converting between time > > zones. > > > > https://gnunet.org/bot/log/guix/2017-03-24#T1333113 >=20 > How serious is this problem? Maybe we can try to do another core-updates > round immediately after the current iteration is merged. Is it something > we can live with for 3-4 weeks? It breaks converting between time zones using the `date` command. https://bugs.debian.org/851934 As a person who screwed something up once because of a botched time zone conversion, I'd rather fix it :) But I understand if there is a strong objection to this graft. --5vNYLRcllDrimb99 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAljYIMwACgkQJkb6MLrK fwi1LBAAgkv1Yr1o+FXDXVOeAEXKeHk+Lvl9utTGXQB6zj3HYImPY4T1xQNLjb5E PaRhsuD1a3moCekIU2hNq4VG+bOxA62AtN0hYq3mDeBqMI06u4PB0/oDC4322ZPK EyDYVY5Pb0PV4SzoSIKts6xmmy8IRU7WxfJsuvIZBr8D4S/+faVcwIMD35qKN67X Dd12/hUYjRv08lgeE3wT+1q06vxsVTD5oWvtC6WKXdhCHpQmTkBJvxsM+34DQFyQ /hSQwOwsTncXdNVVqC8IEMYVziCI9Kv4KhayvDXoe3hmDbWH3TqVnlX66ep/gKDY 5xYBs2kQ5URuz0VaTFzi07xtEi1xy+VGlkhm8q58RHrOCjtOtAUlX/BKMoBOcWKd Q86f+p7irx0neHX0L/dPZgJiaC+PvAst4q1Qd6jVomaZPB97ljw7scbEEuy/VvK2 S4CkhTmkewhv1SrgpesgaB/664epeckViVqVLpwMX3p13jfBqEVZCPNbhM9jwFt0 NsaTIPHezcw4BOOPCYS+HxMGvIkSg3Aos8tjpxMONN/e7HlCjAMwLbigsZ+DPf9C EfNRTx4CN6eqIapHKc8ZS2oLd30/+2/ryN9IVRfPv3Aj6ay/bkLvyTC6V+z/+aNe 9U7GXBkIAqgsim3N3Ce7C4d1JXUtYav6nqVORi75Vz3WSF3Q+LU= =9w73 -----END PGP SIGNATURE----- --5vNYLRcllDrimb99-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Mar 2017 20:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Famulari Cc: 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149056018229031 (code B ref 26238); Sun, 26 Mar 2017 20:30:03 +0000 Received: (at 26238) by debbugs.gnu.org; 26 Mar 2017 20:29:42 +0000 Received: from localhost ([127.0.0.1]:46237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csEnG-0007YB-6b for submit@debbugs.gnu.org; Sun, 26 Mar 2017 16:29:42 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:39439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csEnE-0007Y4-Hr for 26238@debbugs.gnu.org; Sun, 26 Mar 2017 16:29:40 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 72BAF2061E; Sun, 26 Mar 2017 16:29:40 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sun, 26 Mar 2017 16:29:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.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 :x-sasl-enc; s=fm1; bh=Ll5PoiUT0IThhR8atzuxn1ZyUWGIaBzyf9XRLpaap a4=; b=cNmwVv/Jt5dFAju2iUZ5/7iDjGJG3J4gvLe/inj0Gm6A1qZQ19cTWIbrM AVRscCldTWQEypnScvhfRUCnzJN7Xs5SRluVAMppkPPd/b3e1qzmkBMArvSfv27s 36dzfc4MHWoJwgxERkwmO+D8DGvRU+yHs4HIKQQKMAThfRjyNsvLTDhvAvGqpTTa 7UEW2eJ6lYUHfRWjVQ9aiCHiAnKqz02bcsBRK6g05tU/VsO861j3/XPtWYI7ms9T UQAXTIz4PoWID9LqnSgJm36SAWkZymzBtFCcT7OFPajgEeC6HawITCN4iheNpYuu QiQA0d/WMTbZqUCPRcpM2WTRiGiTA== 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:x-sasl-enc; s=fm1; bh=Ll5PoiUT0IThhR8atz uxn1ZyUWGIaBzyf9XRLpaapa4=; b=Cb79A6l1D4jhF0S/uYbNJ5QW4F9Vjl1gQx 1woAgtu+/c4IE6lfcCOCk8IW1YyZy1D33Gp0h42zDwZ22U0TXK3OidwjvTFMwBnK BFgC05rUGQOPRfi+u7oKBlX2RCoNeePwgyiDXgCvrVQPOZ/qtrwCzp0K9mgPPgxj ccHNEONAu3KM0PBL8nYJBUUoFeJ7rXgBWDSQGjh4Q/cMrc9qHDEzNdMbDwdTa+Om rtKp+lFKeqr95cFyx3ghgFUhchhuPUSFvlCL78XYtEFtquDg7tyYAFkt+C4ifIZV e5y180vwAfYJa6rchXeZs/fnZgiBsrnOmcvdQ3SaUKYx3NX4hwPQ== X-ME-Sender: X-Sasl-enc: jn7COd71+IqCnh3fDT3YltaDkOsukL8cvwK0+FLkX3Gi 1490560179 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id D69197E399; Sun, 26 Mar 2017 16:29:39 -0400 (EDT) From: Marius Bakke In-Reply-To: <20170326201300.GA9812@jasmine> References: <20170324162234.GA32596@jasmine> <87r31kwn7e.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170326201300.GA9812@jasmine> User-Agent: Notmuch/0.24 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Sun, 26 Mar 2017 22:29:38 +0200 Message-ID: <87k27bwzm5.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari writes: > On Sun, Mar 26, 2017 at 08:45:25AM +0200, Marius Bakke wrote: >> Leo Famulari writes: >>=20 >> > After discussion on #guix, Ludovic and I decided to try grafting >> > coreutils to fix a bug in `date` that breaks converting between time >> > zones. >> > >> > https://gnunet.org/bot/log/guix/2017-03-24#T1333113 >>=20 >> How serious is this problem? Maybe we can try to do another core-updates >> round immediately after the current iteration is merged. Is it something >> we can live with for 3-4 weeks? > > It breaks converting between time zones using the `date` command. > > https://bugs.debian.org/851934 > > As a person who screwed something up once because of a botched time zone > conversion, I'd rather fix it :) > > But I understand if there is a strong objection to this graft. I don't object to the graft, as it does sound like a serious regression. My reaction was mostly a "flight" response after seeing the gnulib patch that this depends upon (the parse_datetime2 API change). https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3D4e6e16b3f43ce9630= 2b1e52e48730c1f15e18c14 Are you working on backporting it? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljYJLIACgkQoqBt8qM6 VPof3Qf/S8/a4mMAFYGKo0/uOnJgRC/aN6um+3ey0aP+y6SBVWkqCl/sQxf5fSRl jDBo8B3XYZj7KqBiImaVT5kCFZ4XdX0QZgSe0Do1jQz0+OWZC0hgowADmKZE2iLE PQETmr9EKzDLTSTMO1vblpQBjy5lnon5LoycdBbF5bHn9p6UwWLkB6lJDwRx7zB0 QtmOWxMa0fyMolpsOOaV0ntbsxmCqrADNiDvW9pk+FG74kKm4zGckbPSCr4isBLH v0CwLvMuXeHf94NBjp5K/J6DoKWwbtvWmYbBg2f/PDsUfFXgZWoYUZhS6kYgFWzh dAhzdD6PHsc4X+/qI8eYowaeyOQ0aQ== =/6va -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Mar 2017 20:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Marius Bakke Cc: 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149056175731391 (code B ref 26238); Sun, 26 Mar 2017 20:56:01 +0000 Received: (at 26238) by debbugs.gnu.org; 26 Mar 2017 20:55:57 +0000 Received: from localhost ([127.0.0.1]:46247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csFCe-0008AF-OH for submit@debbugs.gnu.org; Sun, 26 Mar 2017 16:55:56 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:47571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csFCc-0008A5-Fg for 26238@debbugs.gnu.org; Sun, 26 Mar 2017 16:55:54 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id F3BC220ADA; Sun, 26 Mar 2017 16:55:53 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sun, 26 Mar 2017 16:55:54 -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 :x-sasl-enc; s=mesmtp; bh=rUQvvL0SYpnpI782gJdVbYbf26mlj8i2SAjZnz OVCTE=; b=ju4hlRJ/x2VbhI1X05g79+yOV6vLe5Aq1zFo7d2P3eKNUaVnPsSRHD 6Ahxt8FTRiAEiHYq7i39w+XzivAG0Y71f1qpV/bVcdt1E9dLPXS3KumBgvFDP7b0 iqhDtjWhk9/GJE2pGFH4fsTdCgD4Pw6DzqrxTHNuT2n+sdcAQUwJA= 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:x-sasl-enc; s=fm1; bh=rUQvvL0SYpnpI782gJ dVbYbf26mlj8i2SAjZnzOVCTE=; b=BMfvsZOUR5q5oEyiDE/1AxkYa4+i0WxXTR UccrYrO7qHEI2INJx0NkUAdkEM5uETqnmYY33BoBH55yte9625PzzZIqFwqcobY9 t9Lv5aDEySJMrpxFQpH5mv7GW3qwHyROfbO9iVRq/JAxnS6yyT9uIlswhBM0FmRT bE8h6u3nJ/Tc49CdyR/s634TZK3A/ELrcpnpFxx68FXOb5auSQ7ZeGBa+tyVKZEw iER6E+YgFlsBjoh4GHjz47HJTwUByaKoHMzOBYF1hKDS2LS9/NJUUHlU2js01Jy/ WHPbRQk5kjtS0chjB9Emx7qpCCaXnIeLqq8X4bo5eM6ewLNCqH1A== X-ME-Sender: X-Sasl-enc: nyyOHmPyJJVamlgS+nEeHUc4jpA2QJcIC+6Vf+9kca65 1490561753 Received: from localhost (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id B3EB77E077; Sun, 26 Mar 2017 16:55:53 -0400 (EDT) Date: Sun, 26 Mar 2017 16:55:52 -0400 From: Leo Famulari Message-ID: <20170326205552.GA3104@jasmine> References: <20170324162234.GA32596@jasmine> <87r31kwn7e.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170326201300.GA9812@jasmine> <87k27bwzm5.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <87k27bwzm5.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 26, 2017 at 10:29:38PM +0200, Marius Bakke wrote: > I don't object to the graft, as it does sound like a serious regression. > My reaction was mostly a "flight" response after seeing the gnulib patch > that this depends upon (the parse_datetime2 API change). >=20 > https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3D4e6e16b3f43ce96= 302b1e52e48730c1f15e18c14 >=20 > Are you working on backporting it? Ah, I failed to understand that it would be required to backport the gnulib commit as well. That does look hairy. --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAljYKtgACgkQJkb6MLrK fwhGhhAApQRd9I70XAdEA1hzHE+DUa8intN+lkipbEuCe725gjIH3UFBKIw8iQto zJinOLAGVGNSp+dRuJVWuaAWCI9DlnrgDZqM781lPsr3HlXunvKlk2dZHMDK4pge Ftx795J6ow/CTpYNw6l0gZ5rDOrEPw0XeHcv49EnoPBDDZjVsfBZhhO9msRwgUjh oZhEctXnK6E400Rn02PgGnIGqdjtbGbLfSe6zuxwiSgoavpow+rzKezFPNRRvEJA oyh7MMcA23Owo3ATK/Z2P5fukx45PrcEmpHajDJrIv+cdq0h9igh6P5DdfZESrYJ 4j5hoiKVYpdDZ8SnZ7uGHHb0yblVrkIAHbe4r2oMGDJP5uTHN44C/ww47jgSRVsC 0EhjXCU4t7Ay42Fd2g9r+ltNNqZh2W1DEF3WxOgWzv8dUtNHIknHKm7i86paFOxo cdvlTNhd3UJ4nJ5anyyPigVMEFYJnH3FR6dCrh7+rObAOw3OKnKcm1zn7LQT6N4J joWwYtXQrYGahcwpwe/agHBbaFs8tDe3gi10AfbuxYzs9cjIOxkSM8LAAzyfjHak EegwHtBpkvvZQLjeWboxFU0ZPtdqRtiJSYr8wvAKtcfgaFeK2Sc0iPI+EHNBV03o HGpJshkQxwFky5FwihXkjaZhwEUaRpVXssPuDVAB7KX5drBl+po= =4//V -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Mar 2017 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Famulari Cc: 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.14905635991709 (code B ref 26238); Sun, 26 Mar 2017 21:27:02 +0000 Received: (at 26238) by debbugs.gnu.org; 26 Mar 2017 21:26:39 +0000 Received: from localhost ([127.0.0.1]:46306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csFgM-0000RV-SI for submit@debbugs.gnu.org; Sun, 26 Mar 2017 17:26:39 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csFgK-0000RM-8j for 26238@debbugs.gnu.org; Sun, 26 Mar 2017 17:26:37 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 60E7E20709; Sun, 26 Mar 2017 17:26:35 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sun, 26 Mar 2017 17:26:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.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 :x-sasl-enc; s=fm1; bh=+KjIlUnrxg7WPRe8fvcItJsLHAgWWB/6Xwfw//r3C FE=; b=j+N4/3to+j1BjgtMjzhcfnGrWsuaR4RvOqnAS7mvFyicFeUs8r4+/+1hM LQEylhF8GohVCLDzzuEbbEHbkg8TusMNS35/IMjMRmPcJLXrgGx0jWyJt9Yea5y3 nUDh26egmiLPBENR0mz+P+l8ob9qbGVa9/1dv8+S6Gio0E3ShA9iGeJl/4ZTUnvn xzwcfNLfrStL6GpySHWWyueDmwmEM2lrStte/go6TrVOSkH6TfZNDyDcQQcAcWIg 59JitukDaHM2ah6vUrXefHt04Qw7P+1xVtfwsG1GsD1rmdxqYc7l3S9SnWvk2LlZ ADsNj3JSAnLsv0OmfwRQQUbi5KJVw== 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:x-sasl-enc; s=fm1; bh=+KjIlUnrxg7WPRe8fv cItJsLHAgWWB/6Xwfw//r3CFE=; b=fxUSq9d0F7WtmuHxsIa64sVJmpx9bf91yI r7YM6veI87YccoV7CJ+fqNQhF8tLkcswhQKqF2touEsHTbv1yDFqUqpA6bp/aJy0 YoJGhicrf8m36bTzyIfFelmDn9Zo25QYdq0v5VJLGtQzQVmE2y8SYfu/vouanJ0x 8YSa1f7fOTF+/QZDJpMNR+e5Z30L1JQL67qZiAf5apNvjIx6Uoii2pxS/dlHwdv1 9SBQNCsJBgCgDhKnkIip7a3T3Qnuqj2tEWuS1BB4tdwbue2psfQXUAC8kAKLY7U5 58/WoQXqMacpv2b1jFHjUmf8pn43p2V9cJXeBNOZIyKtt63oyuFA== X-ME-Sender: X-Sasl-enc: 5dR1cbfOcE/Ckv3kMefyYmIlbq9isKctb4LwqlzFBivn 1490563594 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id ED2F77E1DC; Sun, 26 Mar 2017 17:26:34 -0400 (EDT) From: Marius Bakke In-Reply-To: <20170326205552.GA3104@jasmine> References: <20170324162234.GA32596@jasmine> <87r31kwn7e.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170326201300.GA9812@jasmine> <87k27bwzm5.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170326205552.GA3104@jasmine> User-Agent: Notmuch/0.24 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Sun, 26 Mar 2017 23:26:33 +0200 Message-ID: <87h92fwwza.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari writes: > On Sun, Mar 26, 2017 at 10:29:38PM +0200, Marius Bakke wrote: >> I don't object to the graft, as it does sound like a serious regression. >> My reaction was mostly a "flight" response after seeing the gnulib patch >> that this depends upon (the parse_datetime2 API change). >>=20 >> https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3D4e6e16b3f43ce9= 6302b1e52e48730c1f15e18c14 >>=20 >> Are you working on backporting it? > > Ah, I failed to understand that it would be required to backport the > gnulib commit as well. That does look hairy. Maybe grafting 8.27 is better. It would be good to build it out on a new core-updates branch quickly to catch any problems it might introduce. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljYMgkACgkQoqBt8qM6 VPqS+Af9EYmZbhpvzSAT+nwSx9r0wsHR9ilNrDOFmIdt4mM6XxrTufPmSg6EQxrn O1Ryo8wF5spN8twXMGxCPyOCBgS5DJbHUlPSUKxFThdM5GOPKhbWIrB/ORKFudKr 1NZjIMVUYJDNkU78J/pcl8fAQ97EDRmFBMQRJ9n1dhDm/ft6hDcXzDksEg5X5z6r hoeEQ00tkIWs/qnW00lKj+PsrsKYg13NDS4lY+u2LkJf+sk8M9DiUQYdJn2j7LwW HllNiSfhIurKpMOCw+Y5lcX2u2ueekRG0Aw7BzmFz4ZKu5Sr11Alit8yDPZj85T1 ylRy+EJjMW9aqgiov7OAMNTkrU2LQg== =Xf+Z -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Mar 2017 08:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Famulari Cc: 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149060329631469 (code B ref 26238); Mon, 27 Mar 2017 08:29:02 +0000 Received: (at 26238) by debbugs.gnu.org; 27 Mar 2017 08:28:16 +0000 Received: from localhost ([127.0.0.1]:46744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csQ0d-0008BT-Cj for submit@debbugs.gnu.org; Mon, 27 Mar 2017 04:28:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csQ0Z-0008BF-LG for 26238@debbugs.gnu.org; Mon, 27 Mar 2017 04:28:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csQ0Q-0005aF-GC for 26238@debbugs.gnu.org; Mon, 27 Mar 2017 04:28:06 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csQ0Q-0005aB-DL; Mon, 27 Mar 2017 04:28:02 -0400 Received: from [193.50.110.68] (port=34612 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1csQ0P-0000oa-KY; Mon, 27 Mar 2017 04:28:02 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170324162234.GA32596@jasmine> <87d1d4p1nr.fsf@gnu.org> <20170326200114.GA9140@jasmine> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 Germinal an 225 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-unknown-linux-gnu Date: Mon, 27 Mar 2017 10:27:59 +0200 In-Reply-To: <20170326200114.GA9140@jasmine> (Leo Famulari's message of "Sun, 26 Mar 2017 16:01:14 -0400") Message-ID: <87o9wnnmy8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leo Famulari skribis: > From 466a0ebad18ee5e38f280acf19ab19aadffa2206 Mon Sep 17 00:00:00 2001 > From: Leo Famulari > Date: Fri, 24 Mar 2017 12:18:21 -0400 > Subject: [PATCH] gnu: coreutils: Fix a time-zone bug in date 8.26. > > * gnu/packages/base.scm (coreutils)[replacement]: New field. > (coreutils/fixed): New variable. > (coreutils-minimal)[source]: Use the source of coreutils/fixed. > * gnu/packages/commencement.scm (coreutils-final)[replacement]: New field. > * gnu/packages/patches/coreutils-fix-time-zone-conversion.patch: New file. > * gnu/local.mk (dist_patch_DATA): Add it. LGTM, thanks! Ludo=E2=80=99. From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Mar 2017 11:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Marius Bakke Cc: 26238@debbugs.gnu.org, Leo Famulari Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149061460623697 (code B ref 26238); Mon, 27 Mar 2017 11:37:01 +0000 Received: (at 26238) by debbugs.gnu.org; 27 Mar 2017 11:36:46 +0000 Received: from localhost ([127.0.0.1]:46879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csSx4-0006A9-8S for submit@debbugs.gnu.org; Mon, 27 Mar 2017 07:36:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csSx2-00069v-AC for 26238@debbugs.gnu.org; Mon, 27 Mar 2017 07:36:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csSwt-0008Vs-21 for 26238@debbugs.gnu.org; Mon, 27 Mar 2017 07:36:38 -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.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csSws-0008Vo-Ve; Mon, 27 Mar 2017 07:36:35 -0400 Received: from [193.50.110.68] (port=35236 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1csSws-0005kY-92; Mon, 27 Mar 2017 07:36:34 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170324162234.GA32596@jasmine> <87r31kwn7e.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170326201300.GA9812@jasmine> <87k27bwzm5.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170326205552.GA3104@jasmine> <87h92fwwza.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 Germinal an 225 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-unknown-linux-gnu Date: Mon, 27 Mar 2017 13:36:32 +0200 In-Reply-To: <87h92fwwza.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (Marius Bakke's message of "Sun, 26 Mar 2017 23:26:33 +0200") Message-ID: <87fuhzkl33.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Marius Bakke skribis: > Leo Famulari writes: > >> On Sun, Mar 26, 2017 at 10:29:38PM +0200, Marius Bakke wrote: >>> I don't object to the graft, as it does sound like a serious regression. >>> My reaction was mostly a "flight" response after seeing the gnulib patch >>> that this depends upon (the parse_datetime2 API change). >>>=20 >>> https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3D4e6e16b3f43ce= 96302b1e52e48730c1f15e18c14 >>>=20 >>> Are you working on backporting it? >> >> Ah, I failed to understand that it would be required to backport the >> gnulib commit as well. That does look hairy. > > Maybe grafting 8.27 is better. It would be good to build it out on a new > core-updates branch quickly to catch any problems it might introduce. Let=E2=80=99s merge this one first. :-) Ludo=E2=80=99. From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Mar 2017 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26238@debbugs.gnu.org, Marius Bakke Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149062896314138 (code B ref 26238); Mon, 27 Mar 2017 15:37:02 +0000 Received: (at 26238) by debbugs.gnu.org; 27 Mar 2017 15:36:03 +0000 Received: from localhost ([127.0.0.1]:47620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csWgc-0003fy-SY for submit@debbugs.gnu.org; Mon, 27 Mar 2017 11:36:03 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csWga-0003fX-38 for 26238@debbugs.gnu.org; Mon, 27 Mar 2017 11:36:01 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A468C20CC9; Mon, 27 Mar 2017 11:35:59 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Mon, 27 Mar 2017 11:35: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 :x-sasl-enc; s=mesmtp; bh=y4ZPxq4RkPbafF/G+D39hLW4sKRsWu86KgBFvX eYde4=; b=mDfnLnaFMvXpnRB9v1Zxxh2ntYELckIjVx3PyUDPU7y0C4Cax31zd8 V0TWj5DLom/9+kR09K9eJ8X9IAys3kqFKBaZKWwYW5U52LEg8GXvRSJZKaRG5jBx VJNeAT6LA6EYGQ7azNG4SgBAdaWOIoq5rHCmafAbidMGKL3fJdw9Y= 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:x-sasl-enc; s=fm1; bh=y4ZPxq4RkPbafF/G+D 39hLW4sKRsWu86KgBFvXeYde4=; b=AAJqj/4EFr6WR+XVB4KRaCOxQWdSJ8KPLH KpgNdGTKww3cPIW+G0d9jfT9mqNhR6e9aWlVp/O3nN2/ddac1UB1J2G1pYR2DEVW M1fKURltJYAJChBydZL2xLbRBJbObqYKMPQBN39XwmdDKvdGIDIETfzt/mgA4iU/ LwdgVaInMajmV2xG3O0WBMN8XxWAJRWUHoGqpN60uZwWK0FB/uhin7/THb71uwUg b7Tb7q4bU0FiYJyMOSaujPklpIhkAMiOoBOAtGgzJmxJB3yO/2DfcnlbuKcQA91m Icwg2dYR+jl0+8GAPZyquTJCSmiz6Q1cIqvupkFgNDiuw21rRxfA== X-ME-Sender: X-Sasl-enc: o14iiGbtXkVc+gG5/fZBht1zsTwe+bhtDF8OPEXkEymh 1490628959 Received: from localhost (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 3E9927E53D; Mon, 27 Mar 2017 11:35:59 -0400 (EDT) Date: Mon, 27 Mar 2017 11:35:58 -0400 From: Leo Famulari Message-ID: <20170327153558.GA4480@jasmine> References: <20170324162234.GA32596@jasmine> <87r31kwn7e.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170326201300.GA9812@jasmine> <87k27bwzm5.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170326205552.GA3104@jasmine> <87h92fwwza.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <87fuhzkl33.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <87fuhzkl33.fsf@gnu.org> User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 27, 2017 at 01:36:32PM +0200, Ludovic Court=C3=A8s wrote: > Marius Bakke skribis: >=20 > > Leo Famulari writes: > > > >> On Sun, Mar 26, 2017 at 10:29:38PM +0200, Marius Bakke wrote: > >>> I don't object to the graft, as it does sound like a serious regressi= on. > >>> My reaction was mostly a "flight" response after seeing the gnulib pa= tch > >>> that this depends upon (the parse_datetime2 API change). > >>>=20 > >>> https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3D4e6e16b3f43= ce96302b1e52e48730c1f15e18c14 > >>>=20 > >>> Are you working on backporting it? > >> > >> Ah, I failed to understand that it would be required to backport the > >> gnulib commit as well. That does look hairy. > > > > Maybe grafting 8.27 is better. It would be good to build it out on a new > > core-updates branch quickly to catch any problems it might introduce. >=20 > Let=E2=80=99s merge this one first. :-) Yeah, and I think we'll have to skip this bug fix for now, unfortunately. Unless somebody else feels up to the task of backporting the gnulib changes. --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAljZMV0ACgkQJkb6MLrK fwi7yxAAuymV59UDt7dE29oSWeOENQlhbxNricKkmSCFhPI3VE34GYRDAfUyyLSq hUNxzf1PUec/Y838qYUGL6nkykubx0gEsPfTvWyw2HIad9hGyQIdczLYmMbLeEcy 0CbgiHz0w/VqQHxRvYii8+STiew41VdMhBrYBq/vGbZzaOvC4C2V6OoufqYhw78+ F7XUmcvpYmX3oNpwjxVrgbfiMHaunzM4RSVfeNnA0OscV1kuc0fkXeSyikR3uqWh /upY3Q9coXXrQRIT74fB21RAlCPeaDPGNfXxcgtpP2zH7iB+5R6beBIOyH1WwzHo WsmxiTOXXuKSQ07FcDTLSkE0AxpyuyyjxlK3ZX+B1jw7mIFQ8qFiTw1DOk6aBEbm C6RV9BCHVtYuniVyGaXv/rZ1wDQglIz5zbik7qzmrCS74FrcI2n0sOjVOgxWqx68 d6T+LbDBUJfr2KGBKFST8p9/0JzCjYmToBAzNBvbvaoOsV516smurmnvyNBUNdQ7 mPZJlqfY1gAiXRDLuVDQf/njc+HGnyYPQpa84PgroauZDl64+cNHWT7pOMjhiUUX p8U0S5u5Mj1lk+fiafUxtbdUFCA40R2D8KL6qu6N6WwP1vX81HFsfASojMu5gRH7 NTsqYVcOek1C0a8SL1Rod2i5FNFn3gkp4kKC8L/6ELfDySgV61U= =6E45 -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 29 07:17:36 2017 Received: (at control) by debbugs.gnu.org; 29 Mar 2017 11:17:36 +0000 Received: from localhost ([127.0.0.1]:50185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctBbb-0003uU-8I for submit@debbugs.gnu.org; Wed, 29 Mar 2017 07:17:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctBbZ-0003uF-Iw for control@debbugs.gnu.org; Wed, 29 Mar 2017 07:17:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctBbR-00035x-Bu for control@debbugs.gnu.org; Wed, 29 Mar 2017 07:17:28 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctBbR-00035t-9G for control@debbugs.gnu.org; Wed, 29 Mar 2017 07:17:25 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:42686 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ctBbQ-0000lR-L5 for control@debbugs.gnu.org; Wed, 29 Mar 2017 07:17:25 -0400 Date: Wed, 29 Mar 2017 13:17:22 +0200 Message-Id: <87wpb8s56l.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #26238 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) severity 26238 important From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Apr 2017 21:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Famulari Cc: 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.14924646539072 (code B ref 26238); Mon, 17 Apr 2017 21:31:02 +0000 Received: (at 26238) by debbugs.gnu.org; 17 Apr 2017 21:30:53 +0000 Received: from localhost ([127.0.0.1]:53055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0EEX-0002M1-5w for submit@debbugs.gnu.org; Mon, 17 Apr 2017 17:30:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0EES-0002C1-1Q for 26238@debbugs.gnu.org; Mon, 17 Apr 2017 17:30:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0EEJ-0006in-6E for 26238@debbugs.gnu.org; Mon, 17 Apr 2017 17:30:42 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0EEI-0006ij-V4; Mon, 17 Apr 2017 17:30:39 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:38540 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d0EEI-0005Z3-9U; Mon, 17 Apr 2017 17:30:38 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170324162234.GA32596@jasmine> <87d1d4p1nr.fsf@gnu.org> <20170326200114.GA9140@jasmine> <87o9wnnmy8.fsf@gnu.org> Date: Mon, 17 Apr 2017 23:30:36 +0200 In-Reply-To: <87o9wnnmy8.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 27 Mar 2017 10:27:59 +0200") Message-ID: <87vaq2oh6r.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Leo! ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Leo Famulari skribis: > >> From 466a0ebad18ee5e38f280acf19ab19aadffa2206 Mon Sep 17 00:00:00 2001 >> From: Leo Famulari >> Date: Fri, 24 Mar 2017 12:18:21 -0400 >> Subject: [PATCH] gnu: coreutils: Fix a time-zone bug in date 8.26. >> >> * gnu/packages/base.scm (coreutils)[replacement]: New field. >> (coreutils/fixed): New variable. >> (coreutils-minimal)[source]: Use the source of coreutils/fixed. >> * gnu/packages/commencement.scm (coreutils-final)[replacement]: New fiel= d. >> * gnu/packages/patches/coreutils-fix-time-zone-conversion.patch: New fil= e. >> * gnu/local.mk (dist_patch_DATA): Add it. > > LGTM, thanks! Was there anything wrong with this patch? Otherwise I still think it=E2=80= =99s worth applying to =E2=80=98master=E2=80=99. Thanks, Ludo=E2=80=99. From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Apr 2017 21:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Leo Famulari Cc: 26238@debbugs.gnu.org Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149246506213625 (code B ref 26238); Mon, 17 Apr 2017 21:38:02 +0000 Received: (at 26238) by debbugs.gnu.org; 17 Apr 2017 21:37:42 +0000 Received: from localhost ([127.0.0.1]:53073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0EL8-0003Xh-HL for submit@debbugs.gnu.org; Mon, 17 Apr 2017 17:37:42 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0EL4-0003XX-OG for 26238@debbugs.gnu.org; Mon, 17 Apr 2017 17:37:41 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 9C1FD20B57; Mon, 17 Apr 2017 17:37:38 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 17 Apr 2017 17:37:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.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 :x-sasl-enc; s=fm1; bh=LuqkzrqJVJrH1zR3HZQSwRDlKco5Ohphc+mAESPva pU=; b=Z/VuSnq9M60HduoGYJNgi73xxDDfjv2W8alRd5RiF3rklX9I8NMLi8QZj riNa0ahbFPEaf51EZteHBm0c7wkdAxwp/5uLYisTpmY5gensTVWbFnYre5dSDdK5 Wq4Ke0mNNNbxAaGF+OzwZORD5SCvxOSe/y/bsHRMSXQ0GshirGdEdsZaB+APUbxF ab9dDXrPAmJW3n0FCEkjdw5py9L7gU//D9jf28P0DKvqcG+I4dDY+LTxfztoKRJi KbcDEaHPhVoRmFnjDjy78yHxnVgH/5tcpmCZD3/pvZzEmIFQ7SiE+UIpbn6V455H J7UqiEbU3JE3sHjcUYOeRlYOz6Hpw== 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:x-sasl-enc; s=fm1; bh=LuqkzrqJVJrH1zR3HZ QSwRDlKco5Ohphc+mAESPvapU=; b=rMexlnggekt0PDAGkyrScPbxJZDLr7+JeG hDFtfyt1k+abp0ZzENhtMfISnjXA+1zefxJoXtj7s/HscwPfaPMI4hAvompJG4VW ljyMXLOA/H2Y1yF3XXYtNpECGpCWw5o563kGUR13RSwFxnhhdNwPaU0XtfQzu5yM hBpswOJ3QSesunlBVO8vBJtEnykM5hYITF8qU/ucnaaeNjOeBgjAS9NJDYDcZKQc 6OaVgIELclISsLPL2HND1eLi8I5SBoE3BdS5RVu6W+6Y+TYHGPy3LMLjvQH0fYUu TXNnwODuam3SFC2Wu1jPcWudZdyxQYFP+zQ8EmI/KxVgQPuMoo1g== X-ME-Sender: X-Sasl-enc: 6D6ApVFQzBp9suK/zviyVfYUoc5JDn/MZRGUCLfd3DLK 1492465058 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 297B17E6F6; Mon, 17 Apr 2017 17:37:38 -0400 (EDT) From: Marius Bakke In-Reply-To: <87vaq2oh6r.fsf@gnu.org> References: <20170324162234.GA32596@jasmine> <87d1d4p1nr.fsf@gnu.org> <20170326200114.GA9140@jasmine> <87o9wnnmy8.fsf@gnu.org> <87vaq2oh6r.fsf@gnu.org> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Mon, 17 Apr 2017 23:37:36 +0200 Message-ID: <87y3uyk95r.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi Leo! > > ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > >> Leo Famulari skribis: >> >>> From 466a0ebad18ee5e38f280acf19ab19aadffa2206 Mon Sep 17 00:00:00 2001 >>> From: Leo Famulari >>> Date: Fri, 24 Mar 2017 12:18:21 -0400 >>> Subject: [PATCH] gnu: coreutils: Fix a time-zone bug in date 8.26. >>> >>> * gnu/packages/base.scm (coreutils)[replacement]: New field. >>> (coreutils/fixed): New variable. >>> (coreutils-minimal)[source]: Use the source of coreutils/fixed. >>> * gnu/packages/commencement.scm (coreutils-final)[replacement]: New fie= ld. >>> * gnu/packages/patches/coreutils-fix-time-zone-conversion.patch: New fi= le. >>> * gnu/local.mk (dist_patch_DATA): Add it. >> >> LGTM, thanks! > > Was there anything wrong with this patch? Otherwise I still think it=E2= =80=99s > worth applying to =E2=80=98master=E2=80=99. It depends on this gnulib patch, which does not apply cleanly and needs a rather difficult backport: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3D4e6e16b3f43ce9630= 2b1e52e48730c1f15e18c14 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlj1NaAACgkQoqBt8qM6 VPpkYQf8CCrQVf0yWw+0upidep8VmJpLnqG7Cps9/u0zfn7uQuZgZAzSVFA700qp p73ArJ4PuEv+79HNpHxJ1npsZ/8e7fitq5YjcDY2G2Ks1boLJRVbsXxDUXu18ycH 0Gi8UlAb8L+btGF0v5eXSMkvsd1wFaRGsLuB7CVHNOGLgx8UPlxTTN1M51siobOS KlBRDsZRZSlckswShtc7qbvGsV4E1S5ylpzIR9tQIR1vrNBwZxR+dMPhFpwyJLFa VL4ukJEXW61RcVqzonmv6V1AFwfZjZBogdyOBwJkPJB6VrasA9cPjWVIBIGHoL16 65nt9fuhR7c9sVZJk6fq7xTicvp8yg== =kic2 -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Apr 2017 07:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Marius Bakke Cc: 26238@debbugs.gnu.org, Leo Famulari Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.14925020686980 (code B ref 26238); Tue, 18 Apr 2017 07:55:01 +0000 Received: (at 26238) by debbugs.gnu.org; 18 Apr 2017 07:54:28 +0000 Received: from localhost ([127.0.0.1]:53363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0Nxy-0001oU-5z for submit@debbugs.gnu.org; Tue, 18 Apr 2017 03:54:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0Nxu-0001oE-B2 for 26238@debbugs.gnu.org; Tue, 18 Apr 2017 03:54:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0Nxl-0006UC-Il for 26238@debbugs.gnu.org; Tue, 18 Apr 2017 03:54:17 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0Nxl-0006U0-F5; Tue, 18 Apr 2017 03:54:13 -0400 Received: from [193.50.110.90] (port=46106 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d0Nxk-0000dg-Kc; Tue, 18 Apr 2017 03:54:12 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170324162234.GA32596@jasmine> <87d1d4p1nr.fsf@gnu.org> <20170326200114.GA9140@jasmine> <87o9wnnmy8.fsf@gnu.org> <87vaq2oh6r.fsf@gnu.org> <87y3uyk95r.fsf@fastmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Germinal an 225 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-unknown-linux-gnu Date: Tue, 18 Apr 2017 09:54:10 +0200 In-Reply-To: <87y3uyk95r.fsf@fastmail.com> (Marius Bakke's message of "Mon, 17 Apr 2017 23:37:36 +0200") Message-ID: <87a87eup5p.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Morning! Marius Bakke skribis: > Ludovic Court=C3=A8s writes: > >> Hi Leo! >> >> ludo@gnu.org (Ludovic Court=C3=A8s) skribis: >> >>> Leo Famulari skribis: >>> >>>> From 466a0ebad18ee5e38f280acf19ab19aadffa2206 Mon Sep 17 00:00:00 2001 >>>> From: Leo Famulari >>>> Date: Fri, 24 Mar 2017 12:18:21 -0400 >>>> Subject: [PATCH] gnu: coreutils: Fix a time-zone bug in date 8.26. >>>> >>>> * gnu/packages/base.scm (coreutils)[replacement]: New field. >>>> (coreutils/fixed): New variable. >>>> (coreutils-minimal)[source]: Use the source of coreutils/fixed. >>>> * gnu/packages/commencement.scm (coreutils-final)[replacement]: New fi= eld. >>>> * gnu/packages/patches/coreutils-fix-time-zone-conversion.patch: New f= ile. >>>> * gnu/local.mk (dist_patch_DATA): Add it. >>> >>> LGTM, thanks! >> >> Was there anything wrong with this patch? Otherwise I still think it=E2= =80=99s >> worth applying to =E2=80=98master=E2=80=99. > > It depends on this gnulib patch, which does not apply cleanly and needs > a rather difficult backport: > > https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3D4e6e16b3f43ce96= 302b1e52e48730c1f15e18c14 Oh right, sorry for being sloppy. A while back you suggested using directly 8.27 as the replacement: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26238#32 I think it would be a good idea. Thoughts? Ludo=E2=80=99. From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Apr 2017 18:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26238@debbugs.gnu.org, Leo Famulari Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149254063429535 (code B ref 26238); Tue, 18 Apr 2017 18:38:01 +0000 Received: (at 26238) by debbugs.gnu.org; 18 Apr 2017 18:37:14 +0000 Received: from localhost ([127.0.0.1]:55107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0Y01-0007gI-Ns for submit@debbugs.gnu.org; Tue, 18 Apr 2017 14:37:14 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:47247) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0Xzv-0007g6-MN for 26238@debbugs.gnu.org; Tue, 18 Apr 2017 14:37:11 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4CB6F20CEF; Tue, 18 Apr 2017 14:37:07 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 18 Apr 2017 14:37:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.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 :x-sasl-enc; s=fm1; bh=nS3tRXzZdeWw47WvyQu7q+KeTAGVfq1P9LD4BeAT0 Ko=; b=akVmkTC5wR2J7RwokZIo8MaPFGjseQW21QKisFJDMpIiLhnlEX6SvwAO6 zP1dlAmreCRBb3xt05WE2CV1zHAAPfDsv+j2JDfF4cEYqbDwg3mlWppo2FlMxCR3 pRTX5Ir18Uq++wD8DGHjCGspsRnp/XvU3PMDL91LIe1vf/C/eDDt6T4JSGDlgQWQ bpoMyIo8YDrLW7Uh1wYY+8bxMxGVxcvBR9eEI9Ztca3G+Y8Q8s6NH03Lmb0FLqWW 15QKkpl8K9Rhq7l/fkfOIxqLGpC3yIwNu5sOuvlyGmosf9t3onkNvTgILjpFPxVQ VG1DFpmv5cVbFRb8B4mRkS6kLzruQ== 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:x-sasl-enc; s=fm1; bh=nS3tRXzZdeWw47WvyQ u7q+KeTAGVfq1P9LD4BeAT0Ko=; b=eyMDsYWvIIswKs1resvSBysWexY7oLT7CJ JpdMAdxhigyWDpRSHIWHDp44vHL1qNLJOyiMg4941/K056cyPrVCKmdIHh/oyaaV QAaH+9r9VC1Z25P8CC2J10HUnSkOqJLjJU0joAaeWUqzy754+bo5Cbq73FhNbbnq MaDARIVMPGpybQge+1HtKp3DVDfXhKGzw0f2y2DcU3z6GLEiMrDvhyaa1PJ+/vwf lqUpeCsiC5o3FqJYpOLDxIpvGqao/Dx3FuXQf92RzCs+7xe2lpmMp/FiC9Vs7vfT V3bTX8qGlUyMCe6vYVAgGdy/8gl6tXDSd+Ota5nc4f3YoOATgzKg== X-ME-Sender: X-Sasl-enc: lv33DkKzagt9Kpv30N2mXmcxxLDlUS1iBa4WMLbNT511 1492540626 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id D421F24373; Tue, 18 Apr 2017 14:37:06 -0400 (EDT) From: Marius Bakke In-Reply-To: <87a87eup5p.fsf@gnu.org> References: <20170324162234.GA32596@jasmine> <87d1d4p1nr.fsf@gnu.org> <20170326200114.GA9140@jasmine> <87o9wnnmy8.fsf@gnu.org> <87vaq2oh6r.fsf@gnu.org> <87y3uyk95r.fsf@fastmail.com> <87a87eup5p.fsf@gnu.org> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Tue, 18 Apr 2017 20:37:04 +0200 Message-ID: <87r30pv9yn.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Morning! > > Marius Bakke skribis: > >> Ludovic Court=C3=A8s writes: >> >>> Hi Leo! >>> >>> ludo@gnu.org (Ludovic Court=C3=A8s) skribis: >>> >>>> Leo Famulari skribis: >>>> >>>>> From 466a0ebad18ee5e38f280acf19ab19aadffa2206 Mon Sep 17 00:00:00 2001 >>>>> From: Leo Famulari >>>>> Date: Fri, 24 Mar 2017 12:18:21 -0400 >>>>> Subject: [PATCH] gnu: coreutils: Fix a time-zone bug in date 8.26. >>>>> >>>>> * gnu/packages/base.scm (coreutils)[replacement]: New field. >>>>> (coreutils/fixed): New variable. >>>>> (coreutils-minimal)[source]: Use the source of coreutils/fixed. >>>>> * gnu/packages/commencement.scm (coreutils-final)[replacement]: New f= ield. >>>>> * gnu/packages/patches/coreutils-fix-time-zone-conversion.patch: New = file. >>>>> * gnu/local.mk (dist_patch_DATA): Add it. >>>> >>>> LGTM, thanks! >>> >>> Was there anything wrong with this patch? Otherwise I still think it= =E2=80=99s >>> worth applying to =E2=80=98master=E2=80=99. >> >> It depends on this gnulib patch, which does not apply cleanly and needs >> a rather difficult backport: >> >> https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3D4e6e16b3f43ce9= 6302b1e52e48730c1f15e18c14 > > Oh right, sorry for being sloppy. > > A while back you suggested using directly 8.27 as the replacement: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26238#32 > > I think it would be a good idea. > > Thoughts? Here is a WIP patch that adds a graft for coreutils 8.27. I stole Leos code for the (gnu packages commencement) part. It builds with `./pre-inst-env guix build coreutils`, but my after reconfiguring my system on it, `date --version` still shows 8.26. Any idea what's wrong? --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-coreutils-Replace-with-8.27.patch Content-Transfer-Encoding: quoted-printable From=202636e565fa4847dc0d1c786345e98053cf783cc1 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 18 Apr 2017 20:13:45 +0200 Subject: [PATCH] gnu: coreutils: Replace with 8.27. * gnu/packages/base.scm (coreutils-8.27): New variable. (coreutils)[replacement]: New field. (coreutils-minimal)[source]: Inherit from COREUTILS-8.27. [replacement]: New field. * gnu/packages/commencement.scm (coreutils-final): Set replacement #f on coreutils derivation. Co-authored-by: Leo Famulari =2D-- gnu/packages/base.scm | 15 +++++++++++++++ gnu/packages/commencement.scm | 20 ++++++++++++-------- 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 5c36b612f..36eaabb36 100644 =2D-- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -285,6 +285,7 @@ used to apply commands with arbitrarily long arguments.= ") (package (name "coreutils") (version "8.26") + (replacement coreutils-8.27) (source (origin (method url-fetch) (uri (string-append "mirror://gnu/coreutils/coreutils-" @@ -361,11 +362,25 @@ functionality beyond that which is outlined in the PO= SIX standard.") (license gpl3+) (home-page "https://www.gnu.org/software/coreutils/"))) =20 +(define coreutils-8.27 + (package + (inherit coreutils) + (version "8.27") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/coreutils/coreutils-" + version ".tar.xz")) + (sha256 + (base32 + "0sv547572iq8ayy8klir4hnngnx92a9nsazmf1wgzfc7xr4x74c8"))))= )) + (define-public coreutils-minimal ;; Coreutils without its optional dependencies. (package (inherit coreutils) (name "coreutils-minimal") + (replacement #f) + (source (package-source coreutils-8.27)) (outputs '("out")) (inputs '()))) =20 diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 92f6e6c2e..c9d851c4d 100644 =2D-- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -868,15 +868,19 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a= /~a \"$@\"~%" ;; The final Coreutils. Treat them specially because some packages, suc= h as ;; Findutils, keep a reference to the Coreutils they were built with. (package-with-bootstrap-guile =2D (package-with-explicit-inputs coreutils =2D %boot5-inputs =2D (current-source-location) =20 =2D ;; Use the final Guile, linked against = the =2D ;; final libc with working iconv, so th= at =2D ;; 'substitute*' works well when touchi= ng =2D ;; test files in Gettext. =2D #:guile guile-final))) + + (let ((p (package-with-explicit-inputs coreutils + %boot5-inputs + (current-source-location) + + ;; Use the final Guile, linked a= gainst the + ;; final libc with working iconv= , so that + ;; 'substitute*' works well when= touching + ;; test files in Gettext. + #:guile guile-final))) + (package (inherit p) + (replacement #f))))) =20 (define grep-final ;; The final grep. Gzip holds a reference to it (via zgrep), so it must= be =2D-=20 2.12.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlj2XNEACgkQoqBt8qM6 VPp92Af/TH9oRIw8aXuvFNJE6bN/lY3Cq09Ycq+bIyvMBvcbBo2Ad6FW2kGm+tIg ezrF9STN3mh2r43QKexeucioeBS1nemHofWFi4CAVc7u44lSz7QVFfNUO+ED1lkt LFAbMEhvFRaCSbOKjZbR8DHP9HkcRYsaCNaUrpXVwe/q1jmNsxoplRcszFqb78g4 r1wY3zeaDOz9DtoCTHhKBmV8ejuAk7JN3/DpdR4Ncmnz+7HfQK4HnuaKgNfS7zw2 O+YjQ0abAvZYwCmcaiEpOaHHnWbfubci7LPRFNsQ2T9+dCasc1sH/M88GpwEHkdP hNgaicWtAAemMO+6ZMYftdR3xKfmkQ== =UEXf -----END PGP SIGNATURE----- --==-=-=-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Apr 2017 21:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Marius Bakke Cc: 26238@debbugs.gnu.org, Leo Famulari Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149255127013128 (code B ref 26238); Tue, 18 Apr 2017 21:35:02 +0000 Received: (at 26238) by debbugs.gnu.org; 18 Apr 2017 21:34:30 +0000 Received: from localhost ([127.0.0.1]:55279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0ala-0003Pf-4F for submit@debbugs.gnu.org; Tue, 18 Apr 2017 17:34:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0alY-0003PT-2u for 26238@debbugs.gnu.org; Tue, 18 Apr 2017 17:34:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0alN-0002P5-SY for 26238@debbugs.gnu.org; Tue, 18 Apr 2017 17:34:22 -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.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0alN-0002P1-Pf; Tue, 18 Apr 2017 17:34:17 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:36986 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d0alM-0007lq-Tr; Tue, 18 Apr 2017 17:34:17 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170324162234.GA32596@jasmine> <87d1d4p1nr.fsf@gnu.org> <20170326200114.GA9140@jasmine> <87o9wnnmy8.fsf@gnu.org> <87vaq2oh6r.fsf@gnu.org> <87y3uyk95r.fsf@fastmail.com> <87a87eup5p.fsf@gnu.org> <87r30pv9yn.fsf@fastmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Germinal an 225 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-unknown-linux-gnu Date: Tue, 18 Apr 2017 23:34:14 +0200 In-Reply-To: <87r30pv9yn.fsf@fastmail.com> (Marius Bakke's message of "Tue, 18 Apr 2017 20:37:04 +0200") Message-ID: <87h91ls8mh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Marius Bakke skribis: > Here is a WIP patch that adds a graft for coreutils 8.27. I stole Leos > code for the (gnu packages commencement) part. It builds with > `./pre-inst-env guix build coreutils`, but my after reconfiguring my > system on it, `date --version` still shows 8.26. > > Any idea what's wrong? Bah! The system uses =E2=80=98coreutils-final=E2=80=99 due to this stanza = in (gnu system): ;; The packages below are also in %FINAL-INPUTS, so take them from ;; there to avoid duplication. (map canonical-package (list guile-2.0 bash coreutils findutils grep sed diffutils patch gawk tar gzip bzip2 xz lzip)) Not sure how to handle it. We could explicitly write =E2=80=98coreutils-8.= 27=E2=80=99 above, which would solve the problem. It would also make the graft much less useful, except for people explicitly doing: guix package -i coreutils So we might just as well remove the graft. Thoughts? Ludo=E2=80=99. From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Apr 2017 16:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26238@debbugs.gnu.org, Leo Famulari Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149262054920471 (code B ref 26238); Wed, 19 Apr 2017 16:50:01 +0000 Received: (at 26238) by debbugs.gnu.org; 19 Apr 2017 16:49:09 +0000 Received: from localhost ([127.0.0.1]:57225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0smz-0005K7-3k for submit@debbugs.gnu.org; Wed, 19 Apr 2017 12:49:09 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:51819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0smx-0005Jz-FC for 26238@debbugs.gnu.org; Wed, 19 Apr 2017 12:49:08 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DDCAB20C7F; Wed, 19 Apr 2017 12:49:06 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Wed, 19 Apr 2017 12:49:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.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 :x-sasl-enc; s=fm1; bh=Uz16N4bTSU07BqhS0mlTgvjtsef6zBr0TTOdfqdbN iw=; b=Wy9OuFzUgXUy8V5v5XmK7wxT8TjyaJtmMrb8/+oPt/DsWFfcyuw0u3fyi NEdMW0y2L2VwH06jUYow0G8hnzQPiR0pt4E1n130BTWDpEGM/MrYZXp1woxQ30oT RCu+u+Cn2vLrqBWg76xdXKIzPxc8IgcSnJk8WeCGnhxivZs+stTzKHiZq5Y7nVVN VPUccb1MzoU+nsQnMBwcj5cfdt9AtSD/tZYwsDXa/gIJ05guZzeKCRhS9d6AKLfq 0C1unLAqDjlGkhcrIaWxfn7er43YlOBPomnHN1fxtRpxpNX+CW5Ajv8AcTKqjoL3 7kHNQfJGXVdl3YW2myphwUZGO8KSA== 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:x-sasl-enc; s=fm1; bh=Uz16N4bTSU07BqhS0m lTgvjtsef6zBr0TTOdfqdbNiw=; b=CLWykwF8E6ujI4p0pxNxYyWHqGAplcudJZ w75Ivg/6ad/ONkxcw/bWuuN2pqM/Yi8u1eWAJtKF51Ra9I35AHinaDd243cMV/Qm 0bn0CCLGG/oV84hJDblJWG/enbqPqsNwWyuZ2s59WEbDaqWeJP8FsiQeYamuSTJc xMcNYkErKpEtqlYz9c2nqpPfL3qKuNwdoNX3OkzZZ3nSPJ5gUr+E3j2njFj0dqbm z1PuODC07xUfazqHSkv1j0XaNiKiB6Y3yEqilLOnU2OG7FHU111yXrG6Gn4XxVK1 W9JNQcVaI+qBaBvz57xhHX9ENRI3IWa8a1ogKuzi08fPdwgKs6WA== X-ME-Sender: X-Sasl-enc: jFg8FTDaItm6XpUXKW5Dy1EJkReFcqIDtxNAUH82ZuqA 1492620546 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 662627E8E1; Wed, 19 Apr 2017 12:49:06 -0400 (EDT) From: Marius Bakke In-Reply-To: <87h91ls8mh.fsf@gnu.org> References: <20170324162234.GA32596@jasmine> <87d1d4p1nr.fsf@gnu.org> <20170326200114.GA9140@jasmine> <87o9wnnmy8.fsf@gnu.org> <87vaq2oh6r.fsf@gnu.org> <87y3uyk95r.fsf@fastmail.com> <87a87eup5p.fsf@gnu.org> <87r30pv9yn.fsf@fastmail.com> <87h91ls8mh.fsf@gnu.org> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Wed, 19 Apr 2017 18:49:04 +0200 Message-ID: <87efwouyv3.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Marius Bakke skribis: > >> Here is a WIP patch that adds a graft for coreutils 8.27. I stole Leos >> code for the (gnu packages commencement) part. It builds with >> `./pre-inst-env guix build coreutils`, but my after reconfiguring my >> system on it, `date --version` still shows 8.26. >> >> Any idea what's wrong? > > Bah! The system uses =E2=80=98coreutils-final=E2=80=99 due to this stanz= a in (gnu > system): > > ;; The packages below are also in %FINAL-INPUTS, so take them from > ;; there to avoid duplication. > (map canonical-package > (list guile-2.0 bash coreutils findutils grep sed > diffutils patch gawk tar gzip bzip2 xz lzip)) > > Not sure how to handle it. We could explicitly write =E2=80=98coreutils-= 8.27=E2=80=99 > above, which would solve the problem. It would also make the graft much > less useful, except for people explicitly doing: > > guix package -i coreutils > > So we might just as well remove the graft. Okay, that makes sense. I dropped the graft in the patch below and can confirm it works on my system. Note that coreutils-8.27 is now public so that `guix package -i coreutils` will pull in 8.27 regardless. PTAL. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-workaround-for-date-regression-in-coreutils-.patch Content-Transfer-Encoding: quoted-printable From=205be25413a76ca84c18e4f4174629af5fe6e87db1 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 18 Apr 2017 20:13:45 +0200 Subject: [PATCH] gnu: Add workaround for `date` regression in coreutils@8.2= 6. See and . * gnu/packages/base.scm (coreutils-8.27): New variable. * gnu/system.scm (%base-packages): Use that instead of COREUTILS. =2D-- gnu/packages/base.scm | 16 ++++++++++++++++ gnu/system.scm | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 5c36b612f..a95ca2888 100644 =2D-- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -361,6 +361,22 @@ functionality beyond that which is outlined in the POS= IX standard.") (license gpl3+) (home-page "https://www.gnu.org/software/coreutils/"))) =20 +;; We add version 8.27 here for use in (gnu system) due to a time +;; zone bug in `date' versions 8.25 - 8.26. +;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23035 +;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26238 +(define-public coreutils-8.27 + (package + (inherit coreutils) + (version "8.27") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/coreutils/coreutils-" + version ".tar.xz")) + (sha256 + (base32 + "0sv547572iq8ayy8klir4hnngnx92a9nsazmf1wgzfc7xr4x74c8"))))= )) + (define-public coreutils-minimal ;; Coreutils without its optional dependencies. (package diff --git a/gnu/system.scm b/gnu/system.scm index 89c4150f9..f6ab7ded8 100644 =2D-- a/gnu/system.scm +++ b/gnu/system.scm @@ -385,7 +385,7 @@ explicitly appear in OS." ;; The packages below are also in %FINAL-INPUTS, so take them from ;; there to avoid duplication. (map canonical-package =2D (list guile-2.0 bash coreutils findutils grep sed + (list guile-2.0 bash coreutils-8.27 findutils grep sed diffutils patch gawk tar gzip bzip2 xz lzip)))) =20 (define %default-issue =2D-=20 2.12.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlj3lQAACgkQoqBt8qM6 VPo6bQf/SRTCnnqv42uNKi9Fsf0wEJRC8B1y5bZ3Isr01IL0aReWlxBS6WZGiarc STN3ySn1TW8WrBZjZC4usVu8Mso6V2s3xtDwwYaYbarQujK8PSdKgW6K16np7iPh fuA5JLi32mbN7tqB8/yf5Fe3NkRuMZG/qyCgzMK4FAwQ1UorfknHP9n0l6Pv66TO 3gIkMjy/bnYEZo1QLq+J435mFsdyL7Rdxb5FuYjm3eP0DpDwUamxKCJbYSNRxRwV 432UZUTs+pahkJn/ZLZLaI7y317xvJCzJRwiRJacPelZyFRsIAQDSaJZuPiGYN8c GlxrahI+1Bm5EILyd/oPVH5N7IImTQ== =3l7b -----END PGP SIGNATURE----- --==-=-=-- From unknown Mon Jun 23 04:13:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Apr 2017 20:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Marius Bakke Cc: 26238@debbugs.gnu.org, Leo Famulari Received: via spool by 26238-submit@debbugs.gnu.org id=B26238.149263204715361 (code B ref 26238); Wed, 19 Apr 2017 20:01:02 +0000 Received: (at 26238) by debbugs.gnu.org; 19 Apr 2017 20:00:47 +0000 Received: from localhost ([127.0.0.1]:57408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0vmP-0003yK-Ud for submit@debbugs.gnu.org; Wed, 19 Apr 2017 16:00:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0vmO-0003sS-Gb for 26238@debbugs.gnu.org; Wed, 19 Apr 2017 16:00:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0vmG-0000qg-7s for 26238@debbugs.gnu.org; Wed, 19 Apr 2017 16:00:39 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0vmG-0000qZ-4E; Wed, 19 Apr 2017 16:00:36 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:39096 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d0vmF-0007Bh-Dg; Wed, 19 Apr 2017 16:00:35 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170324162234.GA32596@jasmine> <87d1d4p1nr.fsf@gnu.org> <20170326200114.GA9140@jasmine> <87o9wnnmy8.fsf@gnu.org> <87vaq2oh6r.fsf@gnu.org> <87y3uyk95r.fsf@fastmail.com> <87a87eup5p.fsf@gnu.org> <87r30pv9yn.fsf@fastmail.com> <87h91ls8mh.fsf@gnu.org> <87efwouyv3.fsf@fastmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Germinal an 225 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-unknown-linux-gnu Date: Wed, 19 Apr 2017 22:00:32 +0200 In-Reply-To: <87efwouyv3.fsf@fastmail.com> (Marius Bakke's message of "Wed, 19 Apr 2017 18:49:04 +0200") Message-ID: <87h91knp5r.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Heya, Marius Bakke skribis: >> Not sure how to handle it. We could explicitly write =E2=80=98coreutils= -8.27=E2=80=99 >> above, which would solve the problem. It would also make the graft much >> less useful, except for people explicitly doing: >> >> guix package -i coreutils >> >> So we might just as well remove the graft. > > Okay, that makes sense. I dropped the graft in the patch below and can > confirm it works on my system. Note that coreutils-8.27 is now public so > that `guix package -i coreutils` will pull in 8.27 regardless. PTAL. Indeed. > From 5be25413a76ca84c18e4f4174629af5fe6e87db1 Mon Sep 17 00:00:00 2001 > From: Marius Bakke > Date: Tue, 18 Apr 2017 20:13:45 +0200 > Subject: [PATCH] gnu: Add workaround for `date` regression in coreutils@8= .26. > > See and . > > * gnu/packages/base.scm (coreutils-8.27): New variable. > * gnu/system.scm (%base-packages): Use that instead of COREUTILS. Go for it! Thanks, Ludo=E2=80=99. From unknown Mon Jun 23 04:13:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Leo Famulari Subject: bug#26238: closed (Re: bug#26238: core-updates: Fix time zone bug in `date` 8.26) Message-ID: References: <87o9vstawd.fsf@fastmail.com> <20170324162234.GA32596@jasmine> X-Gnu-PR-Message: they-closed 26238 X-Gnu-PR-Package: guix-patches Reply-To: 26238@debbugs.gnu.org Date: Wed, 19 Apr 2017 20:13:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1492632782-20845-1" This is a multi-part message in MIME format... ------------=_1492632782-20845-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #26238: core-updates: Fix time zone bug in `date` 8.26 which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 26238@debbugs.gnu.org. --=20 26238: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26238 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1492632782-20845-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 26238-done) by debbugs.gnu.org; 19 Apr 2017 20:12:06 +0000 Received: from localhost ([127.0.0.1]:57421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0vxO-0005Ox-L9 for submit@debbugs.gnu.org; Wed, 19 Apr 2017 16:12:06 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0vxN-0005Oq-3i for 26238-done@debbugs.gnu.org; Wed, 19 Apr 2017 16:12:05 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E835820F6C; Wed, 19 Apr 2017 16:12:04 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Wed, 19 Apr 2017 16:12:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.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 :x-sasl-enc; s=fm1; bh=fxabWW7iSDkr0RFgw7RYjwD1a2cXNllfv1R8Tfi11 VE=; b=C2KO7S8cTYIKcsO73ho4A1ugDt8cGhYoA2bKDDijSviscBaRQxnx2NRoY 8piQrfemvgX3c03MVYVsFBSyJZRL/28Ob2oK5Z9kHcTPqASXSZneBEgeiG5oxT9A iuTqpvGD4dOSeWsADyClH8/KPsZTUjX6WS7iX9/1Zj9RLhZIUjWZLOmLej+PGwMT lwxsbNVTjGKzg/UtRNsu3QuG7UXkjs+TGaqQ4yy4TGZX6V1irMfZbcm7b8hOI5GE +axEOnNCBybeND5qUSW6alVMiydF2lBzM0KupPDqfQQCpN8u20u29cO9LWBxaNrX jf38wYX1x02UvG+Wv/z0188vMZXGg== 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:x-sasl-enc; s=fm1; bh=fxabWW7iSDkr0RFgw7 RYjwD1a2cXNllfv1R8Tfi11VE=; b=AivyusXQR97rz9Xi6r7i7/mefu/For5CNG PC3k3e5+zTQJ6x3TNu3x+g+GTfK1VrflPj09AjX6eVZdaIadNJ8/cJixcYMbDcvN AvLpJDCJSZmDxygAii1Cg3JIeY1C/YWGsTG0ttAaMPProxPjIfmKhT99PomoCLyj Uj3i0AeV5FLUJ1VUD1vZt40ilcIjyarfEwWbLF/uICjHJEuNf+BSRbrRTp2iCluM ahNmnqX3kDZvG5TNBJiOaJMDjCiyEAxPsG7mq70a3SMcfkti5PZuf9GNiZYZD7fk 87LJOdE7DqvJCfewz1bUMatd7wbG9pAYC3kAPHYwdb4gRAqtM7XA== X-ME-Sender: X-Sasl-enc: aDBzr/2WhVU6KxhJ4XmVJqLlOomLDc9eh8VFVehwBuar 1492632724 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 73FF724519; Wed, 19 Apr 2017 16:12:04 -0400 (EDT) From: Marius Bakke To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26238: core-updates: Fix time zone bug in `date` 8.26 In-Reply-To: <87h91knp5r.fsf@gnu.org> References: <20170324162234.GA32596@jasmine> <87d1d4p1nr.fsf@gnu.org> <20170326200114.GA9140@jasmine> <87o9wnnmy8.fsf@gnu.org> <87vaq2oh6r.fsf@gnu.org> <87y3uyk95r.fsf@fastmail.com> <87a87eup5p.fsf@gnu.org> <87r30pv9yn.fsf@fastmail.com> <87h91ls8mh.fsf@gnu.org> <87efwouyv3.fsf@fastmail.com> <87h91knp5r.fsf@gnu.org> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Wed, 19 Apr 2017 22:12:02 +0200 Message-ID: <87o9vstawd.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26238-done Cc: 26238-done@debbugs.gnu.org, Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: >> From 5be25413a76ca84c18e4f4174629af5fe6e87db1 Mon Sep 17 00:00:00 2001 >> From: Marius Bakke >> Date: Tue, 18 Apr 2017 20:13:45 +0200 >> Subject: [PATCH] gnu: Add workaround for `date` regression in coreutils@= 8.26. >> >> See and . >> >> * gnu/packages/base.scm (coreutils-8.27): New variable. >> * gnu/system.scm (%base-packages): Use that instead of COREUTILS. > > Go for it! Pushed! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlj3xJMACgkQoqBt8qM6 VPoixgf/XSWo07ctt5e59oiq4/mP5Q4YW8ljwdcRQqruZAryKHlWIO2SJI9xEini NFZEGUDEhRkcbR4F76FZwT5s8uz9wQqBeuJjPp8hmQiwLN76NZI8QgRtqeWB1xFk E74mizGwQwjD/hZygWh/S56zbXqxbQ7bEAV2fUZE61Ug5NltHQYApwfLqCzM+9c0 AIKaSE2G0aY2hMBTgHW9k3qMPYU9Ie0TSUhDBUouUScwlfYAx/hEf4+UDQuy33KC dYjFBkGebsFyQdOu/9JwwDqFXKgobW5i/Q/q6kJbZrSZ76aMJ7IReM62FJZ2x5ns pC6tjAh0K2k1zdMoSZ4pG7pKTxvppA== =y2nF -----END PGP SIGNATURE----- --=-=-=-- ------------=_1492632782-20845-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Mar 2017 16:23:01 +0000 Received: from localhost ([127.0.0.1]:42656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crRzL-0003ck-0t for submit@debbugs.gnu.org; Fri, 24 Mar 2017 12:23:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crRzG-0003cT-Pc for submit@debbugs.gnu.org; Fri, 24 Mar 2017 12:22:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crRz9-0005vy-RV for submit@debbugs.gnu.org; Fri, 24 Mar 2017 12:22:45 -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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1crRz9-0005vu-NZ for submit@debbugs.gnu.org; Fri, 24 Mar 2017 12:22:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crRz7-0006Cj-SV for guix-patches@gnu.org; Fri, 24 Mar 2017 12:22:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crRz3-0005uc-Ka for guix-patches@gnu.org; Fri, 24 Mar 2017 12:22:41 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59506) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1crRz3-0005uB-9x for guix-patches@gnu.org; Fri, 24 Mar 2017 12:22:37 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 09FB7208EC; Fri, 24 Mar 2017 12:22:36 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Fri, 24 Mar 2017 12:22:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=JFx jOBNiTj7CRbU3cBjzBMpZTrIHPziWQBEKivJ75Zc=; b=KyYNfEMLohJfHWcq0T5 3F7B/xF6ltYKfAk+H3Tonu0V35qmQwb8h4Crke+FMTcHLNVr724M/t2gp9gpzO3F lu7nFjKeX0gBdjDo29rlx/2VWq01kYDFQ+q9CkDKjGXFTA96Ec0AsqziDmAzgJh0 /wdrqULf9uT1NfhShcp3FZZQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=JFxjOBNiTj7CRbU3cBjzBMpZTrIHPziWQBEKivJ75 Zc=; b=YhhzYoQRv6kfc22quQzV0G1GZKoLw+I65ea73zvYt+MdlWYuqZhgbc60v aXT50Hr9B7xuyidQgosi60D7CfJDwhDqyEZqhKi/9Shkm1lWm/V3XNirl4GAVIk7 61oFNnaOkh2xm/XrUswS5zkIjG+crzPqD6YWXqvsTR1WkLQ8W82PQ/ImBHMlk3rH pG9++RObH7ec/bD1a4bHyC1L88m6nrIowwNLPHxEm+COVNvxTYsUX3EOm2PFEqx0 xjFF22LY9h7AmfV2Owgoo9YZqQqqdPV4ixubVhxXlrAEy3SDZE/Ttc59yY2nFbOt 94iCFfO/HNQ3zNq18JvOyBdVmoTrw== X-ME-Sender: X-Sasl-enc: Or3PPguWtDt5MlR0m58h/1e81oNRjVQHZUw757uV2yu9 1490372555 Received: from localhost (unknown [172.56.28.226]) by mail.messagingengine.com (Postfix) with ESMTPA id AC08324371 for ; Fri, 24 Mar 2017 12:22:35 -0400 (EDT) Date: Fri, 24 Mar 2017 12:22:34 -0400 From: Leo Famulari To: guix-patches@gnu.org Subject: core-updates: Fix time zone bug in `date` 8.26 Message-ID: <20170324162234.GA32596@jasmine> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline User-Agent: Mutt/1.8.0 (2017-02-23) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) --1UWUbFP1cBYEclgG Content-Type: multipart/mixed; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline After discussion on #guix, Ludovic and I decided to try grafting coreutils to fix a bug in `date` that breaks converting between time zones. https://gnunet.org/bot/log/guix/2017-03-24#T1333113 But, I'm not sure how to handle coreutils-final from (gnu packages commencement). Any advice? --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-WIP-coreutils-Fix-a-time-zone-bug-in-date-8.26.patch" Content-Transfer-Encoding: quoted-printable =46rom 25897d2d2201251c7e98d938f9a78e00c4f6f27d Mon Sep 17 00:00:00 2001 =46rom: Leo Famulari Date: Fri, 24 Mar 2017 12:18:21 -0400 Subject: [PATCH] WIP: coreutils: Fix a time-zone bug in date 8.26. * gnu/packages/base.scm (coreutils)[replacement]: New field. (coreutils/fixed): New variable. * gnu/packages/commencement.scm (coreutils-final): *** Help wanted :) *** * gnu/packages/patches/coreutils-fix-time-zone-conversion.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/local.mk | 1 + gnu/packages/base.scm | 13 +++ .../coreutils-fix-time-zone-conversion.patch | 114 +++++++++++++++++= ++++ 3 files changed, 128 insertions(+) create mode 100644 gnu/packages/patches/coreutils-fix-time-zone-conversion= =2Epatch diff --git a/gnu/local.mk b/gnu/local.mk index c9e3131c0..72cc93b1b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -515,6 +515,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/cmake-fix-tests.patch \ %D%/packages/patches/coda-use-system-libs.patch \ %D%/packages/patches/coreutils-fix-cross-compilation.patch \ + %D%/packages/patches/coreutils-fix-time-zone-conversion.patch \ %D%/packages/patches/cpio-CVE-2016-2037.patch \ %D%/packages/patches/cpufrequtils-fix-aclocal.patch \ %D%/packages/patches/cracklib-CVE-2016-6318.patch \ diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index ba9c820ef..4157525b6 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -284,6 +284,7 @@ used to apply commands with arbitrarily long arguments.= ") (define-public coreutils (package (name "coreutils") + (replacement coreutils/fixed) (version "8.26") (source (origin (method url-fetch) @@ -338,11 +339,23 @@ functionality beyond that which is outlined in the PO= SIX standard.") (license gpl3+) (home-page "http://www.gnu.org/software/coreutils/"))) =20 +(define coreutils/fixed + (package + (inherit coreutils) + (source + (origin + (inherit (package-source coreutils)) + (patches + (append + (origin-patches (package-source coreutils)) + (search-patches "coreutils-fix-time-zone-conversion.patch"))))= ))) + (define-public coreutils-minimal ;; Coreutils without its optional dependencies. (package (inherit coreutils) (name "coreutils-minimal") + (replacement #f) (outputs '("out")) (inputs '()))) =20 diff --git a/gnu/packages/patches/coreutils-fix-time-zone-conversion.patch = b/gnu/packages/patches/coreutils-fix-time-zone-conversion.patch new file mode 100644 index 000000000..56a86b3b5 --- /dev/null +++ b/gnu/packages/patches/coreutils-fix-time-zone-conversion.patch @@ -0,0 +1,114 @@ +Fixes a bug in `date` that prevents converting between time zones: + +https://bugs.debian.org/851934 + +Patch copied from upstream source repository: + +https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=3Db14be5085cd1a= efd473a000456b21270e6070711 + +From b14be5085cd1aefd473a000456b21270e6070711 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Fri, 20 Jan 2017 18:24:02 -0800 +Subject: [PATCH] date: fix TZ=3D regression + +Problem reported by Paul Wise for Debian, in: +https://bugs.debian.org/851934 +This is fallout from the fix for GNU Bug#23035. +* src/date.c (batch_convert): New args TZ and TZSTRING. +All uses changed. +(batch_convert, main): Adjust to parse_datetime2 API change. +(main): Allocate time zone object. +* tests/misc/date-debug.sh: Fix incorrect test case, +caught by the fix. +* tests/misc/date.pl: Test the fix. +--- + src/date.c | 14 +++++++++----- + tests/misc/date-debug.sh | 4 ++-- + tests/misc/date.pl | 6 ++++++ + 3 files changed, 17 insertions(+), 7 deletions(-) + +diff --git a/src/date.c b/src/date.c +index eed09016d..eb7c624e3 100644 +--- a/src/date.c ++++ b/src/date.c +@@ -286,7 +286,8 @@ Show the local time for 9AM next Friday on the west co= ast of the US\n\ + Return true if successful. */ +=20 + static bool +-batch_convert (const char *input_filename, const char *format, timezone_t= tz) ++batch_convert (const char *input_filename, const char *format, ++ timezone_t tz, char const *tzstring) + { + bool ok; + FILE *in_stream; +@@ -320,7 +321,8 @@ batch_convert (const char *input_filename, const char = *format, timezone_t tz) + break; + } +=20 +- if (! parse_datetime2 (&when, line, NULL, parse_datetime_flags)) ++ if (! parse_datetime2 (&when, line, NULL, ++ parse_datetime_flags, tz, tzstring)) + { + if (line[line_length - 1] =3D=3D '\n') + line[line_length - 1] =3D '\0'; +@@ -502,10 +504,11 @@ main (int argc, char **argv) + } + } +=20 +- timezone_t tz =3D tzalloc (getenv ("TZ")); ++ char const *tzstring =3D getenv ("TZ"); ++ timezone_t tz =3D tzalloc (tzstring); +=20 + if (batch_file !=3D NULL) +- ok =3D batch_convert (batch_file, format, tz); ++ ok =3D batch_convert (batch_file, format, tz, tzstring); + else + { + bool valid_date =3D true; +@@ -545,7 +548,8 @@ main (int argc, char **argv) + if (set_datestr) + datestr =3D set_datestr; + valid_date =3D parse_datetime2 (&when, datestr, NULL, +- parse_datetime_flags); ++ parse_datetime_flags, ++ tz, tzstring); + } + } +=20 +diff --git a/tests/misc/date-debug.sh b/tests/misc/date-debug.sh +index 06de8dd37..48f460506 100755 +--- a/tests/misc/date-debug.sh ++++ b/tests/misc/date-debug.sh +@@ -48,10 +48,10 @@ date: new date/time =3D '(Y-M-D) 1990-12-14 00:00:= 00 TZ=3D+09:00' + date: '(Y-M-D) 1990-12-14 00:00:00 TZ=3D+09:00' =3D 661100400 epoch-secon= ds + date: after time adjustment (+0 hours, -90 minutes, +0 seconds, +0 ns), + date: new time =3D 661095000 epoch-seconds +-date: output timezone: -06:00 (set from TZ=3D"America/Belize" environment= value) ++date: output timezone: +09:00 (set from TZ=3D"Asia/Tokyo" environment val= ue) + date: final: 661095000.000000000 (epoch-seconds) + date: final: (Y-M-D) 1990-12-13 13:30:00 (UTC0) +-date: final: (Y-M-D) 1990-12-13 07:30:00 (output timezone TZ=3D-06:00) ++date: final: (Y-M-D) 1990-12-13 22:30:00 (output timezone TZ=3D+09:00) + Thu Dec 13 07:30:00 CST 1990 + EOF +=20 +diff --git a/tests/misc/date.pl b/tests/misc/date.pl +index 519c2474d..f026909bf 100755 +--- a/tests/misc/date.pl ++++ b/tests/misc/date.pl +@@ -291,6 +291,12 @@ my @Tests =3D + {ERR =3D> "date: invalid date 'TZ=3D\"\"\"'\n"}, + {EXIT =3D> 1}, + ], ++ ++ # https://bugs.debian.org/851934#10 ++ ['cross-TZ-mishandled', "-d 'TZ=3D\"EST5\" 1970-01-01 00:00'", ++ {ENV =3D> 'TZ=3DPST8'}, ++ {OUT =3D> 'Wed Dec 31 21:00:00 PST 1969'}, ++ ], + ); +=20 + # Repeat the cross-dst test, using Jan 1, 2005 and every interval from 1.= =2E364. +--=20 +2.12.0 + --=20 2.12.0 --/04w6evG8XlLl3ft-- --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAljVR8QACgkQJkb6MLrK fwg65BAAw7AwRdJ4HnZM96ckHsTjE/HwrQwE0tF1j3F/H38oGJN6Rl2baXA5R4tt rYTbIm/E23NzT6dATJ6L+5F7pzrDzZaaYGcorrJMYApBpvIWbM+QSTgOAlFpMCKI blcyd6poCpnt74zUputy2y/u9ocLaMYJPF1nxxNwMjl7MGS6uneQKmWCGQ/JL3y/ d3vTXotG+yjsa14HYQxs2Y3QmmvwJtuuBXWPf3Yrj4CRQ/AFYjpksbMJQ1LghcZO 5quzpdQrdG/hOGde9Wn4iijOUE9XXBZ8Iy6ro28zgK6KkLJwKLjs4L2zxI18Sd5i 6tnuwYY0R10kU6oS+Wi5WjRvjXm0DDNDe6OpiRc9wNeTpBKdCRf4B1SAnhvgdPxK MoPti60uAX2VOpSsvIyR017n3B1ArEQmQEVeJLLFOLbrLNYoOA31dsGUF+m/Dfar qpR3iL6Ei6qrJmwbGKS7BxXY55xYNZ5+VHQmdyOR9/y1ZkA+dO5RtG+Agb79tSfl nCb3ZqueSGy6kQdrhZURyKFbNw4+AgiVIZBZqtJXCyudsLKqENTOD48x8AXzP1A+ NBNYSni/8hTvKyS8Yn3LUVFr5UZwhr2AqO2lDkKwh21bBZzobcGfLgJnrYsg/DUL Vvt020w51PxxpJmz77wF6z5jqGFWYQ3/gCTUnPKTvwcsIF78vpU= =qGRA -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG-- ------------=_1492632782-20845-1--