Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672058 - Add dev-java/openjdk 1.8 ?
Summary: Add dev-java/openjdk 1.8 ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-27 15:15 UTC by Joakim Tjernlund
Modified: 2019-10-30 07:48 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
openjdk:8 ebuild (openjdk-bin-8.192_p12.ebuild,2.68 KB, text/plain)
2019-01-06 14:26 UTC, Joakim Tjernlund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2018-11-27 15:15:53 UTC
As Oracle soon starts to charge for some uses of dev-java/openjdk 1.8
maybe Gentoo could add dev-java/openjdk 1.8 too ease transition to
openjdk ?
Comment 1 Joakim Tjernlund 2018-12-12 22:22:23 UTC
Maybe we could have the -bin openjdk's from https://adoptopenjdk.net/ ?
With a USE flag to select HotSpot or OpenJ9
Comment 2 Joakim Tjernlund 2018-12-15 18:51:15 UTC
ping ? anyone home ?
Comment 3 Georgy Yakovlev archtester gentoo-dev 2018-12-15 21:20:53 UTC
Hi.
Yes, there are plans to add openjdk8 and *maybe* openj9-jdk as a separate package, not a useflag.
I'm working on it, can't say about the dates but probably should land early 2019 right after holidays.
Comment 4 Georgy Yakovlev archtester gentoo-dev 2018-12-16 01:35:01 UTC
meanwhile, can you check this openj9-jdk-bin ebuild?

https://github.com/gentoo/gentoo/pull/10383

still working on source one but bin works for me so far. I'm going to fix small issues with it (nothing critical and push to the tree)
Comment 5 Joakim Tjernlund 2019-01-06 14:26:40 UTC
Created attachment 560090 [details]
openjdk:8 ebuild

Here is my openjdk-bin:8 ebuild

Notice the small diff with the in tree :11 one.
Comment 6 Georgy Yakovlev archtester gentoo-dev 2019-01-18 05:31:28 UTC
Please test and provide feedback here (preferred) or on the PR on github.

https://github.com/gentoo/gentoo/pull/10858

I haven't yet tested myself really well, but it builds with icedtea. jbootstrap works, and it can build itself.
Comment 7 Joakim Tjernlund 2019-01-18 08:51:24 UTC
Thanks!

It would be nice if
  https://bugs.openjdk.java.net/browse/JDK-8204142
could be backported to java-8 as well. We can see the effects 
of this bug in openjdk-8
Comment 8 Joakim Tjernlund 2019-01-24 09:48:54 UTC
openjdk 8u202-b08 is out now
Comment 9 Georgy Yakovlev archtester gentoo-dev 2019-01-24 10:01:17 UTC
can't see a release here yet.

