Index | Thread | Search

From:
Ingo Feinerer <feinerer@logic.at>
Subject:
Re: UPDATE: math/R
To:
"Kirill A. Korinsky" <kirill@korins.ky>, Rafael Sadowski <rafael@sizeofvoid.org>
Cc:
ports@openbsd.org
Date:
Thu, 26 Jun 2025 07:26:27 +0200

Download raw body.

Thread
  • Rafael Sadowski:

    UPDATE: math/R

    • Kirill A. Korinsky:

      UPDATE: math/R

      • Ingo Feinerer:

        UPDATE: math/R

On Wed, Jun 25, 2025 at 11:39:51PM +0200, Kirill A. Korinsky wrote:
> On Wed, 25 Jun 2025 20:52:00 +0200,
> Rafael Sadowski <rafael@sizeofvoid.org> wrote:
> > 
> > OK to update R to the latest bugfix version? No dynamic symbols changes.

OK feinerer@

Thank you for your work/review Rafael and Kirill!

> 1. make port-lib-depends-check complains on -current/amd64 as:
> 
> R-4.5.1(math/R):
> Extra:  c++.10 c++abi.7

True. This has been the case since several years. I never managed to get
rid of this. If I remember correctly removing ${COMPILER_LIBCXX} was
problematic when trying to use the prominent Rcpp
(https://www.rcpp.org/) package.

> 2. I dissagree that here no dynamic symbols wre changed.
> 
> /usr/local/lib/R/library/mgcv/libs/mgcv.so --> /build/pobj/R-4.5.1/fake-amd64/usr/local/lib/R/library/mgcv/libs/mgcv.so                                      

mgcv.so is not versioned since it is part of the R package mgcv
(https://cran.r-project.org/web/packages/mgcv/index.html) and not of the
R binary itself. Only the R, Rblas and Rlapack libraries are versioned:

SO_VERSION=	41.0
.for _lib in R Rblas Rlapack
SHARED_LIBS +=	${_lib} ${SO_VERSION}
.endfor

So I think we do not care in this case.

> Dynamic export changes:                                                                                                                                      
> added:                                                                                                                                                       
>         CNCV                                                                                                                                                 
>         CXVXd0                                                                                                                                               
>         CijXVXt                                                                                                                                              
>         QRadd                                                                                                                                                
>         QRdrop                                                                                                                                               
>         XVXd0                                                                                                                                                
>         XVXijs                                                                                                                                               
>         Xbdspace                                                                                                                                             
>         diagXLLtXt                                                                                                                                           
>         diagXLUtXt                                                                                                                                           
>         fill_lt                                                                                                                                              
>         idiagXLLtXt                                                                                                                                          
>         idiagXLUtXt                                                                                                                                          
>         kunique                                                                                                                                              
>         mtrf                                                                                                                                                 
>         ncvd                                                                                                                                                 
>         qradd                                                                                                                                                
>         qrdrop                                                                                                                                               
>         tad                                                                                                                                                  
>         thread_lim                                                                                                                                           
>         upair                                                                                                                                                
>         wdiag                                                                                                                                                
>                                                                                                                                                              
> removed:
>         RPackSarray
>         bottom
>         matrallocd
>         matrixintegritycheck
>         memused
>         top
> 
> data object sizes changes:
>         CEntries 1920 --> 2016
>         CallMethods 888 --> 1032
> 
> External reference changes:
> added:
>         Rf_isReal
>         dgetrf_
>         dgetri_
>         dsymm_
> 
> PLT added:
>         XVXd0
>         XVXijs
>         Xbdspace
>         diagXLLtXt
>         diagXLUtXt
>         fill_lt
>         kunique
>         mtrf
>         ncvd
>         qradd
>         qrdrop
>         thread_lim
>         upair
> 
> 
> > diff --git a/math/R/Makefile b/math/R/Makefile
> > index 1ea0402a3ca..dc2b81d5e11 100644
> > --- a/math/R/Makefile
> > +++ b/math/R/Makefile
> > @@ -1,5 +1,5 @@
> >  COMMENT=	powerful math/statistics/graphics language
> > -DISTNAME=	R-4.5.0
> > +DISTNAME=	R-4.5.1
> >  
> >  # When bumping SO_VERSION, adjust
> >  # math/rstudio/patches/patch-src_cpp_core_r_util_REnvironmentPosix_cpp
> > diff --git a/math/R/distinfo b/math/R/distinfo
> > index 5502740b5ed..64859c96016 100644
> > --- a/math/R/distinfo
> > +++ b/math/R/distinfo
> > @@ -1,2 +1,2 @@
> > -SHA256 (R-4.5.0.tar.gz) = OzPqET4NHdyXk4dNWUnOwsc4b2bkq/sc75rsIoRsPOE=
> > -SIZE (R-4.5.0.tar.gz) = 40466335
> > +SHA256 (R-4.5.1.tar.gz) = tCp5IUADhmRbEBBbkcaHKHh9tcTIPJ9sMKzc5jLhu3A=
> > +SIZE (R-4.5.1.tar.gz) = 40518816
> > 
> 
> -- 
> wbr, Kirill