Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[résolu] Problème de dépendance circulaire
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Wed Jan 06, 2021 5:56 pm    Post subject: [résolu] Problème de dépendance circulaire Reply with quote

Plop !

J'essaie en vain d'installer la version 11 d'openjdk (dans l'espoir d'avoir un javaws fonctionnel) mais je coince sur cette erreur :

Code:
emerge -av dev-java/openjdk

 * IMPORTANT: 13 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections 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  N    ~] dev-java/openjdk-11.0.9_p11:11::gentoo  USE="cups gentoo-vm jbootstrap pch -alsa -debug -doc -examples -headless-awt -javafx (-selinux) -source -systemtap" 89,491 KiB

Total: 1 package (1 new), Size of downloads: 89,491 KiB

 * Error: circular dependencies:

(dev-java/openjdk-11.0.9_p11:11/11::gentoo, ebuild scheduled for merge) depends on
 (dev-java/openjdk-11.0.9_p11: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.


Sauf que… je ne vois pas trop USE désactiver pour que ça passe 8O .

Si vous avez une idée… merci d'avance ! :jap:

Solution :

Il fallait aussi mettre openjdk-bin ~amd64 dans package.accept_keywords
Back to top
View user's profile Send private message
El_Goretto
Moderator
Moderator


Joined: 29 May 2004
Posts: 3169
Location: Paris

PostPosted: Thu Jan 07, 2021 2:53 pm    Post subject: Reply with quote

C'est la blague où il faut un JRE fonctionnel pour compiler dev-java/openjdk, il me semble.
En regardant l'ebuild, ça doit être ça:

Code:
DEPEND="
   ${COMMON_DEPEND}
<snip>
   || (
      dev-java/openjdk-bin:${SLOT}
      dev-java/openjdk:${SLOT}
   )

Donc pour les spéctateurs qui liront ce thead plus tard, il faut d'abord installer dev-java/openjdk-bin.
_________________
-TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT)
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Thu Jan 07, 2021 3:10 pm    Post subject: Reply with quote

J'ai mis la solution dans mon post ;) .

Mon soucis venait du fait que j'avais autorisé openjdk en ~amd64 mais pas openjdk-bin donc soucis de version…


Mais ça n'a pas résolu mon soucis initial : avoir javaws fonctionnel :cry: et là je n'ai plus d'idées pour le moment.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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