GNU bug report logs -
#39665
r-readr in a container has got no timezone data
Previous Next
To reply to this bug, email your comments to 39665 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#39665
; Package
guix
.
(Tue, 18 Feb 2020 15:21:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Wiktor Żelazny <wz <at> freeshell.de>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 18 Feb 2020 15:21:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[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)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#39665
; Package
guix
.
(Thu, 20 Feb 2020 12:45:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Dear,
On Tue, 18 Feb 2020 at 16:21, Wiktor Żelazny <wz <at> freeshell.de> wrote:
>
> Related to [1]. Reproducing:
>
> guix environment -C --pure --ad-hoc r r-readr
> Rscript -e 'library(readr); default_locale()'
The output is:
--8<---------------cut here---------------start------------->8---
Error: Unknown TZ UTC
In addition: Warning message:
In OlsonNames() : no Olson database found
Execution halted
sh: rm: command not found
--8<---------------cut here---------------end--------------->8---
> (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.
Just adding tzdata to the propgapated-inputs list is not enough.
Well, I do not understand why the test suite pass. It should fail if
locale date is required... I am missing a point. Especially when
reading these 2 comments:
https://github.com/tidyverse/readr/issues/952#issuecomment-451244171
https://github.com/tidyverse/readr/issues/952#issuecomment-451255375
Let investigate more...
Thank you for the report.
All the best,
simon
Information forwarded
to
bug-guix <at> gnu.org
:
bug#39665
; Package
guix
.
(Thu, 20 Feb 2020 12:45:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 284 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.