GNU bug report logs - #26238
core-updates: Fix time zone bug in `date` 8.26

Previous Next

Package: guix-patches;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Fri, 24 Mar 2017 16:23:02 UTC

Severity: important

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Marius Bakke <mbakke <at> fastmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 26238 <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: bug#26238: core-updates: Fix time zone bug in `date` 8.26
Date: Wed, 19 Apr 2017 18:49:04 +0200
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> Marius Bakke <mbakke <at> fastmail.com> 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 ‘coreutils-final’ 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 ‘coreutils-8.27’
> 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.

[0001-gnu-Add-workaround-for-date-regression-in-coreutils-.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 37 days ago.

Previous Next


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