From unknown Wed Jun 18 23:05:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39665 <39665@debbugs.gnu.org> To: bug#39665 <39665@debbugs.gnu.org> Subject: Status: r-readr in a container has got no timezone data Reply-To: bug#39665 <39665@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:05:41 +0000 retitle 39665 r-readr in a container has got no timezone data reassign 39665 guix submitter 39665 Wiktor =C5=BBelazny severity 39665 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 18 10:20:02 2020 Received: (at submit) by debbugs.gnu.org; 18 Feb 2020 15:20:02 +0000 Received: from localhost ([127.0.0.1]:41128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j44fK-0002NL-6I for submit@debbugs.gnu.org; Tue, 18 Feb 2020 10:20:02 -0500 Received: from lists.gnu.org ([209.51.188.17]:48663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j44fI-0002Mr-4v for submit@debbugs.gnu.org; Tue, 18 Feb 2020 10:20:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36125) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j44fG-0007pW-Te for bug-guix@gnu.org; Tue, 18 Feb 2020 10:19:59 -0500 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 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j44fE-0007DM-VX for bug-guix@gnu.org; Tue, 18 Feb 2020 10:19:58 -0500 Received: from freeshell.de ([2a01:360:106::2]:54470) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j44fE-0007B9-PH for bug-guix@gnu.org; Tue, 18 Feb 2020 10:19:56 -0500 Date: Tue, 18 Feb 2020 16:19:26 +0100 From: Wiktor =?utf-8?Q?=C5=BBelazny?= To: bug-guix@gnu.org Subject: r-readr in a container has got no timezone data Message-ID: <20200218151926.2yhah6zc7pym2fiu@wzguix> Mail-Followup-To: bug-guix@gnu.org X-PGP-Key: https://freeshell.de/~wz/pubkey.asc X-PGP-Fingerprint: BDC9 74CD D9C9 BA7D 761A 573D C735 A8C6 AB60 79D5 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5gdwgr47rl55ekmk" Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:360:106::2 X-Spam-Score: 0.2 (/) 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.8 (/) --5gdwgr47rl55ekmk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D/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=E2=80=99s beyond the point). I haven=E2=80=99t tried it (yet?), but maybe it suffices= to add tzdata to r-readr inputs in the package definition to fix this issue. W=C5=BB [1]: https://github.com/tidyverse/readr/issues/952 --5gdwgr47rl55ekmk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAl5MAH5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edUA6BAAr45lHVnAQBdOyJhWL+l0kZaBZaPDNzu9Ao/to86XcFePdW0a54Eux/QN KigSOEPyuLtKTo68x4XPl4NVHJ/VxVD0C4HoBOIg05+GtkUS6OoWWrTbpy7WoBVN epa5WmyvEW1Kc294xtOJGIiyYI9IYibhD3fVQnDEk4Lc0meUqJyJIP1kLI2dGEn7 x5LGmTD99RSLCGQMQCVQ5e3g1tB3Pbzczyy5eCFY+h2N/hczmT1uiryAlGodsrfd EVkj/f8VW/xu0ZpvNjWav11pPDM7CFpD8Xx4sp7dZ38ktWipG2xpt5Cr8MvH1b/V GbwN5zJP6Hiht9I3vWuhb222E5TfCBEVYyhccxd2Zi3KWUHLddCwue0sPm+uQwdU fYZrZnAFpQ8wBxzQgzHeU7u7JoFsQiHdDtocdYP9Wmy9HbbfrJS6RKGaNFkgZ4I6 QWtP6e9B+fsGHahUEKRedAdyRIJFvcaskGCqOzZAZ0u6wG0dUoyw74jn7qgw/edo 2P2655guZLyjfefo3TVnmvGsEw7BrSUyEH+f+cx8cKJgXe/JXVTyutNSvxN74NHo kKUoIbJc53IsKll87fInvPq5vFxjd03DPMmAJdlp+GbWUz4oLNpsdwydYFR6MHHr RClAZ0PBdu8Qdx1F1tiZJp64LctBONuOyD31r+4lKpkjt7vXZwA= =1QZ9 -----END PGP SIGNATURE----- --5gdwgr47rl55ekmk-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 07:44:47 2020 Received: (at submit) by debbugs.gnu.org; 20 Feb 2020 12:44:47 +0000 Received: from localhost ([127.0.0.1]:43960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4lCB-0005Mq-BQ for submit@debbugs.gnu.org; Thu, 20 Feb 2020 07:44:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:39211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4lC9-0005Mc-Ge for submit@debbugs.gnu.org; Thu, 20 Feb 2020 07:44:45 -0500 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 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,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MJPyRH/JmWsPbV/rJ+mOKEwpTnBebSZWIqL2QVmSpKQ=; b=gIxCegAXPu7nP3ilSnuGFVF8h0tnKBhRfZH8UVWllao/2Wpskc7gDmySlDm/cT78FI 4IzwyZxgd/HRX8BWG2zHxJ2taK6fm07tIytcmBY02eyCqBgRu84nkVNsp+QaFEQuDc1y wxKOr/rxvRIlFFgdR3FYr/J1RZmU5GdNjBSU+P08dUI7Sp+/0cBVp/dxQclyR6OonO4T AToBkFxC1PoG3OLYsisciFljBYQtFnFlI4xGhbjIwuROP7AKbp7r2/Ic3BaX7ZkOJBc8 CfuetaoI8Nlb62dKELzbRT/QX3d41mVIfEee3Ab/Yfkn7C8j3QHe3TugkMFWCni2nK0Z 5QQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MJPyRH/JmWsPbV/rJ+mOKEwpTnBebSZWIqL2QVmSpKQ=; b=SD8GKLtrj5ckXBv6PDdmO8mVkzvK9RzpmjXCMPjqLp8keK/LbI+QK9yXCsCFQ2yJRm OY5bjxI4s8lj3zCwMV4Xp2I7CDZ63KZ+RZLLXMOwp4zfCsIRttLZPKC0nsE59OB9P/X0 2ST2fL62RQb7gvnnxdGpw6f/M6+suxDnSzcxDOQGfx94PduQssutieK9RmsqFwpkaUXQ w/oS6jjQF6I3S0UfxbQ2TnXE2iMfxwX3dIBFoF7lHflLXd9id00VuoFt5MHVS0GT3g5z n4+KGztDwUL2RM0c3ZzlF+v37afVx5EK6Rt+BaEhsI7Mm9YTlrf4cKxJqccWY+sZrg9J 7CxA== X-Gm-Message-State: APjAAAWS4ItKuZTwe8iuC/Y+umt0R2UmUV85qRGvSc4h485pG+fwQktA 6dLSorEKexN66gMwyEpCr7EqtrvzcJbGxYVZo4qLGuhd X-Google-Smtp-Source: APXvYqy8eQNlwBEvkkRlPj0lvEJLDLCJTJj+YHS/Tc9RAlOrDLhPKWUAQmwrlkQ9AX0pC8WXOdxs1bfmsdr6VK+0tNY= X-Received: by 2002:a37:a496:: with SMTP id n144mr6041513qke.126.1582202680217; Thu, 20 Feb 2020 04:44:40 -0800 (PST) MIME-Version: 1.0 References: <20200218151926.2yhah6zc7pym2fiu@wzguix> In-Reply-To: <20200218151926.2yhah6zc7pym2fiu@wzguix> From: zimoun Date: Thu, 20 Feb 2020 13:44:29 +0100 Message-ID: Subject: Re: bug#39665: r-readr in a container has got no timezone data To: bug-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::729 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit Cc: 39665@debbugs.gnu.org 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 (/) 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