1 |
Hi Benda, |
2 |
|
3 |
Thanks for the comprehensive reply and explanations. |
4 |
|
5 |
Whilst I've no existing contact with the R development team I will make |
6 |
inquiries about moving "SystemRequirements" from free text to a more |
7 |
machine-readable format. |
8 |
|
9 |
I'm also keen to help provide feedback on R_Overlay and help with its |
10 |
development where I can, to which end I have as advised re-emerged |
11 |
=dev-lang/R-3.4.4 with USE=minimal and tried installing packages I use. |
12 |
Quite a few packages still fail unfortunately, I'm emerging the |
13 |
following.... |
14 |
|
15 |
|
16 |
# Tidyverse... |
17 |
emerge -av tidyverse |
18 |
# ggplot2 extensions |
19 |
emerge -av ggridges ggraph ggrepel ggnetwork ggmosaic gglasso ggimage |
20 |
ggforce gge ggalt ggROC ggHorizon ggExtra ggbeeswarm |
21 |
# Recommended (not necessarily the recommend version though, will pull in |
22 |
latest from CRAN) |
23 |
emerge -av KernSmooth MASS Matrix boot class sci-CRAN/cluster |
24 |
sci-CRAN/codetools foreign lattice mgcv nlme nnet rpart spatial survival |
25 |
# Modelling |
26 |
emerge -av lme4 glmnet Hmisc rms epitools |
27 |
# Sample Size |
28 |
emerge -av pwr TrialSize longpower simglm clusterPower samplesize PowerTOST |
29 |
# Miscellaneous |
30 |
emerge -av blockrand bookdown sci-CRAN/shiny rmarkdown |
31 |
|
32 |
Of particular note is that the Recommended packages ( |
33 |
https://cran.r-project.org/src/contrib/3.4.4/Recommended/) that were |
34 |
explicitly removed by using USE=minimal emerge =dev-lang/R-3.4.4 they |
35 |
mostly failed to build. |
36 |
|
37 |
A total of 69 packages failed to build directly, slightly more failed |
38 |
because some of these 69 were dependencies. Of those that explicitly |
39 |
failed it appears (to me) that they fall into three groups... |
40 |
|
41 |
1) Outdated ebuilds |
42 |
|
43 |
Quite a few src packages could not be retrieved... |
44 |
|
45 |
# grep '404 Not Found' /var/tmp/portage/sci-CRAN/*/temp/build.log -B3 | |
46 |
grep contrib |
47 |
/var/tmp/portage/sci-CRAN/ggHorizon-0.1/temp/build.log---2018-03-22 |
48 |
10:10:21-- http://cran.r-project.org/src/contrib/ggHorizon_0.1.tar.gz |
49 |
/var/tmp/portage/sci-CRAN/ggimage-0.0.2/temp/build.log---2018-03-22 |
50 |
10:10:35-- http://cran.r-project.org/src/contrib/ggimage_0.0.2.tar.gz |
51 |
/var/tmp/portage/sci-CRAN/igraph-1.1.2/temp/build.log---2018-03-22 |
52 |
10:09:30-- http://cran.r-project.org/src/contrib/igraph_1.1.2.tar.gz |
53 |
/var/tmp/portage/sci-CRAN/lubridate-1.7.0/temp/build.log---2018-03-26 |
54 |
11:15:41-- http://cran.r-project.org/src/contrib/lubridate_1.7.0.tar.gz |
55 |
/var/tmp/portage/sci-CRAN/Rcpp-0.12.15/temp/build.log---2018-03-22 |
56 |
09:11:46-- http://cran.r-project.org/src/contrib/Rcpp_0.12.15.tar.gz |
57 |
/var/tmp/portage/sci-CRAN/rgl-0.95.1441/temp/build.log---2018-03-26 |
58 |
11:23:58-- http://cran.r-project.org/src/contrib/rgl_0.95.1441.tar.gz |
59 |
/var/tmp/portage/sci-CRAN/xml2-0.1.2/temp/build.log---2018-03-26 |
60 |
11:15:01-- http://cran.r-project.org/src/contrib/xml2_0.1.2.tar.gz |
61 |
|
62 |
I suspect that this is down to the SystemRequirements issue you've |
63 |
highlighted exists meaning outdated ebuilds exist in R_Overlay. |
64 |
|
65 |
|
66 |
2) Checksums failed |
67 |
|
68 |
Three packages failed to emerge due to Checksums of the fetched src not |
69 |
matching |
70 |
|
71 |
# grep 'checksum' -i /var/tmp/portage/sci-CRAN/*/temp/build.log -B60 | grep |
72 |
contrib |
73 |
/var/tmp/portage/sci-CRAN/Matrix-1.2.12/temp/build.log---2018-03-26 |
74 |
12:34:13-- http://cran.r-project.org/src/contrib/Matrix_1.2-12.tar.gz |
75 |
/var/tmp/portage/sci-CRAN/mvtnorm-1.0.7/temp/build.log---2018-03-26 |
76 |
12:33:25-- http://cran.r-project.org/src/contrib/mvtnorm_1.0-7.tar.gz |
77 |
/var/tmp/portage/sci-CRAN/nloptr-1.0.4/temp/build.log---2018-03-26 |
78 |
12:33:05-- http://cran.r-project.org/src/contrib/nloptr_1.0.4.tar.gz |
79 |
|
80 |
|
81 |
3) 'File Not Found' |
82 |
|
83 |
The majority failed after the build and installation had occurred within R |
84 |
and control had returned to Portage with "File Not Found" errors similar to |
85 |
the following... |
86 |
|
87 |
* Package: sci-CRAN/abind-1.4.5 |
88 |
* Repository: R_Overlay |
89 |
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU |
90 |
* FEATURES: preserve-libs sandbox userpriv usersandbox |
91 |
* installing *source* package ‘abind’ ... |
92 |
** package ‘abind’ successfully unpacked and MD5 sums checked |
93 |
** R |
94 |
** inst |
95 |
** preparing package for lazy loading |
96 |
** help |
97 |
*** installing help indices |
98 |
** building package indices |
99 |
** testing if installed package can be loaded |
100 |
* DONE (abind) |
101 |
Traceback (most recent call last): |
102 |
File "/usr/lib/portage/python3.5/doins.py", line 611, in <module> |
103 |
sys.exit(main(sys.argv[1:])) |
104 |
File "/usr/lib/portage/python3.5/doins.py", line 602, in main |
105 |
os.path.dirname(source)): |
106 |
File "/usr/lib/portage/python3.5/doins.py", line 450, in _doins |
107 |
return install_runner.install_file(source, os.path.dirname(dest)) |
108 |
File "/usr/lib/portage/python3.5/doins.py", line 386, in install_file |
109 |
return self._ins_runner.run(source, dest_dir) |
110 |
File "/usr/lib/portage/python3.5/doins.py", line 195, in run |
111 |
sstat = os.stat(source) |
112 |
FileNotFoundError: [Errno 2] No such file or directory: |
113 |
b'/var/tmp/portage/sci-CRAN/abind-1.4.5/work/abindy' |
114 |
* ERROR: sci-CRAN/abind-1.4.5::R_Overlay failed (install phase): |
115 |
* doins failed |
116 |
* |
117 |
* If you need support, post the output of `emerge --info |
118 |
'=sci-CRAN/abind-1.4.5::R_Overlay'`, |
119 |
* the complete build log and the output of `emerge -pqv |
120 |
'=sci-CRAN/abind-1.4.5::R_Overlay'`. |
121 |
* The complete build log is located at |
122 |
'/var/tmp/portage/sci-CRAN/abind-1.4.5/temp/build.log'. |
123 |
* The ebuild environment file is located at |
124 |
'/var/tmp/portage/sci-CRAN/abind-1.4.5/temp/environment'. |
125 |
* Working directory: |
126 |
'/var/tmp/portage/sci-CRAN/abind-1.4.5/work/abind-1.4.5' |
127 |
* S: '/var/tmp/portage/sci-CRAN/abind-1.4.5/work/abind-1.4.5' |
128 |
|
129 |
|
130 |
Having looked at a few of these it appears there is a common theme as the |
131 |
files that can not be found all refer to the |
132 |
"/var/tmp/portage/sci-CRAN/[pkg]/work/[pkg]y" directory, that is the letter |
133 |
'y' has been appended to the package name... |
134 |
|
135 |
# grep 'FileNotFound' /var/tmp/portage/sci-CRAN/*/temp/build.log |
136 |
/var/tmp/portage/sci-CRAN/abind-1.4.5/temp/build.log:FileNotFoundError: |
137 |
[Errno 2] No such file or directory: |
138 |
b'/var/tmp/portage/sci-CRAN/abind-1.4.5/work/abindy' |
139 |
/var/tmp/portage/sci-CRAN/acepack-1.4.1/temp/build.log:FileNotFoundError: |
140 |
[Errno 2] No such file or directory: |
141 |
b'/var/tmp/portage/sci-CRAN/acepack-1.4.1/work/acepacky' |
142 |
/var/tmp/portage/sci-CRAN/backports-1.1.2/temp/build.log:FileNotFoundError: |
143 |
[Errno 2] No such file or directory: |
144 |
b'/var/tmp/portage/sci-CRAN/backports-1.1.2/work/backportsy' |
145 |
/var/tmp/portage/sci-CRAN/bitops-1.0.6-r1/temp/build.log:FileNotFoundError: |
146 |
[Errno 2] No such file or directory: |
147 |
b'/var/tmp/portage/sci-CRAN/bitops-1.0.6-r1/work/bitopsy' |
148 |
/var/tmp/portage/sci-CRAN/blockrand-1.3-r1/temp/build.log:FileNotFoundError: |
149 |
[Errno 2] No such file or directory: |
150 |
b'/var/tmp/portage/sci-CRAN/blockrand-1.3-r1/work/blockrandy' |
151 |
/var/tmp/portage/sci-CRAN/boot-1.3.20/temp/build.log:FileNotFoundError: |
152 |
[Errno 2] No such file or directory: |
153 |
b'/var/tmp/portage/sci-CRAN/boot-1.3.20/work/booty' |
154 |
/var/tmp/portage/sci-CRAN/class-7.3.14/temp/build.log:FileNotFoundError: |
155 |
[Errno 2] No such file or directory: |
156 |
b'/var/tmp/portage/sci-CRAN/class-7.3.14/work/classy' |
157 |
/var/tmp/portage/sci-CRAN/cluster-2.0.6/temp/build.log:FileNotFoundError: |
158 |
[Errno 2] No such file or directory: |
159 |
b'/var/tmp/portage/sci-CRAN/cluster-2.0.6/work/clustery' |
160 |
/var/tmp/portage/sci-CRAN/codetools-0.2.15/temp/build.log:FileNotFoundError: |
161 |
[Errno 2] No such file or directory: |
162 |
b'/var/tmp/portage/sci-CRAN/codetools-0.2.15/work/codetoolsy' |
163 |
/var/tmp/portage/sci-CRAN/cubature-1.3.11/temp/build.log:FileNotFoundError: |
164 |
[Errno 2] No such file or directory: |
165 |
b'/var/tmp/portage/sci-CRAN/cubature-1.3.11/work/cubaturey' |
166 |
/var/tmp/portage/sci-CRAN/epitools-0.5.10/temp/build.log:FileNotFoundError: |
167 |
[Errno 2] No such file or directory: |
168 |
b'/var/tmp/portage/sci-CRAN/epitools-0.5.10/work/epitoolsy' |
169 |
/var/tmp/portage/sci-CRAN/evaluate-0.10.1/temp/build.log:FileNotFoundError: |
170 |
[Errno 2] No such file or directory: |
171 |
b'/var/tmp/portage/sci-CRAN/evaluate-0.10.1/work/evaluatey' |
172 |
/var/tmp/portage/sci-CRAN/fftwtools-0.9.8/temp/build.log:FileNotFoundError: |
173 |
[Errno 2] No such file or directory: |
174 |
b'/var/tmp/portage/sci-CRAN/fftwtools-0.9.8/work/fftwtoolsy' |
175 |
/var/tmp/portage/sci-CRAN/forcats-0.3.0/temp/build.log:FileNotFoundError: |
176 |
[Errno 2] No such file or directory: |
177 |
b'/var/tmp/portage/sci-CRAN/forcats-0.3.0/work/forcatsy' |
178 |
/var/tmp/portage/sci-CRAN/foreign-0.8.69/temp/build.log:FileNotFoundError: |
179 |
[Errno 2] No such file or directory: |
180 |
b'/var/tmp/portage/sci-CRAN/foreign-0.8.69/work/foreigny' |
181 |
/var/tmp/portage/sci-CRAN/Formula-1.2.2/temp/build.log:FileNotFoundError: |
182 |
[Errno 2] No such file or directory: |
183 |
b'/var/tmp/portage/sci-CRAN/Formula-1.2.2/work/Formulay' |
184 |
/var/tmp/portage/sci-CRAN/ggalt-0.4.0/temp/build.log:FileNotFoundError: |
185 |
[Errno 2] No such file or directory: |
186 |
b'/var/tmp/portage/sci-CRAN/ggalt-0.4.0/work/ggalty' |
187 |
/var/tmp/portage/sci-CRAN/ggbeeswarm-0.6.0/temp/build.log:FileNotFoundError: |
188 |
[Errno 2] No such file or directory: |
189 |
b'/var/tmp/portage/sci-CRAN/ggbeeswarm-0.6.0/work/ggbeeswarmy' |
190 |
/var/tmp/portage/sci-CRAN/ggExtra-0.7/temp/build.log:FileNotFoundError: |
191 |
[Errno 2] No such file or directory: |
192 |
b'/var/tmp/portage/sci-CRAN/ggExtra-0.7/work/ggExtray' |
193 |
/var/tmp/portage/sci-CRAN/ggforce-0.1.1/temp/build.log:FileNotFoundError: |
194 |
[Errno 2] No such file or directory: |
195 |
b'/var/tmp/portage/sci-CRAN/ggforce-0.1.1/work/ggforcey' |
196 |
/var/tmp/portage/sci-CRAN/gglasso-1.4/temp/build.log:FileNotFoundError: |
197 |
[Errno 2] No such file or directory: |
198 |
b'/var/tmp/portage/sci-CRAN/gglasso-1.4/work/gglassoy' |
199 |
/var/tmp/portage/sci-CRAN/ggmosaic-0.1.2/temp/build.log:FileNotFoundError: |
200 |
[Errno 2] No such file or directory: |
201 |
b'/var/tmp/portage/sci-CRAN/ggmosaic-0.1.2/work/ggmosaicy' |
202 |
/var/tmp/portage/sci-CRAN/ggnetwork-0.5.1/temp/build.log:FileNotFoundError: |
203 |
[Errno 2] No such file or directory: |
204 |
b'/var/tmp/portage/sci-CRAN/ggnetwork-0.5.1/work/ggnetworky' |
205 |
/var/tmp/portage/sci-CRAN/ggrepel-0.7.0/temp/build.log:FileNotFoundError: |
206 |
[Errno 2] No such file or directory: |
207 |
b'/var/tmp/portage/sci-CRAN/ggrepel-0.7.0/work/ggrepely' |
208 |
/var/tmp/portage/sci-CRAN/ggridges-0.4.1/temp/build.log:FileNotFoundError: |
209 |
[Errno 2] No such file or directory: |
210 |
b'/var/tmp/portage/sci-CRAN/ggridges-0.4.1/work/ggridgesy' |
211 |
/var/tmp/portage/sci-CRAN/ggROC-1.0/temp/build.log:FileNotFoundError: |
212 |
[Errno 2] No such file or directory: |
213 |
b'/var/tmp/portage/sci-CRAN/ggROC-1.0/work/ggROCy' |
214 |
/var/tmp/portage/sci-CRAN/highr-0.6/temp/build.log:FileNotFoundError: |
215 |
[Errno 2] No such file or directory: |
216 |
b'/var/tmp/portage/sci-CRAN/highr-0.6/work/highry' |
217 |
/var/tmp/portage/sci-CRAN/hms-0.4.2/temp/build.log:FileNotFoundError: |
218 |
[Errno 2] No such file or directory: |
219 |
b'/var/tmp/portage/sci-CRAN/hms-0.4.2/work/hmsy' |
220 |
/var/tmp/portage/sci-CRAN/iterators-1.0.9/temp/build.log:FileNotFoundError: |
221 |
[Errno 2] No such file or directory: |
222 |
b'/var/tmp/portage/sci-CRAN/iterators-1.0.9/work/iteratorsy' |
223 |
/var/tmp/portage/sci-CRAN/jpeg-0.1.8-r1/temp/build.log:FileNotFoundError: |
224 |
[Errno 2] No such file or directory: |
225 |
b'/var/tmp/portage/sci-CRAN/jpeg-0.1.8-r1/work/jpegy' |
226 |
/var/tmp/portage/sci-CRAN/KernSmooth-2.23.15/temp/build.log:FileNotFoundError: |
227 |
[Errno 2] No such file or directory: |
228 |
b'/var/tmp/portage/sci-CRAN/KernSmooth-2.23.15/work/KernSmoothy' |
229 |
/var/tmp/portage/sci-CRAN/lattice-0.20.35/temp/build.log:FileNotFoundError: |
230 |
[Errno 2] No such file or directory: |
231 |
b'/var/tmp/portage/sci-CRAN/lattice-0.20.35/work/latticey' |
232 |
/var/tmp/portage/sci-CRAN/latticeExtra-0.6.28/temp/build.log:FileNotFoundError: |
233 |
[Errno 2] No such file or directory: |
234 |
b'/var/tmp/portage/sci-CRAN/latticeExtra-0.6.28/work/latticeExtray' |
235 |
/var/tmp/portage/sci-CRAN/locfit-1.5.9.1-r1/temp/build.log:FileNotFoundError: |
236 |
[Errno 2] No such file or directory: |
237 |
b'/var/tmp/portage/sci-CRAN/locfit-1.5.9.1-r1/work/locfity' |
238 |
/var/tmp/portage/sci-CRAN/markdown-0.8/temp/build.log:FileNotFoundError: |
239 |
[Errno 2] No such file or directory: |
240 |
b'/var/tmp/portage/sci-CRAN/markdown-0.8/work/markdowny' |
241 |
/var/tmp/portage/sci-CRAN/MASS-7.3.49/temp/build.log:FileNotFoundError: |
242 |
[Errno 2] No such file or directory: |
243 |
b'/var/tmp/portage/sci-CRAN/MASS-7.3.49/work/MASSy' |
244 |
/var/tmp/portage/sci-CRAN/MatrixModels-0.4.1/temp/build.log:FileNotFoundError: |
245 |
[Errno 2] No such file or directory: |
246 |
b'/var/tmp/portage/sci-CRAN/MatrixModels-0.4.1/work/MatrixModelsy' |
247 |
/var/tmp/portage/sci-CRAN/minqa-1.2.4/temp/build.log:FileNotFoundError: |
248 |
[Errno 2] No such file or directory: |
249 |
b'/var/tmp/portage/sci-CRAN/minqa-1.2.4/work/minqay' |
250 |
/var/tmp/portage/sci-CRAN/mnormt-1.5.5/temp/build.log:FileNotFoundError: |
251 |
[Errno 2] No such file or directory: |
252 |
b'/var/tmp/portage/sci-CRAN/mnormt-1.5.5/work/mnormty' |
253 |
/var/tmp/portage/sci-CRAN/nipals-0.4/temp/build.log:FileNotFoundError: |
254 |
[Errno 2] No such file or directory: |
255 |
b'/var/tmp/portage/sci-CRAN/nipals-0.4/work/nipalsy' |
256 |
/var/tmp/portage/sci-CRAN/nlme-3.1.131.1/temp/build.log:FileNotFoundError: |
257 |
[Errno 2] No such file or directory: |
258 |
b'/var/tmp/portage/sci-CRAN/nlme-3.1.131.1/work/nlmey' |
259 |
/var/tmp/portage/sci-CRAN/nnet-7.3.12/temp/build.log:FileNotFoundError: |
260 |
[Errno 2] No such file or directory: |
261 |
b'/var/tmp/portage/sci-CRAN/nnet-7.3.12/work/nnety' |
262 |
/var/tmp/portage/sci-CRAN/png-0.1.7-r1/temp/build.log:FileNotFoundError: |
263 |
[Errno 2] No such file or directory: |
264 |
b'/var/tmp/portage/sci-CRAN/png-0.1.7-r1/work/pngy' |
265 |
/var/tmp/portage/sci-CRAN/polspline-1.1.12/temp/build.log:FileNotFoundError: |
266 |
[Errno 2] No such file or directory: |
267 |
b'/var/tmp/portage/sci-CRAN/polspline-1.1.12/work/polspliney' |
268 |
/var/tmp/portage/sci-CRAN/proto-1.0.0/temp/build.log:FileNotFoundError: |
269 |
[Errno 2] No such file or directory: |
270 |
b'/var/tmp/portage/sci-CRAN/proto-1.0.0/work/protoy' |
271 |
/var/tmp/portage/sci-CRAN/pwr-1.2.2/temp/build.log:FileNotFoundError: |
272 |
[Errno 2] No such file or directory: |
273 |
b'/var/tmp/portage/sci-CRAN/pwr-1.2.2/work/pwry' |
274 |
/var/tmp/portage/sci-CRAN/rematch-1.0.1/temp/build.log:FileNotFoundError: |
275 |
[Errno 2] No such file or directory: |
276 |
b'/var/tmp/portage/sci-CRAN/rematch-1.0.1/work/rematchy' |
277 |
/var/tmp/portage/sci-CRAN/rpart-4.1.13/temp/build.log:FileNotFoundError: |
278 |
[Errno 2] No such file or directory: |
279 |
b'/var/tmp/portage/sci-CRAN/rpart-4.1.13/work/rparty' |
280 |
/var/tmp/portage/sci-CRAN/rstudioapi-0.7/temp/build.log:FileNotFoundError: |
281 |
[Errno 2] No such file or directory: |
282 |
b'/var/tmp/portage/sci-CRAN/rstudioapi-0.7/work/rstudioapiy' |
283 |
/var/tmp/portage/sci-CRAN/samplesize-0.2.4/temp/build.log:FileNotFoundError: |
284 |
[Errno 2] No such file or directory: |
285 |
b'/var/tmp/portage/sci-CRAN/samplesize-0.2.4/work/samplesizey' |
286 |
/var/tmp/portage/sci-CRAN/selectr-0.3.2/temp/build.log:FileNotFoundError: |
287 |
[Errno 2] No such file or directory: |
288 |
b'/var/tmp/portage/sci-CRAN/selectr-0.3.2/work/selectry' |
289 |
/var/tmp/portage/sci-CRAN/shiny-1.0.5/temp/build.log:FileNotFoundError: |
290 |
[Errno 2] No such file or directory: |
291 |
b'/var/tmp/portage/sci-CRAN/shiny-1.0.5/work/shinyy' |
292 |
/var/tmp/portage/sci-CRAN/SparseM-1.77/temp/build.log:FileNotFoundError: |
293 |
[Errno 2] No such file or directory: |
294 |
b'/var/tmp/portage/sci-CRAN/SparseM-1.77/work/SparseMy' |
295 |
/var/tmp/portage/sci-CRAN/spatial-7.3.11/temp/build.log:FileNotFoundError: |
296 |
[Errno 2] No such file or directory: |
297 |
b'/var/tmp/portage/sci-CRAN/spatial-7.3.11/work/spatialy' |
298 |
/var/tmp/portage/sci-CRAN/TeachingDemos-2.10/temp/build.log:FileNotFoundError: |
299 |
[Errno 2] No such file or directory: |
300 |
b'/var/tmp/portage/sci-CRAN/TeachingDemos-2.10/work/TeachingDemosy' |
301 |
/var/tmp/portage/sci-CRAN/tiff-0.1.5-r1/temp/build.log:FileNotFoundError: |
302 |
[Errno 2] No such file or directory: |
303 |
b'/var/tmp/portage/sci-CRAN/tiff-0.1.5-r1/work/tiffy' |
304 |
/var/tmp/portage/sci-CRAN/TrialSize-1.3-r1/temp/build.log:FileNotFoundError: |
305 |
[Errno 2] No such file or directory: |
306 |
b'/var/tmp/portage/sci-CRAN/TrialSize-1.3-r1/work/TrialSizey' |
307 |
/var/tmp/portage/sci-CRAN/viridis-0.5.0/temp/build.log:FileNotFoundError: |
308 |
[Errno 2] No such file or directory: |
309 |
b'/var/tmp/portage/sci-CRAN/viridis-0.5.0/work/viridisy' |
310 |
/var/tmp/portage/sci-CRAN/zoo-1.8.1/temp/build.log:FileNotFoundError: |
311 |
[Errno 2] No such file or directory: |
312 |
b'/var/tmp/portage/sci-CRAN/zoo-1.8.1/work/zooy' |
313 |
|
314 |
|
315 |
As this is a looong post I've put my emerge --info into a Pastebin post |
316 |
https://pastebin.com/Zc44aF1K |
317 |
|
318 |
Cheers, |
319 |
|
320 |
Neil |
321 |
|
322 |
-- |
323 |
*Natural selection is a mechanism for generating an exceedingly high **degree |
324 |
of improbability.* - R.A. Fisher |
325 |
|
326 |
*Ignorance more frequently begets confidence than does knowledge* - by |
327 |
Charles Darwin |
328 |
|
329 |
PGP Public : https://pgp.mit.edu/pks/lookup?op=get&search=0x0E7ECE9C10D7B4A0 |
330 |
|
331 |
Website - http://kimura.no-ip.info/ |
332 |
Photos - http://www.flickr.com/photos/slackline/ |
333 |
|
334 |
|
335 |
On 22 March 2018 at 23:57, Benda Xu <heroxbd@g.o> wrote: |
336 |
|
337 |
> Hi Neil, |
338 |
> |
339 |
> Thank you! |
340 |
> |
341 |
> Neil Shephard <nshephard@×××××.com> writes: |
342 |
> |
343 |
> > Thanks for taking the time to resolve this, that has worked nicely and |
344 |
> > Rcpp now emerges. |
345 |
> > |
346 |
> > I continued trying to replace all the packages I have installed |
347 |
> > directly through R with emerges from R_Overlay and opted to emerge the |
348 |
> > meta-package tidyverse which pulls in a ton of packages as well as |
349 |
> > more explicit packages that aren't pulled in. In doing so I've |
350 |
> > encountered three problems.... |
351 |
> > |
352 |
> > 1. Some ebuilds try to pull in old versions. |
353 |
> |
354 |
> > 2. Some ebuilds from R_Overlay require "USE=minimal dev-lang/R" whilst |
355 |
> > others require "USE=-minimal dev-lang/R" which makes it difficult to |
356 |
> > emerge things. |
357 |
> |
358 |
> > 3. I found one package that is on CRAN but for which there is no ebuild. |
359 |
> > |
360 |
> > 1. Old Versions |
361 |
> > ============ |
362 |
> > |
363 |
> > I found the following old version were pulled in.... |
364 |
> > |
365 |
> > | Package | R_Overlay Version | CRAN version | |
366 |
> > |-----------|-------------------|---------------| |
367 |
> > | xml2 | 0.1.2 | 1.2.0 | |
368 |
> > | lubridate | 1.7.0 | 1.7.3 | |
369 |
> |
370 |
> This is because the parser fails on the new version. Taking xml2 for |
371 |
> example, the "system requirements" field on CRAN is: |
372 |
> |
373 |
> libxml2: libxml2-dev (deb), libxml2-devel (rpm) |
374 |
> |
375 |
> The parser did not know "(deb)" this maps to dev-libs/libxml2, nor it |
376 |
> could match 'libxml2-devel'. |
377 |
> |
378 |
> |
379 |
> Before I had to fix these cornor cases manually. I am thinking of |
380 |
> exposing the configuration file so that users can contribute to the new |
381 |
> parsing rules. |
382 |
> |
383 |
> > 2. dev-lang/R [-]minimal conflicts |
384 |
> > ========================== |
385 |
> > |
386 |
> > Tried emerging a bundle of packages and get conflicts relating to the |
387 |
> > USE=minimal, also resulted in some slot conflicts that I couldn't |
388 |
> > see. Its mostly the 'virtual/[pkg]' that require -minimal.... |
389 |
> > |
390 |
> > emerge -av ggridges ggraph ggrepel ggnetwork ggmosaic gglasso ggimage |
391 |
> > ggforce gge ggalt ggROC ggHorizon ggExtra ggbeeswarm lme4 glmnet rpart |
392 |
> > caret survival Hmisc rms epitools pwr TrialSize longpower simglm |
393 |
> > clusterPower samplesize PowerTOST blockrand bookdown ... |
394 |
> > |
395 |
> > !!! Multiple package instances within a single package slot have been |
396 |
> pulled |
397 |
> > !!! into the dependency graph, resulting in a slot conflict: |
398 |
> > |
399 |
> > dev-lang/R:0 |
400 |
> > |
401 |
> > The following USE changes are necessary to proceed: |
402 |
> > (see "package.use" in the portage(5) man page for more details) |
403 |
> > # required by sci-CRAN/survival-2.41.3::R_Overlay |
404 |
> > # required by sci-CRAN/multcomp-1.4.8::R_Overlay |
405 |
> > # required by sci-CRAN/rms-5.1.2::R_Overlay |
406 |
> > # required by rms (argument) |
407 |
> >>=dev-lang/R-3.4.4 minimal |
408 |
> > |
409 |
> > Strangely virtual/rpart is listed as requiring USE=-minimal but the |
410 |
> > rpart package itself requires USE=minimal. |
411 |
> |
412 |
> The short answer is, reinstall R with USE=minimal. |
413 |
> |
414 |
> Long story: dev-lang/R[-minimal] installs a set of R-recommended packages, |
415 |
> |
416 |
> https://cran.r-project.org/src/contrib/3.3.3/Recommended/ |
417 |
> |
418 |
> The packages are bundled with R. Then some package foo in R_Overlay, |
419 |
> depends on Matrix-1.4. It is not a problem for R, because it does not |
420 |
> track files and Matrix-1.4 overwrites the bundled Matrix-1.2.8. Portage |
421 |
> is strict on file collisions. Therefore, we have introduced the |
422 |
> virtuals. If you read the virtual ebuilds, e.g. matrix, it speaks for |
423 |
> itself |
424 |
> |
425 |
> DESCRIPTION="Virtual of a R recommended package" |
426 |
> RDEPEND=" |
427 |
> || ( |
428 |
> dev-lang/R[-minimal] |
429 |
> sci-CRAN/Matrix |
430 |
> )" |
431 |
> |
432 |
> > 3. Missing ebuild for one package |
433 |
> > ========================== |
434 |
> > |
435 |
> > I was going to try emergeing the blogdown package ( |
436 |
> https://cran.r-project.org/web/packages/blogdown/) but there is no ebuild |
437 |
> for it in |
438 |
> > R_Overlay... |
439 |
> > |
440 |
> > # emerge -av blogdown |
441 |
> > |
442 |
> > emerge: there are no ebuilds to satisfy "blogdown". |
443 |
> > |
444 |
> > emerge: searching for similar names... |
445 |
> > emerge: Maybe you meant any of these: sci-CRAN/bookdown, |
446 |
> > sci-BIOC/ballgown, app-admin/logmon? |
447 |
> |
448 |
> Reading CRAN blogdown |
449 |
> |
450 |
> SystemRequirements: Hugo (<https://gohugo.io>) and Pandoc |
451 |
> (<http://pandoc.org>) |
452 |
> |
453 |
> The parser will not know it is hugo (not yet packaged in Gentoo) and |
454 |
> app-text/pandoc. |
455 |
> |
456 |
> > One minor caeveat is that I'm using a locally bumped version of R as |
457 |
> > the bugreport I've filed for bumping in portage |
458 |
> > (https://bugs.gentoo.org/632364) hasn't been addressed yet. I'm |
459 |
> > currently using =dev-lang/R-3.4.4 |
460 |
> |
461 |
> Thanks for the bug report. |
462 |
> |
463 |
> > I'm unsure how the ebuilds in R_Overlay are generated, is it |
464 |
> > automatically based on available builds? |
465 |
> |
466 |
> Yes, it has been a Google summer of code project by André Erdmann |
467 |
> mentored by calchan: |
468 |
> |
469 |
> https://blogs.gentoo.org/calchan/2015/04/05/why-we-do- |
470 |
> not-have-nor-want-r-packages-in-the-tree/ |
471 |
> |
472 |
> Now I find myself the only one left to do the server maintenance with |
473 |
> our infra team. |
474 |
> |
475 |
> > Thanks for yours and others work on this, having R packages managed by |
476 |
> > portage is a real boon, as it removes the need to update.packages(ask |
477 |
> > = FALSE) so regularly. |
478 |
> |
479 |
> You're welcome. I myself is an active user of it. |
480 |
> |
481 |
> > If there is something I can do to help please let me know. |
482 |
> |
483 |
> Keep on discussion. |
484 |
> |
485 |
> If you have a connection with R development team, can we talk to them to |
486 |
> impose a machine-readable format on the "SystemRequirements:"? |
487 |
> |
488 |
> Cheers, |
489 |
> Benda |
490 |
> |