Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 810616 - dev-util/jenkins-bin - installs java-8 even though java-11 is present
Summary: dev-util/jenkins-bin - installs java-8 even though java-11 is present
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-27 06:36 UTC by Tomáš Mózes
Modified: 2021-08-27 09:38 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2021-08-27 06:36:39 UTC
The system has these:

virtual/jre-11-r2::gentoo was built with the following:
USE="" ABI_X86="(64)"

virtual/jdk-11-r2::gentoo was built with the following:
USE="headless-awt" ABI_X86="(64)"

dev-java/openjdk-bin-11.0.11_p9-r1::gentoo was built with the following:
USE="gentoo-vm headless-awt -alsa -cups (-selinux) -source" ABI_X86="(64)"

But jenkins seems to be pulling in java-8:
# emerge --tree -uDNva1 @world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge       ] dev-util/jenkins-bin-2.303.1:lts::gentoo 
[ebuild  NS    ]  virtual/jre-1.8.0-r3:1.8::gentoo [11-r2:11::gentoo] 0 KiB
[ebuild  NS    ]   virtual/jdk-1.8.0-r6:1.8::gentoo [11-r2:11::gentoo] USE="headless-awt" 0 KiB
[ebuild  NS    ]    dev-java/openjdk-bin-8.292_p10:8::gentoo [11.0.11_p9-r1:11::gentoo] USE="headless-awt -alsa -cups -examples% (-selinux) -source (-gentoo-vm%*)" 0 KiB
Comment 1 Hans de Graaff gentoo-dev Security 2021-08-27 08:10:02 UTC
Ah. virtual/jre is slotted. I guess we'll need to do something like this then:

|| ( virtual/jre:1.8 virtual/jre:11 )

With 11 at the end since it is still masked.
Comment 2 Larry the Git Cow gentoo-dev 2021-08-27 08:27:53 UTC
The bug has been closed via the following commit(s):

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

commit d5a449d59df5ee85abcf4ae19c65e206fc9e24c1
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2021-08-27 08:27:43 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2021-08-27 08:27:49 +0000

    dev-util/jenkins-bin: allow java 11 and add 2.308
    
    Closes: https://bugs.gentoo.org/810616
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-util/jenkins-bin/Manifest                      |  1 +
 dev-util/jenkins-bin/jenkins-bin-2.303.1-r1.ebuild | 45 ++++++++++++++++++++++
 dev-util/jenkins-bin/jenkins-bin-2.308.ebuild      | 45 ++++++++++++++++++++++
 3 files changed, 91 insertions(+)
Comment 3 Tomáš Mózes 2021-08-27 08:37:04 UTC
Thank you Hans.