On 20/11/16 01:47, Zhu Sha Zang wrote:
> Hello everybody...
> 
> 
> A single doubt here:
> 
> 
> After an upgrade in package dev-libs/icu (from 57.1 to 58.1-r1) i tried
> a package upgrade inside R and got that:
> 
> 
> /> update.packages(checkBuilt=TRUE, ask=FALSE,
> repos='http://cran.us.r-project.org')
> trying URL 'http://cran.us.r-project.org/src/contrib/knitr_1.15.tar.gz'
> Content type 'application/x-gzip' length 1027358 bytes (1003 KB)
> ==================================================
> downloaded 1003 KB
> 
> * installing *source* package ‘knitr’ ...
> ** package ‘knitr’ successfully unpacked and MD5 sums checked
> ** R
> ** demo
> ** inst
> ** preparing package for lazy loading
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>   *unable to load shared object
> '/usr/lib64/R/library/stringi/libs/stringi.so':**
> **  libicui18n.so.57: cannot open shared object file: No such file or
> directory*
> Error : unable to load R code in package ‘knitr’
> ERROR: lazy loading failed for package ‘knitr’
> * removing ‘/usr/lib64/R/library/knitr’
> * restoring previous ‘/usr/lib64/R/library/knitr’
> 
> The downloaded source packages are in
>         ‘/tmp/RtmpKBphr0/downloaded_packages’
> Updating HTML index of packages in '.Library'
> Making 'packages.html' ... done
> Warning message:
> In install.packages(update[instlib == l, "Package"], l, contriburl =
> contriburl,  :
>   installation of package ‘knitr’ had non-zero exit status
> /
> 
> 
> This kind of "bug" can I put inside bugs.gentoo.org or its a cran
> package bug?
> 
> It is not the first time and i'm in dout about how to proceed.
> 
> 
> Thanks anyway.
> 
> Best regards!!
> 
> //
> 

Due to the dev-libs/icu upgrade, the package that provides
/usr/lib64/R/library/stringi/libs/stringi.so needs to be rebuilt. I
assume you're using the R overlay, so that would be sci-CRAN/stringi.

It's possible for this rebuild to be achieved automatically in the
future, but it requires a minor modification to the stringi ebuild
(subslot operator to be added to dev-libs/icu dependency). As the R
overlay is automatically generated I'm not sure how to achieve this so
I've CCed Benda who I hope is the right person to look at this. :-)


Reply via email to