Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833354 - app-office/libreoffice-bin: pull in dev-java/openjdk-jre-bin before dev-java/openjdk
Summary: app-office/libreoffice-bin: pull in dev-java/openjdk-jre-bin before dev-java/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-14 20:04 UTC by Pacho Ramos
Modified: 2022-02-25 20:56 UTC (History)
3 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 Pacho Ramos gentoo-dev 2022-02-14 20:04:52 UTC
I was wondering about what was trying to install dev-java/openjdk instead of its -bin version even if virtual/jre and virtual/jdk pull -bin versions before... and it seems it is libreoffice-bin ebuild:
        java? ( || (
                dev-java/openjdk:11
                dev-java/openjdk-jre-bin:11
                >=virtual/jre-1.8

Could -bin version be pulled before compilable one too here please?

Thanks a lot
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-14 20:06:02 UTC
We could do even better and just use the virtual now, I think, now that 11 is all unmasked.
Comment 2 Georgy Yakovlev archtester gentoo-dev 2022-02-16 20:27:17 UTC
yeah current handling was added before we had stable jdk:11

now it can just use jdk:11 dep
Comment 3 Larry the Git Cow gentoo-dev 2022-02-25 20:56:35 UTC
The bug has been closed via the following commit(s):

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

commit 1dfc8b493b120ee7a3a39c4a27acbde8ec12982e
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2022-02-25 20:56:14 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2022-02-25 20:56:24 +0000

    app-office/libreoffice-bin: Simplify java deps
    
    Closes: https://bugs.gentoo.org/833354
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 app-office/libreoffice-bin/libreoffice-bin-7.2.5.2.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)