From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NnwNO-0005do-O9 for garchives@archives.gentoo.org; Sat, 06 Mar 2010 15:57:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E782E0BFF; Sat, 6 Mar 2010 15:57:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AECC6E08C3 for ; Sat, 6 Mar 2010 15:56:44 +0000 (UTC) Received: from [192.168.22.10] (ip68-4-152-120.oc.oc.cox.net [68.4.152.120]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 39EC91B42E7 for ; Sat, 6 Mar 2010 15:56:44 +0000 (UTC) Message-ID: <4B927BDC.50807@gentoo.org> Date: Sat, 06 Mar 2010 07:59:24 -0800 From: Zac Medico User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.7) Gecko/20100215 Thunderbird/3.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] Remove cups from default profile to solve circular deps References: <4B9049A3.5020805@gmail.com> <201003050957.22890.mail@patrick-nagel.net> <4B906E7D.7010003@gentoo.org> <877hprpibg.fsf@newton.gmurray.org.uk> <4B92497E.30302@gentoo.org> In-Reply-To: <4B92497E.30302@gentoo.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 6d7c2ebe-871c-4f81-bf4b-29fbb3ee0a80 X-Archives-Hash: fe5882b124033a2755732c81b6b3256f On 03/06/2010 04:24 AM, Richard Freeman wrote: > On 03/05/2010 08:06 AM, Ben de Groot wrote: >> On 5 March 2010 04:18, Graham Murray wrote: >>> 3. Include one or both of the packages in the stage tarball. >> None of the packages involved (gtk+, cups and poppler) is in any >> shape or form essential, so you will have a very hard time convincing >> people that this is the best solution. > > I tend to agree, but do consider this: > > 1. We wouldn't need to put all the packages in the dep list up to these > packages in the tarball - you could just put one package in the tarball > so that when emerge gets to this point it won't die. > > 2. You don't need to put that package in @system, so the first time the > user cleans out their install it will be removed. For server users it > will start out there but will eventually go away. > > It does increase the size of the tarball, which is of course > undesirable. We might also need to modify the build scripts since I'm > guessing those scripts look at @system to figure out what belongs in the > tarball and these packages don't need to be there. > > I do agree that it isn't really an ideal solution, and probably not the > first thing we should try... Another possible solution would be distribute binary packages to users via PORTAGE_BINHOST. The user can simply set something like PORTAGE_BINHOST="http://tinderbox.dev.gentoo.org/default-linux/x86" in /etc/make.conf. Since DEPEND is ignored for binary packages, and circular RDEPEND doesn't block installation, the circular dependencies won't necessarily be an problem. The emerge --pretend output shows that emerge will go ahead and install those packages despite the circular RDEPEND: These are the packages that would be merged, in order: Calculating dependencies... done! [binary N ] net-print/cups-1.3.11-r2 USE="X acl avahi dbus gnutls java jpeg ldap pam perl php png ppds python samba slp ssl tiff -kerberos -static -xinetd -zeroconf" LINGUAS="en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW" [0] [binary N ] x11-libs/gtk+-2.18.6 USE="cups jpeg test tiff xinerama (-aqua) -debug -doc -jpeg2k -vim-syntax" [0] [binary N ] dev-python/pygtk-2.16.0-r1 USE="doc examples test" [0] [binary N ] gnome-extra/libgsf-1.14.17 USE="bzip2 gtk python -doc -gnome -thumbnail" [0] [binary N ] app-text/poppler-0.12.4 USE="abiword cairo jpeg lcms png qt4 utils xpdf-headers -cjk -debug -doc -exceptions -jpeg2k" [0] -- Thanks, Zac