1 |
Hi, |
2 |
|
3 |
Delighted to discover the R_Overlay that allows package installation from |
4 |
CRAN under portage after a posting by maintainer Benda Xu a few weeks ago ( |
5 |
http://gentoo.2317880.n4.nabble.com/Re-new-eclass-to-install-R-modules-such-as-Rcpp-td331686.html |
6 |
). |
7 |
|
8 |
Found the time to sit down and start migrating/installing packages via the |
9 |
overlay and decided to start by installing the tidyverse package as it |
10 |
would pull in a host of dependencies and keep /var/lib/portage/world a bit |
11 |
smaller (it pulls in 60 packages in total). |
12 |
|
13 |
Unfortunately Rcpp fails to build and so the vast majority (n = 56) pulled |
14 |
in when emerge tidyverse fail to install. |
15 |
|
16 |
The build log is... |
17 |
|
18 |
# cat /var/tmp/portage/sci-CRAN/Rcpp-0.12.15/temp/build.log |
19 |
* Package: sci-CRAN/Rcpp-0.12.15 |
20 |
* Repository: R_Overlay |
21 |
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU |
22 |
* FEATURES: preserve-libs sandbox userpriv usersandbox |
23 |
* installing *source* package ‘Rcpp’ ... |
24 |
** package ‘Rcpp’ successfully unpacked and MD5 sums checked |
25 |
** libs |
26 |
x86_64-pc-linux-gnu-g++ -I/usr/lib64/R/include -DNDEBUG |
27 |
-I../inst/include/ -fpic -march=skylake -O2 -pipe -c Date.cpp -o Date.o |
28 |
x86_64-pc-linux-gnu-g++ -I/usr/lib64/R/include -DNDEBUG |
29 |
-I../inst/include/ -fpic -march=skylake -O2 -pipe -c Module.cpp -o |
30 |
Module.o |
31 |
x86_64-pc-linux-gnu-g++ -I/usr/lib64/R/include -DNDEBUG |
32 |
-I../inst/include/ -fpic -march=skylake -O2 -pipe -c Rcpp_init.cpp -o |
33 |
Rcpp_init.o |
34 |
x86_64-pc-linux-gnu-g++ -I/usr/lib64/R/include -DNDEBUG |
35 |
-I../inst/include/ -fpic -march=skylake -O2 -pipe -c api.cpp -o api.o |
36 |
x86_64-pc-linux-gnu-g++ -I/usr/lib64/R/include -DNDEBUG |
37 |
-I../inst/include/ -fpic -march=skylake -O2 -pipe -c attributes.cpp -o |
38 |
attributes.o |
39 |
x86_64-pc-linux-gnu-g++ -I/usr/lib64/R/include -DNDEBUG |
40 |
-I../inst/include/ -fpic -march=skylake -O2 -pipe -c barrier.cpp -o |
41 |
barrier.o |
42 |
x86_64-pc-linux-gnu-g++ -shared -L/usr/lib64/R/lib -Wl,-O1 -Wl,--as-needed |
43 |
-o Rcpp.so Date.o Module.o Rcpp_init.o api.o attributes.o barrier.o |
44 |
-L/usr/lib64/R/lib -lR |
45 |
installing to /var/tmp/portage/sci-CRAN/Rcpp-0.12.15/work/Rcpp/libs |
46 |
** R |
47 |
** inst |
48 |
** preparing package for lazy loading |
49 |
** help |
50 |
*** installing help indices |
51 |
** building package indices |
52 |
** installing vignettes |
53 |
** testing if installed package can be loaded |
54 |
* DONE (Rcpp) |
55 |
Traceback (most recent call last): |
56 |
File "/usr/lib/portage/python3.5/doins.py", line 611, in <module> |
57 |
sys.exit(main(sys.argv[1:])) |
58 |
File "/usr/lib/portage/python3.5/doins.py", line 602, in main |
59 |
os.path.dirname(source)): |
60 |
File "/usr/lib/portage/python3.5/doins.py", line 450, in _doins |
61 |
return install_runner.install_file(source, os.path.dirname(dest)) |
62 |
File "/usr/lib/portage/python3.5/doins.py", line 386, in install_file |
63 |
return self._ins_runner.run(source, dest_dir) |
64 |
File "/usr/lib/portage/python3.5/doins.py", line 195, in run |
65 |
sstat = os.stat(source) |
66 |
FileNotFoundError: [Errno 2] No such file or directory: |
67 |
b'/var/tmp/portage/sci-CRAN/Rcpp-0.12.15/work/Rcppy' |
68 |
* ERROR: sci-CRAN/Rcpp-0.12.15::R_Overlay failed (install phase): |
69 |
* doins failed |
70 |
* |
71 |
* If you need support, post the output of `emerge --info |
72 |
'=sci-CRAN/Rcpp-0.12.15::R_Overlay'`, |
73 |
* the complete build log and the output of `emerge -pqv |
74 |
'=sci-CRAN/Rcpp-0.12.15::R_Overlay'`. |
75 |
* The complete build log is located at |
76 |
'/var/tmp/portage/sci-CRAN/Rcpp-0.12.15/temp/build.log'. |
77 |
* The ebuild environment file is located at |
78 |
'/var/tmp/portage/sci-CRAN/Rcpp-0.12.15/temp/environment'. |
79 |
* Working directory: |
80 |
'/var/tmp/portage/sci-CRAN/Rcpp-0.12.15/work/Rcpp-0.12.15' |
81 |
* S: '/var/tmp/portage/sci-CRAN/Rcpp-0.12.15/work/Rcpp-0.12.15' |
82 |
|
83 |
|
84 |
And I've placed the other information on pastebin... |
85 |
|
86 |
# emerge --info '=sci-CRAN/Rcpp-0.12.15::R_Overlay' | pastebinit |
87 |
https://pastebin.com/mgrD6iJR |
88 |
|
89 |
# emerge -pqv '=sci-CRAN/Rcpp-0.12.15::R_Overlay' | pastebinit |
90 |
https://pastebin.com/wUHkan1B |
91 |
|
92 |
|
93 |
Any thoughts on how to solve this? It looks like Rcpp builds ok within R |
94 |
and the error arises when control is passed back to Portage. |
95 |
|
96 |
I figured gentoo-science@l.g.o would be appropriate given |
97 |
Benda's recent post but apologies if this is not the case. |
98 |
|
99 |
|
100 |
Neil |
101 |
|
102 |
-- |
103 |
Natural selection is a mechanism for generating an exceedingly high degree |
104 |
of improbability. - R.A. Fisher |
105 |
|
106 |
|
107 |
-----BEGIN PGP PUBLIC KEY BLOCK----- |
108 |
Version: Mailvelope 0.11.0 |
109 |
Comment: Email security by Mailvelope - https://www.mailvelope.com |
110 |
|
111 |
xsBNBFTUBsoBB/9T/YxWYV6AuM7Bi0N2/VC6gA5wtNVgk+BB9g3U9aSJzeqN |
112 |
ePCeXwhSVlR5VybltPIV+gfM4dCvpaBZP5AVVQTty7GYPdghdNJW2ZFfO7QQ |
113 |
LVA9zwJMK6BszrjTk/qaTRu2RiNLjLqVVLD6kF/8CrOYz7Z1oLm0MDgX3nGp |
114 |
DuOQLotCO+abYvtjFwZj03QWZiD/r0yOhXGBk3lc5KZTXFo35s0tdwB+9t9X |
115 |
i6KY32fUYgAn5n2ROITxARddozBumsh5wgi8VrX8mYnUJC4EqMeOQ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