Gentoo Archives: gentoo-user

From: Michael Palimaka <kensington@g.o>
To: gentoo-user@l.g.o
Cc: heroxbd@g.o
Subject: [gentoo-user] Re: Doubt about R support in gentoo
Date: Sat, 19 Nov 2016 15:36:48
Message-Id: d155262d-42e3-406e-e3c2-dfd6ee9c9582@gentoo.org
In Reply to: [gentoo-user] Doubt about R support in gentoo by Zhu Sha Zang
1 On 20/11/16 01:47, Zhu Sha Zang wrote:
2 > Hello everybody...
3 >
4 >
5 > A single doubt here:
6 >
7 >
8 > After an upgrade in package dev-libs/icu (from 57.1 to 58.1-r1) i tried
9 > a package upgrade inside R and got that:
10 >
11 >
12 > /> update.packages(checkBuilt=TRUE, ask=FALSE,
13 > repos='http://cran.us.r-project.org')
14 > trying URL 'http://cran.us.r-project.org/src/contrib/knitr_1.15.tar.gz'
15 > Content type 'application/x-gzip' length 1027358 bytes (1003 KB)
16 > ==================================================
17 > downloaded 1003 KB
18 >
19 > * installing *source* package ‘knitr’ ...
20 > ** package ‘knitr’ successfully unpacked and MD5 sums checked
21 > ** R
22 > ** demo
23 > ** inst
24 > ** preparing package for lazy loading
25 > Error in dyn.load(file, DLLpath = DLLpath, ...) :
26 > *unable to load shared object
27 > '/usr/lib64/R/library/stringi/libs/stringi.so':**
28 > ** libicui18n.so.57: cannot open shared object file: No such file or
29 > directory*
30 > Error : unable to load R code in package ‘knitr’
31 > ERROR: lazy loading failed for package ‘knitr’
32 > * removing ‘/usr/lib64/R/library/knitr’
33 > * restoring previous ‘/usr/lib64/R/library/knitr’
34 >
35 > The downloaded source packages are in
36 > ‘/tmp/RtmpKBphr0/downloaded_packages’
37 > Updating HTML index of packages in '.Library'
38 > Making 'packages.html' ... done
39 > Warning message:
40 > In install.packages(update[instlib == l, "Package"], l, contriburl =
41 > contriburl, :
42 > installation of package ‘knitr’ had non-zero exit status
43 > /
44 >
45 >
46 > This kind of "bug" can I put inside bugs.gentoo.org or its a cran
47 > package bug?
48 >
49 > It is not the first time and i'm in dout about how to proceed.
50 >
51 >
52 > Thanks anyway.
53 >
54 > Best regards!!
55 >
56 > //
57 >
58
59 Due to the dev-libs/icu upgrade, the package that provides
60 /usr/lib64/R/library/stringi/libs/stringi.so needs to be rebuilt. I
61 assume you're using the R overlay, so that would be sci-CRAN/stringi.
62
63 It's possible for this rebuild to be achieved automatically in the
64 future, but it requires a minor modification to the stringi ebuild
65 (subslot operator to be added to dev-libs/icu dependency). As the R
66 overlay is automatically generated I'm not sure how to achieve this so
67 I've CCed Benda who I hope is the right person to look at this. :-)

Replies

Subject Author
Re: [gentoo-user] Re: Doubt about R support in gentoo Zhu Sha Zang <zhushazang@×××××××××.br>