Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2025 14:45:21 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= <des@freebsd.org>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: /etc/localtime symlink in poudriere jails
Message-ID:  <CAFDf7UJeN=Z2S1NsiXGj4WBsPL0ke6Tw6PHKkYLvhTtO3Lg3tg@mail.gmail.com>
In-Reply-To: <86pllya7ch.fsf@ltc.des.dev>
References:  <CAFDf7UJCkuxBi8m_QG=LorKTGe7Oztwwy2t-Ovd0Xj-z6mao5A@mail.gmail.com> <86pllya7ch.fsf@ltc.des.dev>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000a70ef6062ace54aa
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Dag-Erling Sm=C3=B8rgrav <des@freebsd.org> escreveu (quarta, 11/12/2024 =C3=
=A0(s)
09:37):

> Nuno Teixeira <eduardo@freebsd.org> writes:
> > I'm trying to find why there is no /etc/localtime in poudriere jails
> > and I need to create manually a symlink for some R-cran tests inside
> > interactive jail.
>
> This shouldn't matter.  The correct behavior if /etc/localtime is
> missing is to assume UTC; if the tests don't do that then they are
> broken and need to be fixed.  Can you provide logs, or a step-by-step
> procedure to reproduce the problem?
>
> DES
> --
> Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org
>

Hello des and sorry for delay.

I have a nice example of a failing test when no /etc/localtime exists
(tested under poudriere jail)

Update ports and make sure that you have
https://cgit.freebsd.org/ports/commit/?id=3D2a132052a96744d4032b6bd8e707e13=
f87de9e7d

$ poudriere testport -i
> su
> make test

Cheers


--=20
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

--000000000000a70ef6062ace54aa
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">Dag-Erling Sm=
=C3=B8rgrav &lt;<a href=3D"mailto:des@freebsd.org">des@freebsd.org</a>&gt; =
escreveu (quarta, 11/12/2024 =C3=A0(s) 09:37):<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">Nuno Teixeira &lt;<a href=3D"mailto:eduard=
o@freebsd.org" target=3D"_blank">eduardo@freebsd.org</a>&gt; writes:<br>
&gt; I&#39;m trying to find why there is no /etc/localtime in poudriere jai=
ls<br>
&gt; and I need to create manually a symlink for some R-cran tests inside<b=
r>
&gt; interactive jail.<br>
<br>
This shouldn&#39;t matter.=C2=A0 The correct behavior if /etc/localtime is<=
br>
missing is to assume UTC; if the tests don&#39;t do that then they are<br>
broken and need to be fixed.=C2=A0 Can you provide logs, or a step-by-step<=
br>
procedure to reproduce the problem?<br>
<br>
DES<br>
-- <br>
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org<br></blockquote><div><br></div><=
div>Hello des and sorry for delay.<br><br></div><div>I have a nice example =
of a failing test when no /etc/localtime exists (tested under poudriere jai=
l)</div><div><br></div><div>Update ports and make sure that you have <a hre=
f=3D"https://cgit.freebsd.org/ports/commit/?id=3D2a132052a96744d4032b6bd8e7=
07e13f87de9e7d">https://cgit.freebsd.org/ports/commit/?id=3D2a132052a96744d=
4032b6bd8e707e13f87de9e7d</a></div><div><br></div><div>$ poudriere testport=
 -i</div><div>&gt; su</div><div>&gt; make test<br><br></div><div>Cheers<br>=
</div></div><div><br clear=3D"all"></div><br><span class=3D"gmail_signature=
_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=
=3D"ltr"><div><font color=3D"#888888">Nuno Teixeira</font></div><div><div><=
font color=3D"#888888">
FreeBSD UNIX:=C2=A0 &lt;eduardo@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr=
eeBSD.org</a><br></font></div></div></div></div></div>

--000000000000a70ef6062ace54aa--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJeN=Z2S1NsiXGj4WBsPL0ke6Tw6PHKkYLvhTtO3Lg3tg>