From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C9C751381F3 for ; Wed, 24 Jul 2013 14:16:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6538EE0A65; Wed, 24 Jul 2013 14:15:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86276E0984 for ; Wed, 24 Jul 2013 14:15:56 +0000 (UTC) Received: from mail-oa0-x22c.google.com (mail-oa0-x22c.google.com [IPv6:2607:f8b0:4003:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 4F24633E746 for ; Wed, 24 Jul 2013 14:15:55 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id l10so1081444oag.17 for ; Wed, 24 Jul 2013 07:15:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=lblFTCNo5+tvovVx2Ce84yizu43l5M+UFNjXM5YgaGo=; b=Szrk9syhySvKRD8ExZxGyKn+S1IJAZSEWSkctHflorD1e//K+/MgXkr2I8fUDwSOs7 xZECEsSDj+cXx6SHltEw2S2b2NCXzoMHl+YSfknNucvYG39RfPQ7JaTxxKvtIp31pzGA KlzkcgKskCf5iBNsDMb2/oQpGyCzxm+ezlv0zMhScgdZz2SO6HiL9KTiHMMlSDqz7rJ0 fkpP7WvlQUc9pNVtlotNXCgPgQxXMWBC8d6ZlWAV16MNmQjIJWq+CnWc4bihqHRjNPyY M/LVEclnIATRlkf93Nm6EnvujpIIjJhPBFJOzXfNsXz2VC0MNX7H3MRtN7vrdhT7tsCx +eDQ== 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 X-Received: by 10.43.178.199 with SMTP id ox7mr3507520icc.94.1374675352016; Wed, 24 Jul 2013 07:15:52 -0700 (PDT) Received: by 10.64.165.36 with HTTP; Wed, 24 Jul 2013 07:15:51 -0700 (PDT) In-Reply-To: <20130724124923.GB3010@ion.office.nerd.gr> References: <20130724124923.GB3010@ion.office.nerd.gr> Date: Wed, 24 Jul 2013 10:15:51 -0400 Message-ID: Subject: Re: [gentoo-dev] revbumping ebuilds after USE dependency changes From: Mike Gilbert To: Gentoo Dev Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: c80198c2-3936-46c6-be04-e220f8f35c9c X-Archives-Hash: 4bd6096050aa75f087882a6702b57724 On Wed, Jul 24, 2013 at 8:49 AM, Alex Alexander wrote: > Hello, > > Please revbump an ebuild after changing its USE dependencies. > > Using net-p2p/transmission as an example, it used to depend on > dev-qt/qtgui:4=[dbus] > however, qtgui lost the dbus useflag, so the dependency was changed to > dev-qt/qtgui:4=[dbus(+)] > without revbumping the transmission ebuild. [0] > > Portage fails to notice this when resolving dependencies if the package was > installed prior to the change, resulting in errors like the following: > (dev-qt/qtgui-4.8.5::gentoo, ebuild scheduled for merge) conflicts > with dev-qt/qtgui:4/4=[dbus] required by > (net-p2p/transmission-2.80::gentoo, installed) > > which, I imagine, could be very frustrating for a user who doesn't mess > with the internals of Gentoo often. > > You might think that such a revbump is overkill, but in reality the user will > have to re-emerge the package anyway in order to get rid of the error, so there > is no point in avoiding it, unless portage changes the way it handles these > changes. > > [0] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-p2p/transmission/transmission-2.80.ebuild?r1=1.1&r2=1.2 > Actually, Portage normally handles this situation gracefully by using the dependencies from the portage tree instead of vdb. However, in the case of a slot-operator dep, it always uses vdb. See bug 477544. https://bugs.gentoo.org/show_bug.cgi?id=477544