1 |
On Thu, 16 Nov 2017 23:38:09 -0600 |
2 |
R0b0t1 <r030t1@×××××.com> wrote: |
3 |
> |
4 |
> Hopefully this is not a tangent, but the OpenJDK release is available |
5 |
> on Ubuntu. I have tried to understand the IcedTea build process and |
6 |
> failed, as I was hoping that it could be packaged for Gentoo before |
7 |
> the official IcedTea release. I was not able to find a timeline from |
8 |
> the OpenJDK project. |
9 |
|
10 |
Gentoo is a from source distro not binary. It will be some time before |
11 |
icedtea, some version support slot 9 will be available. There is no eta |
12 |
for icedtea. That comes from directly from RedHat. The person who |
13 |
makes it for the world does so on Gentoo, for RedHat their employer. |
14 |
|
15 |
I tried for years to get others to make a path for them to be able to |
16 |
become a dev and work in tree. Rather that work goes into java-overlay |
17 |
and is proxied to tree by Chewi/James. |
18 |
https://github.com/gentoo/java-overlay/tree/master/dev-java/icedtea |
19 |
|
20 |
> You focus on Oracle's Java? |
21 |
|
22 |
Yes, in brief, as the other will always lag. I would be some what |
23 |
interested in a actual OpenJDK package. That could build with either |
24 |
oracle or icedtea. Usually for production and business purposes people |
25 |
want to run Oracle. I do not know many who run icedtea/openjdk. Though |
26 |
I am sure they are out there. Definitely RedHat customers. |
27 |
|
28 |
Also icedtea on Gentoo does not have OpenJavaFX. I am not |
29 |
sure any distro has OpenJavaFX packaged. I am not aware of any ebuilds |
30 |
ever for that. Probably be me someday if I ever have interest. Which |
31 |
can bind many to oracle for JavaFX. Which includes myself. |
32 |
|
33 |
Icedtea really is not a jdk but a build system. On Gentoo only it |
34 |
becomes the name of the JDK/JRE. It really is just OpenJDK built |
35 |
without Oracle. Ideally there is oracle, openjdk, and icedtea ebuilds. |
36 |
You then build openjdk with oracle or icedtea via USE flag. |
37 |
|
38 |
Icedtea will always lag from Oracle. There will always be oracle |
39 |
binaries before others. Yes you can build the source against it, but no |
40 |
one is working on that. Again Gentoo has what it does because of |
41 |
RedHat. Really for RedHats own interest, not Gentoo. Gentoo just |
42 |
benefits. |
43 |
|
44 |
It would likely be a considerable effort to have a openjdk that can |
45 |
build via oracle or icedtea/openjdk binaries. I think exherbo managed |
46 |
that, I am not sure. |
47 |
|
48 |
The lagging may get worse as JDK release is scheduled to speed up |
49 |
considerably come March. Say hello to Java 18.3.... |
50 |
https://mreinhold.org/blog/forward-faster |
51 |
|
52 |
> The Oracle binaries seem to work well for me and I have experienced no |
53 |
> issues. Notably, Scala works transparently on the Oracle JDK 9. What |
54 |
> kind of issues are you seeing? The biggest issue I have had is that |
55 |
> some version tests do not parse "9" the same way as "1.8.0_152". |
56 |
|
57 |
There are tons of build issues for Java packages in tree. From not |
58 |
supporting < 1.6 source/target, The whole modules system. Changes with |
59 |
class visibility and deprecation of sun.* classes. No tools.jar. Odd |
60 |
build issues where some packages build fine under 1.8, but generate |
61 |
errors under 9 that require code fixes. |
62 |
|
63 |
A slew of issues that Gentoo already lacks man power to keep some stuff |
64 |
current. The amount of work is pretty tremendous on top of the state of |
65 |
the tree. |
66 |
|
67 |
Out of some 160 packages I had installed, 48 failed, with some 600+ to |
68 |
test still. There were more failures before some fixes. I am still |
69 |
working on fixing those and there are likely a considerable amount |
70 |
more. |
71 |
|
72 |
My overlay is already ahead of the tree in many ways. The tree has to |
73 |
play additional catchup. The tree itself without my overlay may have may |
74 |
more issues. I do not know. I am working on replacing all packages in |
75 |
tree, not running them. I need them kept current. |
76 |
|
77 |
> Adding Java 9 to the tree would help users who are interested |
78 |
> experiment with the language. |
79 |
|
80 |
The JDK/JRE could go into tree masked for anyone who wants to unmask. I |
81 |
have been pushing for that for some time, but will only happen when |
82 |
Chewi/James has time. |
83 |
|
84 |
JRE is safer than JDK. There will be issues with JDK if set to system |
85 |
VM and used to build Java packages on Gentoo. The mask should warn |
86 |
about such, etc. |
87 |
|
88 |
> As part of the first work on Python 3.5 |
89 |
> (very minor) I installed it on my system but did not add it to |
90 |
> PYTHON_TARGETS. Is there an equivalent for Java? |
91 |
|
92 |
Heck no, Java is not in my opinion an pain like Ruby and Python. Perl |
93 |
is not either. In fact if I get time to re-write eclasses. I plan to |
94 |
move the versions from in ebuilds to eclass. Making 1 place to update |
95 |
source/target/release of a java package. |
96 |
|
97 |
Right now Java is controlled via depends. The DEPEND version sets the |
98 |
-source, and RDEPEND the -target version. Java 9 has a new -release. |
99 |
The source/target has long time issue on Gentoo. To trigger you build |
100 |
with newer and run with older. |
101 |
https://wiki.gentoo.org/wiki/Java_Developer_Guide#Bootstrap_class_path |
102 |
|
103 |
|
104 |
> I have read the bug discussing your retirement. It is not possible for |
105 |
> me to ascertain what led to disciplinary action. The lack of concrete |
106 |
> discussion on behavior to be addressed reflects poorly on those who |
107 |
> sought disciplinary action. |
108 |
|
109 |
The whole thing is a mess. Let me just say this, You DO NOT take action |
110 |
against a recently resigned Trustee who stepped down mid term. Despite |
111 |
within 6 months getting Gentoo a Bank Account, Legal again with New |
112 |
Mexico (though never has had the same with IRS since Daniel), and a |
113 |
public review of draft by laws such that they were adopted right after |
114 |
I resigned. Which shortly after I was encouraged to retire. |
115 |
|
116 |
Since then people have just been problems, standing in the way of |
117 |
progress for no good reason. The world is fraught with social issues. |
118 |
Technical projects are no means to solve them. Gentoo has suffered in |
119 |
many ways, not just technically via Java, but also the work I was doing |
120 |
on the Foundation. |
121 |
|
122 |
I was paying close attention to FreeBSD then. It is interesting to see |
123 |
where FreeBSD is now compared to Gentoo. One rose the other fell. |
124 |
Gentoo is not the only project that suffers from such. Though it has |
125 |
some unique things that have not helped it.... |
126 |
|
127 |
> However, I am not a very smart man. I am usually wrong. Hopefully |
128 |
> someone who is much more intelligent than I can explain how I have |
129 |
> erred in my opinion. |
130 |
|
131 |
Its wonderful to be wrong. We learn more, or should... :) |
132 |
|
133 |
-- |
134 |
William L. Thomson Jr. |