From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1ErK2l-0005pb-KD for garchives@archives.gentoo.org; Tue, 27 Dec 2005 18:59:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBRIv9eM012852; Tue, 27 Dec 2005 18:57:09 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBRIsntw009270 for ; Tue, 27 Dec 2005 18:54:50 GMT Received: from 82-41-57-20.cable.ubr08.edin.blueyonder.co.uk ([82.41.57.20] helo=snowdrop.home) by smtp.gentoo.org with esmtpa (Exim 4.54) id 1ErJzi-000362-Sg for gentoo-dev@lists.gentoo.org; Tue, 27 Dec 2005 18:56:23 +0000 Received: from localhost.home ([127.0.0.1] helo=snowdrop.home) by snowdrop.home with esmtp (Exim 4.54) id 1ErJzh-0006nq-2m for gentoo-dev@lists.gentoo.org; Tue, 27 Dec 2005 18:56:21 +0000 Date: Tue, 27 Dec 2005 18:56:18 +0000 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Multiple Repo Support Message-ID: <20051227185618.4a18362c@snowdrop.home> In-Reply-To: <200512271927.06727.carlo@gentoo.org> References: <43A235AD.6030604@leetworks.com> <200512271837.14038.carlo@gentoo.org> <20051227174447.243d067a@snowdrop.home> <200512271927.06727.carlo@gentoo.org> X-Mailer: Sylpheed-Claws 2.0.0-rc1 (GTK+ 2.8.9; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_EJj_vJmK=6hl4jb6O4vYNUD"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: cdc04420-0811-457d-a236-a0370626142a X-Archives-Hash: 3e1a63bc1644165c55fdb86e08931bcc --Sig_EJj_vJmK=6hl4jb6O4vYNUD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 27 Dec 2005 19:27:01 +0100 Carsten Lohrke wrote: | - We speak about ebuilds, which are installed and need to be | reinstalled. There is no version cycling (or I do not get what you're | after, please explain in that case). foo-1.0: DEPEND=3D"=3Dfoo-2.0" foo-2.0: DEPEND=3D"" foo-3.0: DEPEND=3D"=3Dfoo-1.0" bar-1.0: DEPEND=3D"=3Dfoo-1.0" baz-1.0: DEPEND=3D"=3Dfoo-2.0 bar" moo-1.0: DEPEND=3D"=3Dfoo-3.0 baz" # emerge moo -pv One solution for this particular case, assuming I didn't get confused and screw it up: [n] foo-2.0 [d] foo-1.0 [n] bar-1.0 [u] foo-2.0 [n] baz-1.0 [d] foo-1.0 [u] foo-3.0 [n] moo-1.0 Notice how we have to repeatedly upgrade and downgrade foo. | - Changed use flags will be processed by the normal dependency | calculation of the ebuilds to be rebuilt which may lead to additional | dependencies or blockers. It could also be that some ebuilds are | installed, which do not exist in the repository anymore. Again, you can get cycling. This one's even nastier, if you have various packages that DEPEND upon something built with [foo], various packages that DEPEND upon something built with [!foo] and upgrade / downgrade cycling on that package... | > you may find the PCP somewhat useful...) |=20 | PCP - pretty colored potato? I don't know the abbreviation. Please | explain it and whatelse I miss in your eyes. Post's Correspondence Problem. It's a proven general case unsolvable problem that looks suspiciously similar to the general case "dependency resolution with cycling" situation... --=20 Ciaran McCreesh : Gentoo Developer (I can kill you with my brain) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm --Sig_EJj_vJmK=6hl4jb6O4vYNUD Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDsY5U96zL6DUtXhERAkOqAKCJsT39XaAsV89biRHYEY+zlfHM4QCg3L80 6h24n9SMcmdZQkVY0sZiMd8= =uBHJ -----END PGP SIGNATURE----- --Sig_EJj_vJmK=6hl4jb6O4vYNUD-- -- gentoo-dev@gentoo.org mailing list