public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kerin Millar <kerframil@fastmail.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Installing 2 version-different libs in the same time
Date: Sat, 16 Feb 2013 12:12:30 +0000	[thread overview]
Message-ID: <511F77AE.10000@fastmail.co.uk> (raw)
In-Reply-To: <20130216114715.GA17807@BiggerBoxer>

On 16/02/2013 11:47, Frank Schwidom wrote:
> On Sat, Feb 16, 2013 at 09:13:13AM +0000, Kerin Millar wrote:
>> On 16/02/2013 08:36, Frank Schwidom wrote:
>>> Hi,
>>>
>>> I have an conflict wth 2 Versions of Readline:
>>>
>>>     (sys-libs/readline-5.2_p12-r1::gentoo, installed) pulled in by
>>>       =sys-libs/readline-5* required by (dev-lang/ghc-6.8.2::gentoo, installed)
>>>
>>>     (sys-libs/readline-6.2_p1::gentoo, ebuild scheduled for merge) pulled
>>>       in by =sys-libs/readline-6.2_p1
>>>
>>> Is ts possible to install both libraries in the same time?
>>
>> Yes. Portage can support different versions side-by-side if the ebuild
>> makes use of the SLOT variable. For instance, I have
>> sys-libs/readline-6.2_p1 installed and attempting to install readline-5*
>> yields:
>>
>> Calculating dependencies... done!
>> [ebuild  NS    ] sys-libs/readline-5.2_p14:5 [6.2_p1:0] 2,024 kB
>>
>> Note that this isn't a downgrade in so far as 6.2_p1 won't be removed.
>> It's a new, slotted instance of the package. No problem there.
>
> hangeLog:  Stabilize old ABI SLOT version.
> readline-4.3_p5.ebuild:SLOT="${PV:0:1}"
> readline-5.2_p14.ebuild:SLOT="${PV:0:1}"
> readline-6.1.ebuild:SLOT="0"
> readline-6.1_p2.ebuild:SLOT="0"
> readline-6.2.ebuild:SLOT="0"
> readline-6.2_p1.ebuild:SLOT="0"
> readline-6.2_p1-r1.ebuild:SLOT="0"
> readline-6.2_p4.ebuild:SLOT="0"
>
> it seems to be that in my case readline-5.2_p12-r1 ist installed under SLOT 0.
> can i override the slot-variable ?

I gather that you've synced so if you run emerge -a1 '=readline-5*', 
that should install the latest 5.2_p14 ebuild which is appropriately 
slotted.

Note that the latest stable version of ghc (6.12.3-r2) doesn't depend on 
the old version of readline anyway. The main issue was that your portage 
tree was out of date. Now that has been dealt with, I think you just 
need to upgrade as normal. You can uninstall the old instance of ghc 
before allowing it to re-install, in case it still blocks.

Cheers,

--Kerin


  reply	other threads:[~2013-02-16 12:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-16  8:36 [gentoo-user] Installing 2 version-different libs in the same time Frank Schwidom
2013-02-16  9:13 ` Kerin Millar
2013-02-16 11:47   ` Frank Schwidom
2013-02-16 12:12     ` Kerin Millar [this message]
2013-02-16 15:09       ` Frank Schwidom
2013-02-16 15:48         ` Mike Gilbert
2013-02-17  7:45           ` Frank Schwidom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=511F77AE.10000@fastmail.co.uk \
    --to=kerframil@fastmail.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox