1 |
> |
2 |
> > |
3 |
> > Hi! |
4 |
> |
5 |
> Right after clicking "send" I found a bug in the patch which I |
6 |
> introduced while cleaning it up for submission :) attached is now a |
7 |
> working version, which has just a small change: the setting of |
8 |
> config_root is now done differently, since the config class can be |
9 |
> instantiated multiple times for different prefix installations... |
10 |
> |
11 |
> Cheers, Markus |
12 |
|
13 |
BTW: here is a proof, that it works: |
14 |
|
15 |
(2) mduft transactions $ echo $EPREFIX |
16 |
/opt/gentoo.windows |
17 |
(2) mduft transactions $ emerge -pve db openssl openldap |
18 |
|
19 |
These are the packages that would be merged, in order: |
20 |
|
21 |
Calculating dependencies... done! |
22 |
[ebuild R ] sys-devel/gnuconfig-20080123 for x86-interix 0 kB |
23 |
[ebuild R ] sys-libs/ncurses-5.6-r2 for x86-interix USE="-debug -doc |
24 |
(-gpm) -minimal -nocxx -profile -trace (-unicode)" 0 kB |
25 |
[ebuild R ] app-arch/lzma-utils-4.32.7 for x86-interix USE="-nocxx" 0 |
26 |
kB |
27 |
[ebuild R ] sys-libs/onc-rpc-nt-1.14.1 to /opt/gentoo.windows for |
28 |
x86-winnt 0 kB |
29 |
[ebuild R ] sys-libs/zlib-1.2.3-r01.1 for x86-interix 0 kB |
30 |
[ebuild R ] sys-apps/diffutils-2.8.7-r2 for x86-interix USE="-nls |
31 |
-static" 0 kB |
32 |
[ebuild R ] sys-apps/findutils-4.4.0 for x86-interix USE="-nls |
33 |
(-selinux) -static" 0 kB |
34 |
[ebuild R ] sys-devel/automake-wrapper-3-r1 for x86-interix 0 kB |
35 |
[ebuild R ] sys-devel/autoconf-wrapper-5 for x86-interix 0 kB |
36 |
[ebuild R ] sys-libs/zlib-1.2.3-r01.1 to /opt/gentoo.windows for |
37 |
x86-winnt 0 kB |
38 |
[ebuild R ] sys-devel/m4-1.4.11 for x86-interix USE="-examples -nls" 0 |
39 |
kB |
40 |
[ebuild R ] sys-devel/bison-2.3 for x86-interix USE="-nls -static" 0 kB |
41 |
[ebuild R ] sys-devel/libperl-5.8.8-r2 for x86-interix USE="-berkdb |
42 |
-debug -gdbm -ithreads" 0 kB |
43 |
[ebuild R ] dev-lang/perl-5.8.8-r5 for x86-interix USE="-berkdb -build |
44 |
-debug -doc -gdbm -ithreads -perlsuid" 0 kB |
45 |
[ebuild R ] sys-apps/help2man-1.36.4 for x86-interix USE="-nls" 0 kB |
46 |
[ebuild R ] perl-core/Test-Harness-3.13 for x86-interix 0 kB |
47 |
[ebuild R ] perl-core/PodParser-1.35 for x86-interix 0 kB |
48 |
[ebuild R ] sys-apps/texinfo-4.12 for x86-interix USE="-nls -static" 0 |
49 |
kB |
50 |
[ebuild R ] sys-devel/autoconf-2.61-r2 for x86-interix USE="(-emacs)" 0 |
51 |
kB |
52 |
[ebuild R ] sys-devel/automake-1.10.1-r1 for x86-interix 0 kB |
53 |
[ebuild R ] sys-devel/libtool-1.5.26 for x86-interix USE="-vanilla" 0 |
54 |
kB |
55 |
[ebuild R ] sys-apps/coreutils-6.12-r1 for x86-interix USE="-acl -nls |
56 |
(-selinux) -static -vanilla -xattr" 0 kB |
57 |
[ebuild R ] app-shells/bash-3.2_p39 for x86-interix USE="-afs |
58 |
-bashlogger -examples% -nls -plugins -vanilla" 0 kB |
59 |
[ebuild R ] sys-apps/debianutils-2.30 for x86-interix USE="-static" 0 |
60 |
kB |
61 |
[ebuild R ] app-admin/perl-cleaner-1.05 for x86-interix 0 kB |
62 |
[ebuild R ] dev-libs/openssl-0.9.8h-r1 to /opt/gentoo.windows for |
63 |
x86-winnt USE="zlib -bindist -gmp -kerberos (-sse2) -test" 0 kB |
64 |
[ebuild R ] app-misc/ca-certificates-20080809-r00.1 to |
65 |
/opt/gentoo.windows for x86-winnt 0 kB |
66 |
[ebuild R ] dev-libs/openssl-0.9.8h-r1 for x86-interix USE="zlib |
67 |
-bindist -gmp -kerberos (-sse2) -test" 0 kB |
68 |
[ebuild U ] app-misc/ca-certificates-20080809-r00.1 [20080809] for |
69 |
x86-interix 0 kB |
70 |
[ebuild R ] sys-devel/binutils-config-1.9-r04.12 for x86-interix 0 kB |
71 |
[ebuild R ] sys-devel/binutils-2.18-r3 for x86-interix USE="-multislot |
72 |
-multitarget -nls -test -vanilla" 17 kB |
73 |
[ebuild R ] sys-devel/gcc-config-1.4.0-r04.5 for x86-interix 0 kB |
74 |
[ebuild R ] sys-libs/db-4.5.20_p2-r1 to /opt/gentoo.windows for |
75 |
x86-winnt USE="-bootstrap -doc -java -nocxx -tcl -test" 0 kB |
76 |
[ebuild R ] sys-libs/db-4.6.21_p3-r1 to /opt/gentoo.windows for |
77 |
x86-winnt USE="-bootstrap -doc -java -nocxx -tcl -test" 0 kB |
78 |
[ebuild R ] net-nds/openldap-2.3.43 to /opt/gentoo.windows for x86-winnt |
79 |
USE="berkdb ssl -crypt -debug -gdbm (-ipv6) -kerberos -minimal -odbc |
80 |
-overlays -perl -samba -sasl (-selinux) -slp -smbkrb5passwd -tcpd |
81 |
(-ncurses%)" 0 kB |
82 |
|
83 |
Total: 35 packages (1 upgrade, 34 reinstalls), Size of downloads: 17 kB |
84 |
(2) mduft transactions $ find /opt/gentoo.windows/usr/lib/ -name 'libdb*' |
85 |
/opt/gentoo.windows/usr/lib/libdb-4.5.a |
86 |
/opt/gentoo.windows/usr/lib/libdb-4.5.la |
87 |
/opt/gentoo.windows/usr/lib/libdb-4.5.so |
88 |
/opt/gentoo.windows/usr/lib/libdb-4.5.so.dll |
89 |
/opt/gentoo.windows/usr/lib/libdb-4.6.a |
90 |
/opt/gentoo.windows/usr/lib/libdb-4.6.la |
91 |
/opt/gentoo.windows/usr/lib/libdb-4.6.so |
92 |
/opt/gentoo.windows/usr/lib/libdb-4.6.so.dll |
93 |
/opt/gentoo.windows/usr/lib/libdb.a |
94 |
/opt/gentoo.windows/usr/lib/libdb.so |
95 |
/opt/gentoo.windows/usr/lib/libdb_cxx-4.5.a |
96 |
/opt/gentoo.windows/usr/lib/libdb_cxx-4.5.la |
97 |
/opt/gentoo.windows/usr/lib/libdb_cxx-4.5.so |
98 |
/opt/gentoo.windows/usr/lib/libdb_cxx-4.5.so.dll |
99 |
/opt/gentoo.windows/usr/lib/libdb_cxx-4.6.a |
100 |
/opt/gentoo.windows/usr/lib/libdb_cxx-4.6.la |
101 |
/opt/gentoo.windows/usr/lib/libdb_cxx-4.6.so |
102 |
/opt/gentoo.windows/usr/lib/libdb_cxx-4.6.so.dll |
103 |
/opt/gentoo.windows/usr/lib/libdb_cxx.a |
104 |
/opt/gentoo.windows/usr/lib/libdb_cxx.so |
105 |
|
106 |
Hehe :) Cheers, Markus |
107 |
|
108 |
> |
109 |
> > |
110 |
> > Some time ago I talked on this list about my plans on using portage |
111 |
> to |
112 |
> > emerge packages for native Windows under Interix. To be able to do |
113 |
> > this, haubi and I had to "help" portage a little :) we now have a |
114 |
> patch |
115 |
> > ready with which this is possible. Not only windows draws advantages |
116 |
> > out of the patch, but now it is possible to create a "child" prefix. |
117 |
> > You can create a base EPREFIX, which contains a system that doesn't |
118 |
> > change too often, and then merge packages to different prefixes |
119 |
> > building upon that parent prefix. |
120 |
> > |
121 |
> > For now, only DEPEND's are resolved from the parent EPREFIX -- |
122 |
> RDEPEND |
123 |
> > and PDEPEND *must* be installed in the child EPREFIX. If a DEPEND |
124 |
> > cannot be merged into the parent prefix, portage tries to merge is to |
125 |
> > the child. |
126 |
> > |
127 |
> > Maybe some of you can have a brief look at the patch, and if there |
128 |
> are |
129 |
> > no objections, I'd like to add the patch to the portage ebuild |
130 |
> > conditionally with a USE flag for more testing. If it does not |
131 |
> destroy |
132 |
> > anything (I greatly doubt that it does...), it would be great to see |
133 |
> it |
134 |
> > going into svn... |
135 |
> > |
136 |
> > P.S.: haubi wrote up some comments on the patch and other things... I |
137 |
> > attached them as-is, so ask haubi :) |
138 |
> > P.S.S.: the patch is against anonsvn-checked-out trunk of prefix |
139 |
> > branch... |
140 |
> > |
141 |
> > Cheers, Markus |