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 3B42E138F5B for ; Sat, 22 Feb 2014 23:33:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 780DDE0B83; Sat, 22 Feb 2014 23:33:03 +0000 (UTC) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21740E0B61 for ; Sat, 22 Feb 2014 23:33:01 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id k14so1772932wgh.5 for ; Sat, 22 Feb 2014 15:33:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=3xvGHJbJA/ROS/DGQih+n/blEnm6sz/uT7XODMdmKB0=; b=y1uakCri5CeYRjKKWsd5mfQlIkreV4M7NB1NOd+grR5CgZb6m/sj+H3g4Sin4eQwc9 R+fG2Ih32DamwWTgZJF827F2wMjew9PRxNsc2emaKbSEB+tsaYIj1EHH8ccAjkvOyxfv AJ1TwUzs0jnKhDHreBhTya15zsntJxpBcicZk0AexlQYH1wOlz8nHuotRs9j8EcCQsnA HL5I4kbCUHEgA5OFzZuWGVCQK88e+8KRpTx/OmvJxvz9sLvTVJb0js0VZ5cgQkViFyys pZQZystWQOYIZ3pqBkGAdvM2emCDHr7/AwK8kQKX+F2aqEwdDqr0CPQINCUsWZfSyNf6 +5zw== X-Received: by 10.180.165.174 with SMTP id yz14mr8287308wib.34.1393111980859; Sat, 22 Feb 2014 15:33:00 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPSA id h13sm28409719wjr.22.2014.02.22.15.32.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 22 Feb 2014 15:32:59 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] "Multiple package instances ....". Help me understand this emerge error, please. Date: Sat, 22 Feb 2014 23:32:42 +0000 User-Agent: KMail/1.13.7 (Linux/3.10.17-gentoo; KDE/4.11.5; x86_64; ; ) References: <20140222211505.GB2639@acm.acm> <53091F57.1020106@gmail.com> In-Reply-To: <53091F57.1020106@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1581121.GKm4zkIOdL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201402222332.44431.michaelkintzios@gmail.com> X-Archives-Salt: 125111de-725a-44f7-90c0-223113dcbd49 X-Archives-Hash: 3edb46c73a0b2aca874a66591c5dc001 --nextPart1581121.GKm4zkIOdL Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 22 Feb 2014 22:06:15 Alan McKinnon wrote: > On 22/02/2014 23:15, Alan Mackenzie wrote: > > Hi, Gentoo. > >=20 > > I've just tried an emerge -puND world, after a shockingly long interval. > >=20 > > I got the error message: > > !!! Multiple package instances within a single package slot have been > > pulled > >=20 > > !!! into the dependency graph, resulting in a slot conflict: > > , etc. > >=20 > > To simplify the problem, I tried to emerge an individual package > > identified in that message, and tried emerge -p libpng. I got the same > > message, with this: > >=20 > > #######################################################################= ## > > ###### !!! Multiple package instances within a single package slot have > > been pulled !!! into the dependency graph, resulting in a slot conflict: > >=20 > > media-libs/libpng:0 > >=20 > > (media-libs/libpng-1.5.17-r1::gentoo, installed) pulled in by > > =20 > > media-libs/libpng:0/0=3D required by > > (x11-libs/cairo-1.12.14-r4::gentoo, installed) > > =20 > > >=3Dmedia-libs/libpng-1.4:0/0=3D required by > > >(app-editors/emacs-24.3-r2::gentoo, installed) > > =20 > > media-libs/libpng:0/0=3D required by (media-libs/libwebp-0.3.1::gen= too, > > installed) media-libs/libpng:0/0=3D required by > > (net-print/cups-filters-1.0.36-r1::gentoo, installed) > > media-libs/libpng:0/0=3D required by > > (kde-base/kdelibs-4.11.2-r1::gentoo, installed) > > media-libs/libpng:0/0=3D required by (dev-qt/qtgui-4.8.5-r1::gentoo, > > installed) media-libs/libpng:0/0=3D required by > > (app-text/poppler-0.24.3::gentoo, installed) (and 3 more with the > > same problems) > > =20 > > (media-libs/libpng-1.6.8::gentoo, ebuild scheduled for merge) pulled = in > > by > > =20 > > (no parents that aren't satisfied by other packages in this slot) > >=20 > > #######################################################################= ## > > ###### Clearly, I'm trying to update libpng-1.5.17 to libpng-1.6.8. Wh= at > > does > >=20 > > this portion of the message mean: > > media-libs/libpng:0/0=3D > > =20 > > ^^^^^ > >=20 > > ? Is it somehow telling me that cairo and friends require the currently > > installed version, whatever that is? Where is this format documented? = I > > couldn't find anything about it in the Gentoo handbook, and not in the > > emerge man page either. > >=20 > > What do I have to do to get this thing emerged? > >=20 > > Thanks! >=20 > You've hit the dreaded sub-slot (a new portage feature). It causes no > end of trouble as so few people know how it really works, but it's > intended to replace @preserved-rebuild by DoingItRite and finally make > revdep-rebuild obsolete. >=20 > It's documented in man 5 ebuild under these headings: >=20 > Atom Slots > Sub Slots > Atom Slot Operators > SLOT >=20 > libpng:0/0 is libpng SLOT 0 which has been around since EAPI1 and > SUBSLOT 0 which is new. >=20 > Take cairo which is one of your deps. In the ebuild: >=20 > RDEPEND=3D" > media-libs/libpng:0=3D > " >=20 > eix libpng shows: >=20 > (0) 1.5.15 1.5.17-r1 (~)1.6.6(0/16) (~)1.6.7(0/16) 1.6.8(0/16) > (~)1.6.9(0/16) >=20 > That shows libpng-1.5.* have slot/subslot 0/0 and > libpng-1.6.* have slot/subslot 0/16 > where presumably "16" is shorthand for "1.6" in the version >=20 >=20 >=20 > Now read those headings in the man page, you will find this gem: >=20 > "=3D Indicates that any slot value is acceptable. In addition, for > runtime dependencies, indicates that the package will break unless a > matching package with slot and sub-slot equal to the slot and > sub-slot of the best installed version at the time the package was > installed is available. >=20 > Examples: > dev-libs/icu:=3D > dev-lang/perl:=3D > dev-libs/glib:=3D > " >=20 > in other words, even though libpng-1.5.17-r1 and libpng-1.6.8 are in the > same SLOT, nevertheless cairo will break if you upgrade libpng that way. >=20 > Or expressed another way in language from before sub-slots, cairo will > stop working properly after the emerge world until you run > revdep-rebuild and fix and the borkage >=20 >=20 > The world update wants to upgrade libpng as a new stable version is > available but portage won't do it as it will break packages that use > libpng. >=20 >=20 > All my hosts here are up to date so I can't reproduce your problem: >=20 > - is portage up to date runnign latest version in your tree? Update that > first (always a good idea anyway) > - are you sure that's an emerge failure and not just a convoluted info > message? Perhaps post the entire emerge output. I can't recall how I got out of this, but by instinct I would probably unme= rge=20 libpng, emerge world and then @preserved-rebuild and revdep-rebuild. =2D-=20 Regards, Mick --nextPart1581121.GKm4zkIOdL Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJTCTOcAAoJELAdA+zwE4Yeg3cIAM7bF8CgA2EvhuHd6/PaVR/V zKgt0UsMZlaxORMFKXok1Nmy1wYjAFUY2L+pR8pDqbtrhocmxGjgmo99+TKR++Lb 2HB/wVAu+0KrDT8F0P2CMq4kB0j+zzdx8NtYz6SsxZNE2lN6ArUh5lekjd4WGB27 I1xvTE5tkJS97X64p7WS+0oCnYZTws9N54piK9IK5wggDXpjXdl2sAYUULgrzNd4 g/6dFepqt5hz0T4DGorEs+nP0LnVaERwKHMpM7H41JnjZBRxIXQrPnFOBJItd4lY KhCPObROWNBYAgTU2AGMN0fg7Kom9g35x+2cylscZ+KcMwFGZhIgty+wznPrjMk= =/7jh -----END PGP SIGNATURE----- --nextPart1581121.GKm4zkIOdL--