From: Windows Live Subject: test structure missing files Date: Wed, 26 Oct 2011 04:09:52 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0786038757==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0786038757== Content-Type: multipart/alternative; boundary="_7e526d3f-3d7e-4dc2-add0-cd75729d77ab_" --_7e526d3f-3d7e-4dc2-add0-cd75729d77ab_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Noted the test phase was restricted in gentoo's ebuilds. It seems for goo= d reason. The test structure is broken since it's missing its own files. First ../../tools/libxc/xc_dom.h:17:31: fatal error: xen/libelf/libelf.h: No such file or directory I fixed that=2C the path is fixed with sed -e 's:#include :#include <../../xen/ include/xen/libelf.h>:' -i ./tools/libxc/xc_dom.h The next I couldn't fix. The header is simply missing. xen/lowlevel/xl/xl.c:210:25: fatal error: _pyxl_types.h: No such file or directory It's not there to be found!!! From there ofcourse there's no way of gettin= g thru. Removing reference to the header ofcourse lead to another mini disas= ter. -Ixen/lowlevel/xl -I/usr/include/python2.7 -c xen/lowlevel/xl/xl.c -o build/temp.linux-x86_64-2.7/xen/lowlevel/xl/xl.o -fno-strict-aliasing xen/lowlevel/xl/xl.c:210:1: warning: missing terminating " character xen/lowlevel/xl/xl.c:210:1: error: missing terminating " character xen/lowlevel/xl/xl.c: In function 'pyxl_list_domains': xen/lowlevel/xl/xl.c:394:9: error: 'Py_dominfo' undeclared (first use in th= is function) xen/lowlevel/xl/xl.c:394:9: note: each undeclared identifier is reported on= ly once for each function it appears in xen/lowlevel/xl/xl.c:394:21: error: 'di' undeclared (first use in this function) xen/lowlevel/xl/xl.c: In function 'pyxl_pci_add': xen/lowlevel/xl/xl.c:497:5: error: 'Py_device_pci' undeclared (first use in this function) xen/lowlevel/xl/xl.c:497:20: error: 'pci' undeclared (first use in this function) xen/lowlevel/xl/xl.c:506:27: error: expected expression before ')' token xen/lowlevel/xl/xl.c: In function 'pyxl_pci_del': xen/lowlevel/xl/xl.c:517:5: error: 'Py_device_pci' undeclared (first use in this function) xen/lowlevel/xl/xl.c:517:20: error: 'pci' undeclared (first use in this function) xen/lowlevel/xl/xl.c:527:27: error: expected expression before ')' token xen/lowlevel/xl/xl.c: In function 'pyxl_pci_parse': xen/lowlevel/xl/xl.c:538:5: error: 'Py_device_pci' undeclared (first use in this function) xen/lowlevel/xl/xl.c:538:20: error: 'pci' undeclared (first use in this function) xen/lowlevel/xl/xl.c: In function 'pyxl_pci_list_assignable': xen/lowlevel/xl/xl.c:575:9: error: 'Py_device_pci' undeclared (first use in this function) xen/lowlevel/xl/xl.c:575:24: error: 'pd' undeclared (first use in this function) xen/lowlevel/xl/xl.c: In function 'pyxl_pci_list': xen/lowlevel/xl/xl.c:611:9: error: 'Py_device_pci' undeclared (first use in this function) xen/lowlevel/xl/xl.c:611:24: error: 'pd' undeclared (first use in this function) xen/lowlevel/xl/xl.c: At top level: xen/lowlevel/xl/xl.c:706:5: error: 'PKG' undeclared here (not in a function= ) xen/lowlevel/xl/xl.c:706:9: error: expected '}' before string constant xen/lowlevel/xl/xl.c: In function 'initxl': xen/lowlevel/xl/xl.c:761:43: error: expected ')' before string constant xen/lowlevel/xl/xl.c:761:43: error: too few arguments to function 'PyErr_NewException' /usr/include/python2.7/pyerrors.h:223:24: note: declared here error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 Build failed 0x100 make[1]: *** [test] Error 1 make[1]: Leaving directory `/var/tmp/portage/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/tools/pyth= on' make: *** [test] Error 2 = --_7e526d3f-3d7e-4dc2-add0-cd75729d77ab_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Noted the test phase was restricted in gentoo's ebuilds. It seems for goo= d
reason.

