1 |
dlan 14/05/30 10:34:46 |
2 |
|
3 |
Modified: xen-tools-4.2.4-r4.ebuild ChangeLog |
4 |
xen-tools-4.3.2-r3.ebuild xen-tools-4.4.0-r5.ebuild |
5 |
Log: |
6 |
fix hvm buf for no-multilib profile, bug #351648, thanks Zoltán Halassy, Spooky Ghost |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 app-emulation/xen-tools/xen-tools-4.2.4-r4.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.4-r4.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.4-r4.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.4-r4.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: xen-tools-4.2.4-r4.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.4-r4.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- xen-tools-4.2.4-r4.ebuild 23 May 2014 11:00:30 -0000 1.1 |
24 |
+++ xen-tools-4.2.4-r4.ebuild 30 May 2014 10:34:46 -0000 1.2 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2014 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.4-r4.ebuild,v 1.1 2014/05/23 11:00:30 dlan Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.4-r4.ebuild,v 1.2 2014/05/30 10:34:46 dlan Exp $ |
30 |
|
31 |
EAPI=5 |
32 |
|
33 |
@@ -110,13 +110,6 @@ |
34 |
export "CONFIG_IOEMU=n" |
35 |
fi |
36 |
|
37 |
- if ! use x86 && ! has x86 $(get_all_abis) && use hvm; then |
38 |
- eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or" |
39 |
- eerror "an amd64 multilib profile is required. Remove the hvm use flag" |
40 |
- eerror "to build xen-tools on your current profile." |
41 |
- die "USE=hvm is unsupported on this system." |
42 |
- fi |
43 |
- |
44 |
if [[ -z ${XEN_TARGET_ARCH} ]] ; then |
45 |
if use x86 && use amd64; then |
46 |
die "Confusion! Both x86 and amd64 are set in your use flags!" |
47 |
@@ -182,6 +175,11 @@ |
48 |
if ! use hvm; then |
49 |
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die |
50 |
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die |
51 |
+ # Bug 351648 |
52 |
+ elif ! use x86 && ! has x86 $(get_all_abis); then |
53 |
+ mkdir -p "${WORKDIR}"/extra-headers/gnu || die |
54 |
+ touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die |
55 |
+ export CPATH="${WORKDIR}"/extra-headers |
56 |
fi |
57 |
|
58 |
# Don't bother with qemu, only needed for fully virtualised guests |
59 |
@@ -396,7 +394,7 @@ |
60 |
echo |
61 |
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm" |
62 |
elog "support enable the hvm use flag." |
63 |
- elog "An x86 or amd64 multilib system is required to build HVM support." |
64 |
+ elog "An x86 or amd64 system is required to build HVM support." |
65 |
fi |
66 |
|
67 |
if use xend; then |
68 |
|
69 |
|
70 |
|
71 |
1.245 app-emulation/xen-tools/ChangeLog |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/ChangeLog?rev=1.245&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/ChangeLog?rev=1.245&content-type=text/plain |
75 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/ChangeLog?r1=1.244&r2=1.245 |
76 |
|
77 |
Index: ChangeLog |
78 |
=================================================================== |
79 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v |
80 |
retrieving revision 1.244 |
81 |
retrieving revision 1.245 |
82 |
diff -u -r1.244 -r1.245 |
83 |
--- ChangeLog 23 May 2014 11:00:30 -0000 1.244 |
84 |
+++ ChangeLog 30 May 2014 10:34:46 -0000 1.245 |
85 |
@@ -1,6 +1,11 @@ |
86 |
# ChangeLog for app-emulation/xen-tools |
87 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
88 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.244 2014/05/23 11:00:30 dlan Exp $ |
89 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.245 2014/05/30 10:34:46 dlan Exp $ |
90 |
+ |
91 |
+ 30 May 2014; Yixun Lan <dlan@g.o> xen-tools-4.2.4-r4.ebuild, |
92 |
+ xen-tools-4.3.2-r3.ebuild, xen-tools-4.4.0-r5.ebuild: |
93 |
+ fix hvm buf for no-multilib profile, bug #351648, thanks Zoltán Halassy, |
94 |
+ Spooky Ghost |
95 |
|
96 |
*xen-tools-4.4.0-r5 (23 May 2014) |
97 |
*xen-tools-4.3.2-r3 (23 May 2014) |
98 |
|
99 |
|
100 |
|
101 |
1.2 app-emulation/xen-tools/xen-tools-4.3.2-r3.ebuild |
102 |
|
103 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.2-r3.ebuild?rev=1.2&view=markup |
104 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.2-r3.ebuild?rev=1.2&content-type=text/plain |
105 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.2-r3.ebuild?r1=1.1&r2=1.2 |
106 |
|
107 |
Index: xen-tools-4.3.2-r3.ebuild |
108 |
=================================================================== |
109 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.2-r3.ebuild,v |
110 |
retrieving revision 1.1 |
111 |
retrieving revision 1.2 |
112 |
diff -u -r1.1 -r1.2 |
113 |
--- xen-tools-4.3.2-r3.ebuild 23 May 2014 11:00:30 -0000 1.1 |
114 |
+++ xen-tools-4.3.2-r3.ebuild 30 May 2014 10:34:46 -0000 1.2 |
115 |
@@ -1,6 +1,6 @@ |
116 |
# Copyright 1999-2014 Gentoo Foundation |
117 |
# Distributed under the terms of the GNU General Public License v2 |
118 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.2-r3.ebuild,v 1.1 2014/05/23 11:00:30 dlan Exp $ |
119 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.2-r3.ebuild,v 1.2 2014/05/30 10:34:46 dlan Exp $ |
120 |
|
121 |
EAPI=5 |
122 |
|
123 |
@@ -115,13 +115,6 @@ |
124 |
export "CONFIG_IOEMU=n" |
125 |
fi |
126 |
|
127 |
- if ! use x86 && ! has x86 $(get_all_abis) && use hvm; then |
128 |
- eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or" |
129 |
- eerror "an amd64 multilib profile is required. Remove the hvm use flag" |
130 |
- eerror "to build xen-tools on your current profile." |
131 |
- die "USE=hvm is unsupported on this system." |
132 |
- fi |
133 |
- |
134 |
if [[ -z ${XEN_TARGET_ARCH} ]] ; then |
135 |
if use x86 && use amd64; then |
136 |
die "Confusion! Both x86 and amd64 are set in your use flags!" |
137 |
@@ -231,6 +224,11 @@ |
138 |
if ! use hvm; then |
139 |
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die |
140 |
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die |
141 |
+ # Bug 351648 |
142 |
+ elif ! use x86 && ! has x86 $(get_all_abis); then |
143 |
+ mkdir -p "${WORKDIR}"/extra-headers/gnu || die |
144 |
+ touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die |
145 |
+ export CPATH="${WORKDIR}"/extra-headers |
146 |
fi |
147 |
|
148 |
# Don't bother with qemu, only needed for fully virtualised guests |
149 |
@@ -424,7 +422,7 @@ |
150 |
echo |
151 |
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm" |
152 |
elog "support enable the hvm use flag." |
153 |
- elog "An x86 or amd64 multilib system is required to build HVM support." |
154 |
+ elog "An x86 or amd64 system is required to build HVM support." |
155 |
fi |
156 |
|
157 |
if use xend; then |
158 |
|
159 |
|
160 |
|
161 |
1.2 app-emulation/xen-tools/xen-tools-4.4.0-r5.ebuild |
162 |
|
163 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.0-r5.ebuild?rev=1.2&view=markup |
164 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.0-r5.ebuild?rev=1.2&content-type=text/plain |
165 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.0-r5.ebuild?r1=1.1&r2=1.2 |
166 |
|
167 |
Index: xen-tools-4.4.0-r5.ebuild |
168 |
=================================================================== |
169 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.0-r5.ebuild,v |
170 |
retrieving revision 1.1 |
171 |
retrieving revision 1.2 |
172 |
diff -u -r1.1 -r1.2 |
173 |
--- xen-tools-4.4.0-r5.ebuild 23 May 2014 11:00:30 -0000 1.1 |
174 |
+++ xen-tools-4.4.0-r5.ebuild 30 May 2014 10:34:46 -0000 1.2 |
175 |
@@ -1,6 +1,6 @@ |
176 |
# Copyright 1999-2014 Gentoo Foundation |
177 |
# Distributed under the terms of the GNU General Public License v2 |
178 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.0-r5.ebuild,v 1.1 2014/05/23 11:00:30 dlan Exp $ |
179 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.0-r5.ebuild,v 1.2 2014/05/30 10:34:46 dlan Exp $ |
180 |
|
181 |
EAPI=5 |
182 |
|
183 |
@@ -122,13 +122,6 @@ |
184 |
export "CONFIG_GCRYPT=y" |
185 |
fi |
186 |
|
187 |
- if ! use x86 && ! has x86 $(get_all_abis) && use hvm; then |
188 |
- eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or" |
189 |
- eerror "an amd64 multilib profile is required. Remove the hvm use flag" |
190 |
- eerror "to build xen-tools on your current profile." |
191 |
- die "USE=hvm is unsupported on this system." |
192 |
- fi |
193 |
- |
194 |
if [[ -z ${XEN_TARGET_ARCH} ]] ; then |
195 |
if use x86 && use amd64; then |
196 |
die "Confusion! Both x86 and amd64 are set in your use flags!" |
197 |
@@ -234,9 +227,13 @@ |
198 |
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die |
199 |
fi |
200 |
|
201 |
- # Disable hvm support on systems that don't support x86_32 binaries. |
202 |
if ! use hvm; then |
203 |
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die |
204 |
+ # Bug 351648 |
205 |
+ elif ! use x86 && ! has x86 $(get_all_abis); then |
206 |
+ mkdir -p "${WORKDIR}"/extra-headers/gnu || die |
207 |
+ touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die |
208 |
+ export CPATH="${WORKDIR}"/extra-headers |
209 |
fi |
210 |
|
211 |
# Don't bother with qemu, only needed for fully virtualised guests |
212 |
@@ -421,7 +418,7 @@ |
213 |
echo |
214 |
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm" |
215 |
elog "support enable the hvm use flag." |
216 |
- elog "An x86 or amd64 multilib system is required to build HVM support." |
217 |
+ elog "An x86 or amd64 system is required to build HVM support." |
218 |
fi |
219 |
|
220 |
if use qemu; then |