GNU bug report logs - #39665
r-readr in a container has got no timezone data

Previous Next

Package: guix;

Reported by: Wiktor Żelazny <wz <at> freeshell.de>

Date: Tue, 18 Feb 2020 15:21:01 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Wiktor Żelazny <wz <at> freeshell.de>
To: bug-guix <at> gnu.org
Subject: r-readr in a container has got no timezone data
Date: Tue, 18 Feb 2020 16:19:26 +0100
[Message part 1 (text/plain, inline)]
Related to [1]. Reproducing:

   guix environment -C --pure --ad-hoc r r-readr
   Rscript -e 'library(readr); default_locale()'

A hack that fixes this issue is to include tzdata among the environment
inputs, and to set

   TZDIR=/gnu/store/$(ls -F /gnu/store | grep tzdata.*/ | head -n 1)share/zoneinfo

(actually, one needs also coreutils and grep to do that, but that’s
beyond the point). I haven’t tried it (yet?), but maybe it suffices to
add tzdata to r-readr inputs in the package definition to fix this
issue.

WŻ

[1]: https://github.com/tidyverse/readr/issues/952
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 119 days ago.

Previous Next


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