-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Java 9 #34
Java 9 #34
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
356a24f
to
dc48f1e
Compare
@jakirkham Would you be ok to review this? Or ping someone who could? |
@hadim, I don't object to bringing openjdk up-to-date. Thank you for taking the time to do that. |
4faed3a
to
41dbbfb
Compare
All green! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hadim great work! There were a few questions on my side some suggested minor changes.
It is ready to merge after that.
8628566
to
df01c78
Compare
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipe:
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipe:
|
303c4ab
to
9fd33f6
Compare
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@ctrueden I tested the Linux build locally ( $ python -c "import jnius;System = jnius.autoclass('java.lang.System');print(System.getProperty('java.version'))"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/hadim/local/conda/envs/java/lib/python3.6/site-packages/jnius/__init__.py", line 13, in <module>
from .reflect import * # noqa
File "/home/hadim/local/conda/envs/java/lib/python3.6/site-packages/jnius/reflect.py", line 15, in <module>
class Class(with_metaclass(MetaJavaClass, JavaClass)):
File "/home/hadim/local/conda/envs/java/lib/python3.6/site-packages/six.py", line 827, in __new__
return meta(name, bases, d)
File "jnius/jnius_export_class.pxi", line 111, in jnius.MetaJavaClass.__new__
File "jnius/jnius_export_class.pxi", line 161, in jnius.MetaJavaClass.resolve_class
File "jnius/jnius_env.pxi", line 11, in jnius.get_jnienv
File "jnius/jnius_jvm_dlopen.pxi", line 90, in jnius.get_platform_jnienv
File "jnius/jnius_jvm_dlopen.pxi", line 59, in jnius.create_jnienv
SystemError: Error calling dlopen(b'/home/hadim/local/conda/envs/java/jre/lib/amd64/server/libjvm.so': b'/home/hadim/local/conda/envs/java/jre/lib/amd64/server/libjvm.so: cannot open shared object file: No such file or directory' The true location of
I feel like pyjnius is confused by the absence of the Any idea? |
Might be relevant: https://github.com/kivy/pyjnius/blob/5e19dbe425a6336e94b2f97c4b66c32ed1cd8652/jnius/jnius_jvm_dlopen.pxi#L50 Ping @hanslovsky as well. |
Ok it's a bug in In consequence, we won't be able to use those builds with the That being said those builds are fine in my opinion and can be merged after the (hopefully!) last review by @sodre. |
@hadim Why is Java 9 in the mix? Why wasn't your test using OpenJDK 8? |
Sorry, it wasn't clear. My test with all-already-released Conda packages including OpenJDK 8 is working fine. Here I was testing this OpenJDK 9 PR by building it locally with |
So to summarize those OpenJDK 9, 10 and 11 PRs are working fine but we won't be able to use those with Is that clear? |
os=$(uname -s | tr '[:upper:]' '[:lower:]') | ||
gcc -I$JAVA_HOME/include \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably should add a compiler requirement in test and update this to $CC
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broke out in issue ( #41 ).
@@ -29,19 +32,18 @@ build: | |||
|
|||
requirements: | |||
build: | |||
- curl | |||
|
|||
- curl # [unix] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still being used? Looks like it might not be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broke out as issue ( #40 ).
Thanks again for working on this, @hadim. Definitely a much needed improvement for the recipe. Made some small notes above about a few things we could cleanup. Though have broken these out as issues after the fact for easier tracking. Admittedly these may be carried over from my own PR. So sorry about that. They shouldn't be difficult to address. |
Build Java 9.