You MIGHT get an answer here, but this type of question is more likely to
belong on the R-devel mailing list than here. See the Posting Guide.
--
Sent from my phone. Please excuse my brevity.
On December 1, 2016 8:20:52 AM PST, lejeczek via R-help <r-help at
r-project.org> wrote:>hi everyone.
>
>this will be a bit rpm packaging related, not sure if more
>than R itself but before going to rpm gang I hoped someone
>here knows:
>why this:
>
>byte-compiling package 'compiler'
>Warning in file(datafile, "wb") :
> cannot open file
>'/usr/lib64/R-MY/lib64/R/library/compiler/R/compiler.rdb':
>Permission denied
>Error in file(datafile, "wb") : cannot open the connection
>Calls: <Anonymous> -> code2LazyLoadDB -> makeLazyLoadDB ->
>close -> file
>Execution halted
>
>happens when I rpmbuild R?
>I do a bit of mangling there, but nothing in the sources of
>R, just rpm spec files & paths.
>
>Why build process would call this file? (which is not there
>anyway)
>
>Weirder is that if rpm packages (of that my custom build)
>are already installed that problem occurs, build fails only
>then. Suffice to yum/rpm uninstall those R-MY* packages and
>rpm build process is successful.
>
>To me it's strangest thing, but an expert hopefully knows
>what is going on there.
>many thanks,
>L.
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.