The test structure is broken since it's missing its own= files.
First
../../tools/libxc/xc_dom.h:17:31: fatal error: xen/libe= lf/libelf.h: No such
file or directory
I fixed that=2C the path is fi= xed with

sed -e 's:#include <=3Bxen/libelf.h>=3B:#include <=3B= ../../xen/
include/xen/libelf.h>=3B:' -i ./tools/libxc/xc_dom.h
The next I couldn't fix. The header is simply missing.

xen/lowleve= l/xl/xl.c:210:25: fatal error: _pyxl_types.h: No such file or
directory<= br>
It's not there to be found!!! From there ofcourse there's no way of= getting
thru. Removing reference to the header ofcourse lead to anothe= r mini disaster.

-Ixen/lowlevel/xl -I/usr/include/python2.7 -c xen/l= owlevel/xl/xl.c -o
build/temp.linux-x86_64-2.7/xen/lowlevel/xl/xl.o -fno= -strict-aliasing
xen/lowlevel/xl/xl.c:210:1: warning: missing terminatin= g " character
xen/lowlevel/xl/xl.c:210:1: error: missing terminating " c= haracter
xen/lowlevel/xl/xl.c: In function 'pyxl_list_domains':
xen/l= owlevel/xl/xl.c:394:9: error: 'Py_dominfo' undeclared (first use in thisfunction)
xen/lowlevel/xl/xl.c:394:9: note: each undeclared identifier = is reported only
once for each function it appears in
xen/lowlevel/xl= /xl.c:394:21: error: 'di' undeclared (first use in this
function)
xen= /lowlevel/xl/xl.c: In function 'pyxl_pci_add':
xen/lowlevel/xl/xl.c:497:= 5: error: 'Py_device_pci' undeclared (first use in
this function)
xen= /lowlevel/xl/xl.c:497:20: error: 'pci' undeclared (first use in this
fun= ction)
xen/lowlevel/xl/xl.c:506:27: error: expected expression before ')= ' token
xen/lowlevel/xl/xl.c: In function 'pyxl_pci_del':
xen/lowleve= l/xl/xl.c:517:5: error: 'Py_device_pci' undeclared (first use in
this fu= nction)
xen/lowlevel/xl/xl.c:517:20: error: 'pci' undeclared (first use = in this
function)
xen/lowlevel/xl/xl.c:527:27: error: expected expres= sion before ')' token
xen/lowlevel/xl/xl.c: In function 'pyxl_pci_parse'= :
xen/lowlevel/xl/xl.c:538:5: error: 'Py_device_pci' undeclared (first u= se in
this function)
xen/lowlevel/xl/xl.c:538:20: error: 'pci' undecl= ared (first use in this
function)
xen/lowlevel/xl/xl.c: In function '= pyxl_pci_list_assignable':
xen/lowlevel/xl/xl.c:575:9: error: 'Py_device= _pci' undeclared (first use in
this function)
xen/lowlevel/xl/xl.c:57= 5:24: error: 'pd' undeclared (first use in this
function)
xen/lowleve= l/xl/xl.c: In function 'pyxl_pci_list':
xen/lowlevel/xl/xl.c:611:9: erro= r: 'Py_device_pci' undeclared (first use in
this function)
xen/lowlev= el/xl/xl.c:611:24: error: 'pd' undeclared (first use in this
function)xen/lowlevel/xl/xl.c: At top level:
xen/lowlevel/xl/xl.c:706:5: error:= 'PKG' undeclared here (not in a function)
xen/lowlevel/xl/xl.c:706:9: e= rror: expected '}' before string constant
xen/lowlevel/xl/xl.c: In funct= ion 'initxl':
xen/lowlevel/xl/xl.c:761:43: error: expected ')' before st= ring constant
xen/lowlevel/xl/xl.c:761:43: error: too few arguments to f= unction
'PyErr_NewException'
/usr/include/python2.7/pyerrors.h:223:24= : note: declared here
error: command 'x86_64-pc-linux-gnu-gcc' failed wi= th exit status 1
Build failed 0x100
make[1]: *** [test] Error 1
ma= ke[1]: Leaving directory
`/var/tmp/portage/portage/app-emulation/xen-4.1= .2/work/xen-4.1.2/tools/python'
make: *** [test] Error 2
=
= --_7e526d3f-3d7e-4dc2-add0-cd75729d77ab_-- --===============0786038757== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0786038757==--