View previous topic :: View next topic |
Author |
Message |
helio Apprentice
Joined: 08 Apr 2006 Posts: 237
|
Posted: Mon Oct 28, 2013 4:06 am Post subject: dev-java/icedtea emerge error: circular dependencies |
|
|
I was trying to
emerge -pv dev-java/icedtea
and I got error messge:
[nomerge ] dev-java/icedtea-7.2.4.1:7 USE="X alsa cups jbootstrap nsplugin nss source webstart -cjk -debug -doc -examples -javascript -pax_kernel -pulseaudio -systemtap {-test}"
[ebuild N ~] dev-java/icedtea-web-1.3.2-r7:7 USE="nsplugin -build -doc -javascript {-test}" 1,015 kB
[ebuild N ~] dev-java/icedtea-7.2.4.1:7 USE="X alsa cups jbootstrap nsplugin nss source webstart -cjk -debug -doc -examples -javascript -pax_kernel -pulseaudio -systemtap {-test}" 72,951 kB
Total: 2 packages (2 new), Size of downloads: 73,966 kB
* Error: circular dependencies:
(dev-java/icedtea-7.2.4.1::gentoo, ebuild scheduled for merge) depends on
(dev-java/icedtea-7.2.4.1::gentoo, ebuild scheduled for merge) (buildtime)
Then I tried
USE=-webstart emerge -pv dev-java/icedtea
but I still couldn't emerge dev-java/icedtea, as I was getting the following similar error message:
[nomerge ] dev-java/icedtea-7.2.4.1:7 USE="X alsa cups jbootstrap nsplugin nss source -cjk -debug -doc -examples -javascript -pax_kernel -pulseaudio -systemtap {-test} -webstart"
[ebuild N ~] dev-java/icedtea-web-1.3.2-r7:7 USE="nsplugin -build -doc -javascript {-test}" 1,015 kB
[ebuild N ~] dev-java/icedtea-7.2.4.1:7 USE="X alsa cups jbootstrap nsplugin nss source -cjk -debug -doc -examples -javascript -pax_kernel -pulseaudio -systemtap {-test} -webstart" 72,951 kB
Total: 2 packages (2 new), Size of downloads: 73,966 kB
* Error: circular dependencies:
(dev-java/icedtea-7.2.4.1::gentoo, ebuild scheduled for merge) depends on
(dev-java/icedtea-7.2.4.1::gentoo, ebuild scheduled for merge) (buildtime)
Is there anyway I can get rid of the circular dependency (which I assume is between dev-java/icedtea and dev-java/icedtea-web)? |
|
Back to top |
|
|
litan n00b
Joined: 13 Aug 2012 Posts: 51
|
Posted: Mon Oct 28, 2013 4:38 am Post subject: |
|
|
You need a java compiler up and running to build icedtea,
because parts of it are written in java.
You can bootstrap with the package dev-java/icedtea-bin, which is a precompiled binary,
or with dev-java/gcj-jdk, which is the GNU implementation of a java compiler und can be compiled
without another java.
Hope that helps. |
|
Back to top |
|
|
helio Apprentice
Joined: 08 Apr 2006 Posts: 237
|
Posted: Mon Oct 28, 2013 11:06 pm Post subject: |
|
|
I already had dev-java/icedtea-bin installed:
emerge -pv dev-java/icedtea-bin
* IMPORTANT: config file '/etc/portage/repos.conf/gentoo.conf' needs updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-java/icedtea-bin-6.1.12.6:6 USE="X alsa cups nsplugin -cjk -doc -examples -source" 0 kB
litan wrote: | You need a java compiler up and running to build icedtea,
because parts of it are written in java.
You can bootstrap with the package dev-java/icedtea-bin, which is a precompiled binary,
or with dev-java/gcj-jdk, which is the GNU implementation of a java compiler und can be compiled
without another java.
Hope that helps. |
|
|
Back to top |
|
|
litan n00b
Joined: 13 Aug 2012 Posts: 51
|
Posted: Tue Oct 29, 2013 9:11 am Post subject: |
|
|
Since you keyworded icedtea, what happens if you also keyword icedtea-bin?
I think you need compatible versions.
Or you try putting this in your /etc/portage/package.accept_keywords:
Quote: | =dev-java/icedtea-6.1.12.6 |
..depending on what java version you would like to have.
Edit:
You can see that in the ebuilds.
/usr/portage/dev-java/icedtea/icedtea-7.2.4.1.ebuild:
Code: |
DEPEND="[...]
|| (
>=dev-java/gcj-jdk-4.3
dev-java/icedtea-bin:7
dev-java/icedtea:7
)
[...]"
|
/usr/portage/dev-java/icedtea/icedtea-6.1.12.6.ebuild:
Code: | DEPEND="[...]
|| (
>=dev-java/gcj-jdk-4.3
dev-java/icedtea-bin:6
dev-java/icedtea:6
)
[...]" |
|
|
Back to top |
|
|
|
|
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
|
|