View previous topic :: View next topic |
Author |
Message |
Astronome Tux's lil' helper
Joined: 02 Jan 2016 Posts: 148
|
Posted: Tue Oct 18, 2016 11:03 pm Post subject: [Solved] Recursive Java dependency |
|
|
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 |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Oct 19, 2016 12:51 am Post subject: |
|
|
icedtea-web depends on >=virtual/jdk-1.7, the newest version is Java 8, so that's getting installed. |
|
Back to top |
|
|
Astronome Tux's lil' helper
Joined: 02 Jan 2016 Posts: 148
|
Posted: Wed Oct 19, 2016 1:44 pm Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Wed Oct 19, 2016 1:56 pm Post subject: |
|
|
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 |
|
|
Astronome Tux's lil' helper
Joined: 02 Jan 2016 Posts: 148
|
Posted: Wed Oct 19, 2016 2:03 pm Post subject: |
|
|
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 |
|
|
|