-
Notifications
You must be signed in to change notification settings - Fork 64
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
[darwin] Elasticsearch 5.4 Missing dependency #512
Comments
How... how did you end up with this? What platform? |
My guess is that you're building yourself and using the Oracle JRE package instead of OpenJDK, however, I'm pretty sure that the Oracle one is not redistributable, so can't be made available in a repository and installed via pkgin. |
Hmm, did nothing special, I use Mac OSX 10.12 and did this
|
do you mean whatever Oracle JRE I have installed conflicts and i might resolve it by removing it and using OopenJDK? |
No. I'm looking into this. |
The oracle JRE/JDK package should never be used to build out binary packages, because they cannot be redistributed in a binary form due to licensing restrictions. For some reason, the current osx/trunk packages that we build are, so that needs to be fixed. |
thanks mamash for responding so quickly |
Just a quick update: this is confirmed as a known bug in all packages depending on Java on the Darwin (OS X) platform. The build cluster used to build out the binary packages is not configured in order to provide a proper native Java implementation that pkgsrc would recognize and use. As an interrim workaround, it is suggested that you install pkgsrc to your system and build elasticsearch (or any other Java package) yourself locally. |
I've committed NetBSD/pkgsrc@7cf77ac and installed the latest Oracle JRE/JDK on the build host. The next build run will use the native Java rather than one from pkgsrc so these dependency issues will disappear, however manually installing native Java will be required on any target host for the packages to actually work. |
This should be fixed by now. I just fixed an unrelated build issue that will make the package resurface shortly. |
Hi,
I've tried:
installing elasticsearch-5.4.0...
pkg_install warnings: 0, errors: 2
Got this:
---Jun 07 20:07:36: installing elasticsearch-5.4.0...
pkg_add: no pkg found for 'oracle-jre8-[0-9]', sorry.
pkg_add: Can't install dependency oracle-jre8-[0-9]
pkg_add: 1 package addition failed
The text was updated successfully, but these errors were encountered: