Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Recursive Java dependency
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Astronome
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 148

PostPosted: Tue Oct 18, 2016 11:03 pm    Post subject: [Solved] Recursive Java dependency Reply with quote

I added the following to package.use:

Code:

dev-java/icdedtea-bin nsplugin


Now, when I try to update @world, Portage wants to pull in an older version of icedtea-bin:

Code:

$ sudo emerge -uDU @world

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

Calculating dependencies... done!
[ebuild  NS    ] dev-java/icedtea-bin-3.1.0 [7.2.6.7] USE="alsa cups gtk nsplugin -doc -examples -headless-awt -multilib -pulseaudio (-selinux) -source -webstart" ABI_X86="(64) -32"
[ebuild  N     ] virtual/jdk-1.8.0-r3
[ebuild  N     ] virtual/jre-1.8.0-r1
[ebuild  N     ] dev-java/icedtea-web-1.6.1-r1  USE="nsplugin -doc -javascript -tagsoup {-test}"
[ebuild   R    ] dev-java/icedtea-bin-7.2.6.7  USE="nsplugin*"


I think the dependency tree looks like this:

dev-java/icedtea-bin +nsplugin depends on dev-java/icedtea-web
dev-java/icedtea-web depends on virtual/jdk and virtual/jre
virtual/jdk and virtual/jre depend on dev-java/icedtea-bin

Why?!?!


Last edited by Astronome on Wed Oct 19, 2016 2:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Oct 19, 2016 12:51 am    Post subject: Reply with quote

icedtea-web depends on >=virtual/jdk-1.7, the newest version is Java 8, so that's getting installed.
Back to top
View user's profile Send private message
Astronome
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 148

PostPosted: Wed Oct 19, 2016 1:44 pm    Post subject: Reply with quote

Ant P. wrote:
icedtea-web depends on >=virtual/jdk-1.7, the newest version is Java 8, so that's getting installed.


Sorry, I don't understand. I already have icedtea-bin 7.2.6.7. If icedtea-web depends on >=virtual/jdk-1.7, why is it pulling in an older version of icedtea-bin?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Wed Oct 19, 2016 1:56 pm    Post subject: Reply with quote

Astronome wrote:
Sorry, I don't understand. I already have icedtea-bin 7.2.6.7. If icedtea-web depends on >=virtual/jdk-1.7, why is it pulling in an older version of icedtea-bin?

icedtea-bin-3.1.0 implementing OpenJDK 8 then is a newer version compared to icedtea-bin 7.2.6.7
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Astronome
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 148

PostPosted: Wed Oct 19, 2016 2:03 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Astronome wrote:
Sorry, I don't understand. I already have icedtea-bin 7.2.6.7. If icedtea-web depends on >=virtual/jdk-1.7, why is it pulling in an older version of icedtea-bin?

icedtea-bin-3.1.0 implementing OpenJDK 8 then is a newer version compared to icedtea-bin 7.2.6.7


That's confusing. Thanks!

Edit: do I understand correctly that IcedTea7 = IcedTea 2.6.7? Maybe the ebuild should be renamed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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