[Bug 271170] math/R: error: date-time conversions do not work in 2020 -- is tzdata installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 May 2023 15:04:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271170

            Bug ID: 271170
           Summary: math/R: error: date-time conversions do not work in
                    2020 -- is tzdata installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jrm@freebsd.org
          Reporter: ohartmann@walstatt.org
          Assignee: jrm@freebsd.org
             Flags: maintainer-feedback?(jrm@freebsd.org)

On recent CURRENT (FreeBSD 14.0-CURRENT #3 main-n262668-1f0e13449bee: Sun Apr
30 12:28:02 CEST 2023 amd64) with up to date ports tree, port

math/R

fails to configuer (and compile) due to the error shown below.

tzsetup has been performed.
I can't find any hint what to do to provide tzdata as the port's NEWS file
stated:

(work/R-4.3.0/doc/NEWS):
...
* configure now checks conversion of datetimes between POSIXlt and
      POSIXct around year 2020.  Failure (which has been seen on
      platforms missing tzdata) is fatal.

...

[...]
checking whether mktime, gmtime, localtime work correctly in 2020... no
configure: error: date-time conversions do not work in 2020 -- is tzdata
installed?
===>  Script "configure" failed unexpectedly.
Please report the problem to jrm@FreeBSD.org [maintainer] and attach the
"/usr/ports/math/R/work/R-4.3.0/config.log" including the output of the failure
of your make command. Also, it might be a good idea to provide an overview
of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static
info -g -Ea).
*** Error code 1
[...]

Configuration of the port:

 # make showconfig
===> The following configuration options are available for R-4.3.0:
     ICU=on: Unicode support via ICU
     INFO=on: Build and/or install GNU info pages
     LDOUBLE=on: Long double data type
     LETTER=off: US letter paper
     MEMPROF=off: Memory profiling via Rprofmem() and tracemem()
     NLS=on: Native Language Support
     OPENMP=on: Parallel processing support via OpenMP
     RPROF=on: R profiling via Rprof()
     X11=on: X11 graphics device
====> Require X11
     CAIROPANGO=on: Cairo graphics device and Pango multi-language text
     GHOSTSCRIPT=on: Graphics device for bitmap files via Ghostscript
     JPEG=on: JPEG graphics device
     PNG=on: PNG graphics device
     TCLTK=on: Tcl/Tk GUI toolkit support
     TEXDOCS=off: Build/Install TeX-dependent documentation files
     TIFF=on: TIFF image format support
====> Options available for the single BLAS: you have to select exactly one of
them
     ATLAS=off: ATLAS blas implementation
     NETLIB=off: Netlib BLAS implementation
     OPENBLAS=off: OpenBLAS blas implementation
     RBLAS=on: Use R-bundled BLAS implementation
===> Use 'make config' to modify these settings

-- 
You are receiving this mail because:
You are the assignee for the bug.