From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: bug#39665: r-readr in a container has got no timezone data Date: Thu, 20 Feb 2020 13:44:29 +0100 Message-ID: References: <20200218151926.2yhah6zc7pym2fiu@wzguix> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52036) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4lCR-00022o-8o for bug-guix@gnu.org; Thu, 20 Feb 2020 07:45:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4lCQ-0005lU-8E for bug-guix@gnu.org; Thu, 20 Feb 2020 07:45:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37989) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4lCQ-0005lM-56 for bug-guix@gnu.org; Thu, 20 Feb 2020 07:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j4lCQ-0005Ng-3c for bug-guix@gnu.org; Thu, 20 Feb 2020 07:45:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:52000) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4lC8-00021g-CA for bug-guix@gnu.org; Thu, 20 Feb 2020 07:44:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4lC5-0005dq-8L for bug-guix@gnu.org; Thu, 20 Feb 2020 07:44:44 -0500 Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]:33302) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4lC5-0005db-34 for bug-guix@gnu.org; Thu, 20 Feb 2020 07:44:41 -0500 Received: by mail-qk1-x729.google.com with SMTP id h4so3399627qkm.0 for ; Thu, 20 Feb 2020 04:44:40 -0800 (PST) In-Reply-To: <20200218151926.2yhah6zc7pym2fiu@wzguix> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: 39665@debbugs.gnu.org Dear, On Tue, 18 Feb 2020 at 16:21, Wiktor =C5=BBelazny 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=E2=80= =99s > beyond the point). I haven=E2=80=99t tried it (yet?), but maybe it suffic= es 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