New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICU init failed: U_FILE_ACCESS_ERROR on (open)SUSE #170
Comments
Thanks, at least I'll have got stringi tested on many platforms. :) I need full setDataDirectory shouldn't be the case here, as according to ICU manual, if a icudt.dat file is not found, bundled icudata (libicudata) is used. I suspect that suse comes with incomplete icudata itself. Looking at libicu53 rpm, you can see that And now you see the price of using system icu :) |
Oops sorry these logs are for the build without system ICU (which also fails). Let me get you the build log for the one with icu. |
In the attached build logs you get a download error. Cannot do anything about that. As for suse, funny, there's a separate |
BTW, if you got a blocked network conn on some system, why not installing stringi directly from github? In such a case, icudt is included in the source bundle - it will be copied from this local repo on install. |
I suspect that suse, like yourself, ships |
OK, I'll apply a patch soon (it is harmless anyway) and we'll see if it works. |
So how do I build the source package with batteries included? I tried: git clone https://github.com/Rexamine/stringi/
R CMD build stringi But that gives me the same thing as the CRAN version? |
|
Ah, you mean building the package -- you should edit |
And that will automatically find it, and not download the files from the internet? So it can be compiled on a build server without internet access? |
Yes, |
OK that makes the source package 23m, that is pretty big indeed. I'll first try it with your patch. |
Commit 76d125a pushed - what about now? |
I'm also getting this when installing as a dependency of ggplot2 on openSUSE 13.2
Installed packages are
|
OK, I will install opensuse on a VM and check it out. |
I reran it with the correct option syntax but it throws the same error (+ some compiler macro warnings about depricated syntax). |
Even faster with docker:
|
self-note: icudt53l.dat is in
I have a solution, stay tuned. |
Should be fixed now, please confirm. Apparently, the suse icu pkg rpm builder hardcoded ICUDATA path during the lib build. @jeroenooms was right, I forced overriding this path, which lead to an error. @fungs, BTW, re-compiling the package with changed |
Did you test it with the suse ICU or does it only work with |
I tested it with system ICU.
|
Okay great, thanks. I'll do another build of my stack soon, hopefully it works now. |
@gagolews: I can test on my machine next week, and I will report. |
Had the same problem with openSUSE 13.2 Tumbleweed. Cloning stringi 0.5-3 from GitHub and installing with
worked for me. |
Added a Docker opensuse testbed in #173, works for me. |
I can also confirm that it works now. Thanks! |
I'm seeing these problems on some servers (e.g. opensuse):
I think the problem is that you are overriding the location of icudt even when linked against system ICU. I think you should only be calling
stri_set_icu_data_directory
when the package has been built with the bundled ICU.Perhaps something like
The text was updated successfully, but these errors were encountered: