WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] test structure missing files

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] test structure missing files
From: Windows Live <johneed@xxxxxxxxxxx>
Date: Wed, 26 Oct 2011 04:09:52 +0800
Delivery-date: Tue, 25 Oct 2011 13:15:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>