Re: /etc/localtime symlink in poudriere jails

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Fri, 03 Jan 2025 14:45:21 UTC
Dag-Erling Smørgrav <des@freebsd.org> escreveu (quarta, 11/12/2024 à(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ørgrav - 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=2a132052a96744d4032b6bd8e707e13f87de9e7d

$ poudriere testport -i
> su
> make test

Cheers


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