From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G7wZC-000556-K6 for garchives@archives.gentoo.org; Tue, 01 Aug 2006 15:53:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k71FraJ9016495; Tue, 1 Aug 2006 15:53:36 GMT Received: from smtp.salomon.at (smtp2.salomon.at [193.186.16.13]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k71FrZZE030481 for ; Tue, 1 Aug 2006 15:53:35 GMT Received: from servex01.wamas.com (servex01.salomon.at [172.28.2.2]) by smtp.salomon.at (8.12.10/8.12.10) with ESMTP id k71FrQNR025974 for ; Tue, 1 Aug 2006 17:53:27 +0200 (METDST) Received: from sapc154 ([172.28.8.78]) by servex01.wamas.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 1 Aug 2006 17:53:26 +0200 Subject: Re: [gentoo-osx] some portage-prefix patches From: Michael Haubenwallner To: gentoo-osx@lists.gentoo.org In-Reply-To: <20060801130659.GA779@orion.local> References: <1153832687.11311.84.camel@sapc154> <20060801130659.GA779@orion.local> Content-Type: text/plain Date: Tue, 01 Aug 2006 17:53:25 +0200 Message-Id: <1154447605.12263.136.camel@sapc154> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-osx@gentoo.org Reply-to: gentoo-osx@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Aug 2006 15:53:26.0229 (UTC) FILETIME=[A00E1050:01C6B582] X-Spam-Info: -5.867 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.54 on 172.28.2.13 X-Archives-Salt: 2aad7e3d-389c-49dc-972a-6809d0344c1b X-Archives-Hash: 5f53f4d39c73fd13fad83319126ae1fb Thanks for looking through/applying the patches! Which repository do you use ? There've been discussions on the list where to host the repository - did I miss something ? On Tue, 2006-08-01 at 15:06 +0200, exg@gentoo.org wrote: > > [01-defaultpath.patch] (minor) > > Also add "${prefix}/lib/portage/bin" to DEFAULT_PATH, to simplify > the > > bootstrap process. > > I do not see how it can aid bootstrap. Well, I do not use the bootstrap-script from the tree, but keep using my toolsbox, which very-initially was used to bootstrap prefix-portage. Here I install portage (and bash,wget,sandbox,python,...) to a different prefix than the domain-prefix I give to portage's configure, to have a fully portage-managed prefix. It was a bit easier for me to have this in default path too. > > > [02-ebuildenv-ROOT.patch] (minor) > > Moved trailing 'os.sep' from EDEST to ROOT. > > What is it needed for? This is to be compatible with upstream-portage: in some ebuilds I found tweaks using "${ROOT}usr/bin", failing if ROOT doesn't have trailing slash (sys-devel/libperl, dev-lang/perl, net-nds/openldap, ...). The removal from EDEST is not really necessary, just for some double-slash prettyness. > > [04-interactive-ebuild.patch] (enhancement) > > The most interesting one: Add interactive-feature to portage, usage: > > FEATURES=interactive emerge package > > FEATURES=interactive ebuild package.ebuild [unpack|compile| > install|...] > > This is not prefix specific; you should send it to the > gentoo-portage-dev mailing list. > > [11-rpath-autofix.patch] (normal) > > Do the "Auto fixing rpath" thing for to-be-merged files, not for > already > > merged ones. > > Ditto. > Sure, but I do not have this patches for upstream-portage yet, as I need and use them for prefix-portage. How much has portage-prefix-2.1.14 to do with official portage-2.1 (from the SVN-POV) ? > > [12-readonly-tree.patch] (normal) > > Fix situations where the ebuild cannot be copied twice if tree is > > readonly. Maybe the second ebuild-cp could be removed. > > Ditto. For the readonly tree I have to say that I have an improved sandbox, also wrapping the stat()-call, removing write-permission on readonly files. Will paste the sandbox-patches soon, but I'm unsure yet if they are ready for upstream-sandbox. > > > [05-checked-binaries.patch] (normal) > > Use the binaries figured out by configure for > sandbox/bash/mv/prelink. > > No, we want a path lookup for those to have some flexibility, > especially > for bash. Can't remember what the real issue was to me, will do some more testing without this patch. > > > [09-wget-bootstrap.patch] (minor) > > Use the wget found by configure, not PREFIX/usr/bin/wget per default > in > > make.globals. This makes bootstrap easier. > > I do not see how, given that we bootstrap wget too. Ditto. > > > [10-portageq-root.patch] (normal) > > Do not pass ROOT to 'portageq', or portageq will try to create > > ${ROOT}${EPREFIX}/var/tmp, which incorrectly results to > > ${EDEST}/${EPREFIX}${EPREFIX}/var/tmp > > Figured out this with an improved sandbox. > > I don't think it's the right place to fix it, I'll look into the > problem. How have you figured it out exactly? I have a patched sandbox which can prevent creation of ${D}${EPREFIX} -haubi- -- Michael Haubenwallner SALOMON Automation GmbH Forschung & Entwicklung A-8114 Friesach bei Graz mailto:michael.haubenwallner@salomon.at http://www.salomon.at No HTML/MIME please, see http://expita.com/nomime.html -- gentoo-osx@gentoo.org mailing list