Gentoo Archives: gentoo-osx

From: Michael Haubenwallner <michael.haubenwallner@×××××××.at>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] some portage-prefix patches
Date: Tue, 01 Aug 2006 15:53:59
Message-Id: 1154447605.12263.136.camel@sapc154
In Reply to: Re: [gentoo-osx] some portage-prefix patches by exg@gentoo.org
1 Thanks for looking through/applying the patches!
2
3 Which repository do you use ?
4 There've been discussions on the list where to host the repository - did
5 I miss something ?
6
7 On Tue, 2006-08-01 at 15:06 +0200, exg@g.o wrote:
8 > > [01-defaultpath.patch] (minor)
9 > > Also add "${prefix}/lib/portage/bin" to DEFAULT_PATH, to simplify
10 > the
11 > > bootstrap process.
12 >
13 > I do not see how it can aid bootstrap.
14
15 Well, I do not use the bootstrap-script from the tree, but keep using my
16 toolsbox, which very-initially was used to bootstrap prefix-portage.
17 Here I install portage (and bash,wget,sandbox,python,...) to a different
18 prefix than the domain-prefix I give to portage's configure, to have a
19 fully portage-managed prefix.
20 It was a bit easier for me to have this in default path too.
21 >
22 > > [02-ebuildenv-ROOT.patch] (minor)
23 > > Moved trailing 'os.sep' from EDEST to ROOT.
24 >
25 > What is it needed for?
26
27 This is to be compatible with upstream-portage: in some ebuilds I found
28 tweaks using "${ROOT}usr/bin", failing if ROOT doesn't have trailing
29 slash (sys-devel/libperl, dev-lang/perl, net-nds/openldap, ...).
30 The removal from EDEST is not really necessary, just for some
31 double-slash prettyness.
32
33 > > [04-interactive-ebuild.patch] (enhancement)
34 > > The most interesting one: Add interactive-feature to portage, usage:
35 > > FEATURES=interactive emerge package
36 > > FEATURES=interactive ebuild package.ebuild [unpack|compile|
37 > install|...]
38 >
39 > This is not prefix specific; you should send it to the
40 > gentoo-portage-dev mailing list.
41
42
43 > > [11-rpath-autofix.patch] (normal)
44 > > Do the "Auto fixing rpath" thing for to-be-merged files, not for
45 > already
46 > > merged ones.
47 >
48 > Ditto.
49 >
50 Sure, but I do not have this patches for upstream-portage yet, as I need
51 and use them for prefix-portage.
52 How much has portage-prefix-2.1.14 to do with official portage-2.1 (from
53 the SVN-POV) ?
54
55 > > [12-readonly-tree.patch] (normal)
56 > > Fix situations where the ebuild cannot be copied twice if tree is
57 > > readonly. Maybe the second ebuild-cp could be removed.
58 >
59 > Ditto.
60
61 For the readonly tree I have to say that I have an improved sandbox,
62 also wrapping the stat()-call, removing write-permission on readonly
63 files. Will paste the sandbox-patches soon, but I'm unsure yet if they
64 are ready for upstream-sandbox.
65 >
66 > > [05-checked-binaries.patch] (normal)
67 > > Use the binaries figured out by configure for
68 > sandbox/bash/mv/prelink.
69 >
70 > No, we want a path lookup for those to have some flexibility,
71 > especially
72 > for bash.
73
74 Can't remember what the real issue was to me, will do some more testing
75 without this patch.
76 >
77 > > [09-wget-bootstrap.patch] (minor)
78 > > Use the wget found by configure, not PREFIX/usr/bin/wget per default
79 > in
80 > > make.globals. This makes bootstrap easier.
81 >
82 > I do not see how, given that we bootstrap wget too.
83
84 Ditto.
85 >
86 > > [10-portageq-root.patch] (normal)
87 > > Do not pass ROOT to 'portageq', or portageq will try to create
88 > > ${ROOT}${EPREFIX}/var/tmp, which incorrectly results to
89 > > ${EDEST}/${EPREFIX}${EPREFIX}/var/tmp
90 > > Figured out this with an improved sandbox.
91 >
92 > I don't think it's the right place to fix it, I'll look into the
93 > problem. How have you figured it out exactly?
94
95 I have a patched sandbox which can prevent creation of ${D}${EPREFIX}
96
97 -haubi-
98 --
99 Michael Haubenwallner SALOMON Automation GmbH
100 Forschung & Entwicklung A-8114 Friesach bei Graz
101 mailto:michael.haubenwallner@×××××××.at http://www.salomon.at
102 No HTML/MIME please, see http://expita.com/nomime.html
103
104 --
105 gentoo-osx@g.o mailing list

Replies

Subject Author
Re: [gentoo-osx] some portage-prefix patches Michael Haubenwallner <michael.haubenwallner@×××××××.at>
Re: [gentoo-osx] some portage-prefix patches Michael Haubenwallner <michael.haubenwallner@×××××××.at>