Gentoo Archives: gentoo-user

From: Zac Medico <zmedico@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Weird dependencies
Date: Wed, 26 Jul 2006 21:41:20
Message-Id: 44C7E06D.7050204@gentoo.org
In Reply to: Re: [gentoo-user] Weird dependencies by gentuxx
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 gentuxx wrote:
5 > Calculating dependencies |
6 > emerge: there are no ebuilds to satisfy ">=dev-java/kaffe-1.4".
7 > (dependency required by "dev-java/gjdoc-0.7.7-r1" [ebuild])
8
9
10 java-check-environment is supposed to help you correct for this:
11
12 check_virtual_provides() {
13 local this_result=0
14 local provides=$(find /var/db/pkg -name PROVIDE | xargs egrep -l 'virtual/jdk|virtual/jre')
15 if [[ -n ${provides} ]]; then
16 qeerror "Found PROVIDE files from old-style virtuals. Please remove them:"
17 qecho "# rm ${provides}"
18
19 this_result=1
20 fi
21 update_result ${this_result}
22 return ${this_result}
23 }
24
25 The above find command will tell you which PROVIDE files to remove.
26
27 Zac
28 -----BEGIN PGP SIGNATURE-----
29 Version: GnuPG v1.4.4 (GNU/Linux)
30
31 iD8DBQFEx+Bs/ejvha5XGaMRAnKcAJ47j/4Txz714yLdnr6vblZYb5ZzUACfSF09
32 xbw3FeI8bSp6Xfm4f2ErX14=
33 =+CPz
34 -----END PGP SIGNATURE-----
35 --
36 gentoo-user@g.o mailing list