https://openjdk.java.net/projects/jdk8u/
Comment 10 Joakim Tjernlund 2019-01-24 11:48:33 UTC
(In reply to Georgy Yakovlev from comment #9)
> can't see a release here yet.
> 
> https://openjdk.java.net/projects/jdk8u/

hmm, I looked at https://adoptopenjdk.net/ and assumed it was in sync
with openjdk ?
Comment 11 Joakim Tjernlund 2019-01-24 12:02:37 UTC
(In reply to Joakim Tjernlund from comment #10)
> (In reply to Georgy Yakovlev from comment #9)
> > can't see a release here yet.
> > 
> > https://openjdk.java.net/projects/jdk8u/
> 
> hmm, I looked at https://adoptopenjdk.net/ and assumed it was in sync
> with openjdk ?
Thre are more tags at: 
https://hg.openjdk.java.net/jdk8u/jdk8u

I figure these are some sort of releases ?
Comment 12 Georgy Yakovlev archtester gentoo-dev 2019-01-24 18:18:45 UTC
actually it seems there is new ga tag and it's released indeed, but release page not updated.

https://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-January/008381.html
Comment 13 Larry the Git Cow gentoo-dev 2019-02-01 09:09:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98a5a71b1cb2ac442d5dc06d02da4b41f8aa3164

commit 98a5a71b1cb2ac442d5dc06d02da4b41f8aa3164
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-02-01 08:15:47 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-02-01 09:07:05 +0000

    virtual/jdk: add openjdk{,-bin} to virtual
    
    Closes: https://bugs.gentoo.org/672058
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 virtual/jdk/jdk-1.8.0-r4.ebuild | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84cb8aded1f216eb7aea85e17095f685c3b7f672

commit 84cb8aded1f216eb7aea85e17095f685c3b7f672
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-02-01 08:52:43 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-02-01 09:08:16 +0000

    dev-java/icedtea: allow building with openjdk{,-bin}:8
    
    Bug: https://bugs.gentoo.org/672058
    
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-java/icedtea/icedtea-3.10.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74977ef710bda41d15f6c741f88c4b119c29df28

commit 74977ef710bda41d15f6c741f88c4b119c29df28
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-02-01 08:22:55 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-02-01 09:07:05 +0000

    dev-java/openjdk: add openjdk:8
    
    Bug: https://bugs.gentoo.org/672058
    Closes: https://github.com/gentoo/gentoo/pull/10858
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-java/openjdk/Manifest                  |   8 +
 dev-java/openjdk/files/generate-cacerts.pl | 358 +++++++++++++++++++++++++++++
 dev-java/openjdk/files/openjdk-8.env.sh    |  16 ++
 dev-java/openjdk/openjdk-8.202_p08.ebuild  | 240 +++++++++++++++++++
 4 files changed, 622 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec77d7ae906dd1a80a24790723d4ec735a5f8541

commit ec77d7ae906dd1a80a24790723d4ec735a5f8541
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-02-01 08:20:00 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-02-01 09:02:50 +0000

    dev-java/openjdk-bin: add ~amd64 and ~ppc64le  openjdk-bin:8
    
    Bug: https://bugs.gentoo.org/672058
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-java/openjdk-bin/Manifest                     |   2 +
 dev-java/openjdk-bin/openjdk-bin-8.202_p08.ebuild | 102 ++++++++++++++++++++++
 2 files changed, 104 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e52efd6be230adda909f76e6cb6166bc53d38c10

commit e52efd6be230adda909f76e6cb6166bc53d38c10
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-02-01 08:19:22 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-02-01 09:02:49 +0000

    dev-java/openjdk-bin: add ~arm64 only openjdk-bin:8
    
    Bug: https://bugs.gentoo.org/672058
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-java/openjdk-bin/Manifest                     |   1 +
 dev-java/openjdk-bin/files/openjdk-bin-8.env.sh   |  16 ++++
 dev-java/openjdk-bin/openjdk-bin-8.191_p12.ebuild | 101 ++++++++++++++++++++++
 3 files changed, 118 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29609d36927b2a8aafa0fd34090ca745c7f6a45b

commit 29609d36927b2a8aafa0fd34090ca745c7f6a45b
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-02-01 08:10:21 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-02-01 09:02:48 +0000

    profiles: mask gentoo-vm flag for openjdk{,-bin}:8
    
    Bug: https://bugs.gentoo.org/672058
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 profiles/base/package.use.mask | 5 +++++
 1 file changed, 5 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c79281f1555e772278e02a6d0b4e72fa9233e0

commit 83c79281f1555e772278e02a6d0b4e72fa9233e0
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-02-01 08:06:57 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-02-01 09:02:43 +0000

    profiles: Clarify dev-java/openjdk mask on big-endian ppc64
    
    Bug: https://bugs.gentoo.org/672058
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 profiles/arch/powerpc/ppc64/64ul/package.mask | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Comment 14 Mike Auty (RETIRED) gentoo-dev 2019-06-08 20:27:49 UTC
@gyakovlev I've been unmasking openjdk-11's gentoo-VM USE flag without much problem (admittedly I only use a couple of java packages) and so I tried tracing back to figure out why the USE flag was masked.  The best I could find was mention of this bug in the commit message, and that it would be unmasked once it was proven stable in the actual mask file.

As such, I was wondering if there was a tracker bug or some list of the problems encountered when using it as a gentoo-vm?
Comment 15 Andrew John Hughes 2019-06-08 22:06:57 UTC
What is the point of this package, when we already have dev-java/icedtea providing OpenJDK with better arch support?
Comment 16 edwinmith 2019-10-30 07:48:50 UTC
I like the post which you shared here and thanks for that. https://tellthebell.ninja