From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 119191382C5 for ; Fri, 15 May 2020 21:43:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39000E0A46; Fri, 15 May 2020 21:43:04 +0000 (UTC) Received: from sonic307-54.consmr.mail.ir2.yahoo.com (sonic307-54.consmr.mail.ir2.yahoo.com [87.248.110.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B9A23E09D4 for ; Fri, 15 May 2020 21:43:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1589578982; bh=sqwBZlPpuVWOOi2k4Pn4nwt7JtHxOAB+6OKQ/vwWleU=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=g3PMjntWhB3TUhPV8+L9i/wKOMakmMDB7fy9MD1p/k+s9Nga6iS2Z9r8+l9MEZAtCCIUv33cH/LXMlMeqTo+6EaM5PsiqkbyjKVMYhwXvORboUQCujJjYmIRQChm0cKLDxsDb88iHT3YyqPPpmWohMl4BLt7kPa0wuKwKBFzF765VScuaJhSp7ct3SZWiZQ0RMEs4PHQp83C9wds8YtLIFVnijr5s3NF9qf1RzBv3KOkaWpQIJTd0VQjUOF3zQpPwLwpuIA4H+NBjndznxAukdrsGjyNotRnV0wbuHHrWXlAlTQaFEvbmGK2UELtTl31W6EApZ1aqiHFaTr0p5NS0A== X-YMail-OSG: 9XEFJlUVM1lz8ZTRp.sUdR8WY6avNH950X28WkTzSc8HKHax_aQJkCzdy2B7gFL 3W9vfFoA2wVkq9fgasAN8TAwJyFn0nhAnw4SZk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zy5BwJgbl4vKiL5Tkp4EushAJlX46Zf0W9. Fqk_VxZJSNsDa6jfiFzBtAnREbAEJHSt6DtqQoWObulq6uAOXxDqbsRpfLvIdLx79wexWJ6C_uQs 78Zk63RrxQHawsowStt1rpBYKJeADT4mTwKUh_FyIDwFNkwlqt1qSPpMJz7oM6mOGK_Hro647S5m 4usuP.7ukj9JyWYOET1PliCyl.NVOpVwmHWtEw0mEBD2LQ1k4cObcalEtPYW6K6mIn3.vtMg6N1G q8XoB0bLJJw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Fri, 15 May 2020 21:43:02 +0000 Received: by smtp416.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 1be54d703b0f384aeec21ecde6974652; Fri, 15 May 2020 21:43:00 +0000 (UTC) Date: Fri, 15 May 2020 23:44:45 +0200 From: =?utf-8?Q?Fran=C3=A7ois-Xavier?= Carton To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Building packages in different prefix without rebuilding system packages Message-ID: <20200515214445.GA995@pc-fx> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20200514050205.GA15477.ref@pc-fx> <20200514050205.GA15477@pc-fx> <2233d614-f301-69fa-ef69-48febf7439d6@gentoo.org> 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2233d614-f301-69fa-ef69-48febf7439d6@gentoo.org> X-Mailer: WebService/1.1.15942 hermes_yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.6) X-Archives-Salt: 11257769-bfe5-45da-8d12-aed6fc4539c7 X-Archives-Hash: a70723c57189235f581417ebac4b4dec On Fri, May 15, 2020 at 12:53:16PM +0200, Michael Haubenwallner wrote: > Hi François-Xavier, > > What you're after is known as "Prefix/Stack", where you have some "base" > Prefix, which's portage does manage packages in another - stacked - Prefix. > > While this does work already with "Prefix/Guest" as base Prefix, there is no > technical reason to not work with "Prefix/Standalone" or even "Gentoo Linux" > as the base Prefix. The only problem maybe is that "Prefix/Guest" does use > a portage version with additional patches. > > But still, you can get an idea about how this works, using "Prefix/Guest": > > $ docker run -t -i gentooprefix/prefix-guest-64bit-fedora -c /bin/bash > > At the docker prompt: > > Enter the Guest Prefix preinstalled to /tmp/gentoo: > $ /tmp/gentoo/startprefix > > Set up your stacked Prefix: > $ prefix-stack-setup --eprefix=$HOME/stack --profile=/tmp/gentoo/etc/portage/make.profile > Note that "~/stack" will not work here, bash refuses to resolve '~' after '='. > > Leave the Guest Prefix: > $ exit > > Enter your just created stacked Prefix: > $ ~/stack/startprefix > > Emerge your package, for example: > $ emerge sys-libs/zlib > > Have fun! > > HTH, > /haubi/ > Thanks, this looks great! I'll play with it and see how it works :)