public inbox for gentoo-osx@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Haubenwallner <michael.haubenwallner@salomon.at>
To: gentoo-osx@lists.gentoo.org
Subject: Re: [gentoo-osx] some portage-prefix patches
Date: Tue, 01 Aug 2006 17:53:25 +0200	[thread overview]
Message-ID: <1154447605.12263.136.camel@sapc154> (raw)
In-Reply-To: <20060801130659.GA779@orion.local>

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



  parent reply	other threads:[~2006-08-01 15:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25 13:04 [gentoo-osx] some portage-prefix patches Michael Haubenwallner
2006-07-25 13:11 ` Grobian
2006-07-25 22:43   ` m h
2006-08-01 13:06 ` exg
2006-08-01 14:12   ` Grobian
2006-08-01 15:53   ` Michael Haubenwallner [this message]
2006-08-03 12:04     ` Michael Haubenwallner
2006-08-03 12:53     ` Michael Haubenwallner

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=1154447605.12263.136.camel@sapc154 \
    --to=michael.haubenwallner@salomon.at \
    --cc=gentoo-osx@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