Mailing List Archive

[Bug 1791] New: xen-4.1.2 test structure missing files
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1791

Summary: xen-4.1.2 test structure missing files
Product: Xen
Version: unstable
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Hypervisor
AssignedTo: xen-bugs@lists.xensource.com
ReportedBy: johneed@hotmail.com


Noted the test phase was restricted in gentoo's ebuilds. It seems for good
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, the path is fixed with

sed -e 's:#include <xen/libelf.h>:#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 getting
thru. Removing reference to the header ofcourse lead to another mini disaster.

-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 this
function)
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
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/python'
make: *** [test] Error 2


--
Configure bugmail: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@lists.xensource.com
http://lists.xensource.com/xen-bugs