Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Circular self-dependency installing openjdk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mutobj
n00b
n00b


Joined: 03 Mar 2019
Posts: 5

PostPosted: Sun Mar 03, 2019 9:48 am    Post subject: [SOLVED] Circular self-dependency installing openjdk Reply with quote

Hello, I'm trying to install openjdk (currently have vrtual/jdk and icedtea packages). But emerging it leads to the error:

Code:

 * Error: circular dependencies:

(dev-java/openjdk-11.0.2_p7:11/11::gentoo, ebuild scheduled for merge) depends on
 (dev-java/openjdk-11.0.2_p7:11/11::gentoo, ebuild scheduled for merge) (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.


What can I do?


Last edited by mutobj on Sun Mar 03, 2019 12:00 pm; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21541
Location: here

PostPosted: Sun Mar 03, 2019 10:03 am    Post subject: Reply with quote

Welcome to gentoo forum!

I think that first time you should install openjdk-bin, see dependencies
openjdk-11.0.2_p7.ebuild:
DEPEND="
        ${CDEPEND}
        app-arch/zip
        media-libs/alsa-lib
        net-print/cups
        !headless-awt? (
                x11-base/xorg-proto
        )
        || (
                dev-java/openjdk-bin:${SLOT}
                dev-java/openjdk:${SLOT}
        )
"


EDIT: then you can
Code:
# emerge -1 =dev-java/openjdk-bin-11.0.2_p7
# emerge =dev-java/openjdk-11.0.2_p7
# emerge -C =dev-java/openjdk-bin-11.0.2_p7

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mutobj
n00b
n00b


Joined: 03 Mar 2019
Posts: 5

PostPosted: Sun Mar 03, 2019 11:50 am    Post subject: Reply with quote

Thank you much, it worked!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum