Hi shanmu,
make[3]: Entering directory `/home/jamm/build/xen-4.2.1-5/src/xen-4.2.1/tools/python'
rm -f "xen/util/path.py".tmp; echo "SBINDIR=\"/usr/sbin\"" >>"xen/util/path.py".tmp; echo "BINDIR=\"/usr/bin\"" >>"xen/util/path.py".tmp; echo "LIBEXEC=\"/usr/lib/xen/bin\"" >>"xen/util/path.py".tmp; echo "LIBDIR=\"/usr/lib\"" >>"xen/util/path.py".tmp; echo "SHAREDIR=\"/usr/share\"" >>"xen/util/path.py".tmp; echo "PRIVATE_BINDIR=\"/usr/lib/xen/bin\"" >>"xen/util/path.py".tmp; echo "XENFIRMWAREDIR=\"/usr/lib/xen/boot\"" >>"xen/util/path.py".tmp; echo "XEN_CONFIG_DIR=\"/etc/xen\"" >>"xen/util/path.py".tmp; echo "XEN_SCRIPT_DIR=\"/etc/xen/scripts\"" >>"xen/util/path.py".tmp; echo "XEN_LOCK_DIR=\"/var/lock\"" >>"xen/util/path.py".tmp; echo "XEN_RUN_DIR=\"/var/run/xen\"" >>"xen/util/path.py".tmp; echo "XEN_PAGING_DIR=\"/var/lib/xen/xenpaging\"" >>"xen/util/path.py".tmp; if ! cmp -s "xen/util/path.py".tmp "xen/util/path.py"; then mv -f "xen/util/path.py".tmp "xen/util/path.py"; else rm -f "xen/util/path.py".tmp; fi
PYTHONPATH=/home/jamm/build/xen-4.2.1-5/src/xen-4.2.1/tools/python/../../tools/libxl python2 genwrap.py \
/home/jamm/build/xen-4.2.1-5/src/xen-4.2.1/tools/python/../../tools/libxl/libxl_types.idl \
xen/lowlevel/xl/_pyxl_types.h \
xen/lowlevel/xl/_pyxl_types.c
Parsing /home/jamm/build/xen-4.2.1-5/src/xen-4.2.1/tools/python/../../tools/libxl/libxl_types.idl
CC="gcc" CFLAGS="-O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess -Wformat -D__XEN_TOOLS__ -MMD -MF .build.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls " python2 setup.py build
running build
running build_py
running build_ext
building 'xc' extension
gcc -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess -Wformat -D__XEN_TOOLS__ -MMD -MF .build.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -fPIC -I../../tools/include -I../../tools/libxc -Ixen/lowlevel/xc -I/usr/include/python2.7 -c xen/lowlevel/xc/xc.c -o build/temp.linux-x86_64-2.7/xen/lowlevel/xc/xc.o -fno-strict-aliasing -Werror
In file included from /usr/include/python2.7/Python.h:126:0,
from xen/lowlevel/xc/xc.c:7:
/usr/include/python2.7/modsupport.h:27:1: error: 'PyArg_ParseTuple' is an unrecognized format function type [-Werror=format=]
PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
^
cc1: all warnings being treated as errors
error: command 'gcc' failed with exit status 1
make[3]: *** [build] Error 1
There are packages installed in the system:
kbproto-1.0.6-1 libtasn1-3.2-1 libx11-1.5.0-2 libxau-1.0.7-1 libxcb-1.9-3 libxdmcp-1.1.1-1 libxext-1.3.1-1 libxrender-0.9.7-1 nettle-2.6-1 ocaml-4.00.1-3 p11-kit-0.13-1
perl-error-0.17019-1 python2-2.7.4-1 renderproto-0.11.1-2 sqlite-3.7.16.2-1 xcb-proto-1.8-1 xextproto-7.2.1-1 xproto-7.0.24-1 bin86-0.16.19-1 bluez-4.101-1 dev86-0.16.19-1 git-1.8.2.1-1
gnutls-3.1.10-1 iasl-20130328-1 lib32-glibc-2.17-5 libaio-0.3.109-6 libjpeg-turbo-1.2.1-1 libpng-1.5.15-1 markdown-1.0.1-5 ocaml-findlib-1.3.3-2 sdl-1.2.15-3 vde2-2.3.2-2 yajl-2.0.4-1
fontconfig-2.10.2-1 libxft-2.3.1-1 libxss-1.2.2-1 scrnsaverproto-1.2.2-1 tcl-8.6.0-3 tk-8.6.0-1
What I can do for solve issue?
Search Criteria
Package Details: xen 4.19.1pre-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xen.git (read-only, click to copy) |
---|---|
Package Base: | xen |
Description: | Open-source type-1 or baremetal hypervisor |
Upstream URL: | https://xenproject.org/ |
Keywords: | hypervisor virtualization xen |
Licenses: | GPL2 |
Submitter: | sergej |
Maintainer: | Refutationalist |
Last Packager: | Refutationalist |
Votes: | 185 |
Popularity: | 0.67 |
First Submitted: | 2009-11-09 11:22 (UTC) |
Last Updated: | 2024-09-20 00:31 (UTC) |
Dependencies (63)
- acpica
- bridge-utils
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- gnutls (gnutls-gitAUR)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR)
- libaio (libaio-gitAUR)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libseccomp (libseccomp-gitAUR)
- libuuid.so (util-linux-libs-selinuxAUR, util-linux-libs-aesAUR, lib32-util-linux, util-linux-libs)
- libx11 (libx11-gitAUR)
- lzo
- ncurses (ncurses-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- pciutils (pciutils-gitAUR)
- pixman (pixman-gitAUR)
- pkgconf (pkgconf-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- Show 43 more dependencies...
Required by (3)
Sources (7)
Latest Comments
« First ‹ Previous 1 .. 70 71 72 73 74 75 76 77 78 79 80 .. 101 Next › Last »
<deleted-account> commented on 2013-04-13 14:20 (UTC)
virtuemood commented on 2013-04-13 13:52 (UTC)
Thanks for update !!
Sydney6 commented on 2013-04-12 23:23 (UTC)
Hi shanmu,
1. Man, you're quick.
2. Please don't apologize. It is (obviously) my bad. Don't know where yet (probably cached pyconfig.h), but my bad. PKG off course BUILDS CORRECTLY.
3. Sorry for getting your name wrong, shanmu.
4. Thanks. Again.
shanmu commented on 2013-04-12 23:10 (UTC)
Sydney6, Apologies! they were not completely right so took them out. Can you please try a new install again (I have updated the gcc-4.8 patch) + the python pyconfig.h workaround, it should build fine.
Sydney6 commented on 2013-04-12 23:00 (UTC)
Hi shanmuha,
tried your suggestions to patch pkgbuild (which have suddely disappeared), build with gcc 4.8 failed with:
In file included from /root/xen/src/xen-4.2.1/tools/qemu-xen/fpu/softfloat.c:60:0:
/root/xen/src/xen-4.2.1/tools/qemu-xen/fpu/softfloat-specialize.h:92:1: error: initializer element is not constant
const floatx80 floatx80_default_nan = make_floatx80(floatx80_default_nan_high,
^
/root/xen/src/xen-4.2.1/tools/qemu-xen/fpu/softfloat-specialize.h:107:1: error: initializer element is not constant
const float128 float128_default_nan = make_float128(float128_default_nan_high,
^
make[4]: *** [fpu/softfloat.o] Error 1
make[3]: *** [subdir-i386-softmmu] Error 2
make[3]: Leaving directory `/root/xen/src/xen-4.2.1/tools/qemu-xen-dir'
make[2]: *** [subdir-all-qemu-xen-dir] Error 2
make[2]: Leaving directory `/root/xen/src/xen-4.2.1/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/root/xen/src/xen-4.2.1/tools'
make: *** [install-tools] Error 2
Now tried your suggestion for the python bindings and the build failed with:
In file included from /root/xen/src/xen-4.2.1/xen/include/public/xen.h:33:0,
from /root/xen/src/xen-4.2.1/xen/include/xen/time.h:12,
from /root/xen/src/xen-4.2.1/xen/include/xen/hypercall.h:9,
from memory.c:3:
memory.c: In function 'compat_memory_op':
/root/xen/src/xen-4.2.1/xen/include/public/arch-x86/xen.h:35:33: error: typedef '__guest_handle_const_compat_memory_exchange_t' locally defined but not used [-Werror=unused-local-typedefs]
typedef struct { type *p; } __guest_handle_ ## name
^
/root/xen/src/xen-4.2.1/xen/include/public/arch-x86/xen.h:43:5: note: in expansion of macro '___DEFINE_XEN_GUEST_HANDLE'
___DEFINE_XEN_GUEST_HANDLE(const_##name, const type)
^
/root/xen/src/xen-4.2.1/xen/include/public/arch-x86/xen.h:44:41: note: in expansion of macro '__DEFINE_XEN_GUEST_HANDLE'
#define DEFINE_XEN_GUEST_HANDLE(name) __DEFINE_XEN_GUEST_HANDLE(name, name)
^
memory.c:261:13: note: in expansion of macro 'DEFINE_XEN_GUEST_HANDLE'
DEFINE_XEN_GUEST_HANDLE(compat_memory_exchange_t);
^
cc1: all warnings being treated as errors
make[5]: *** [memory.o] Error 1
make[5]: Leaving directory `/root/xen/src/xen-4.2.1/xen/common/compat'
make[4]: *** [compat/built_in.o] Error 2
make[4]: Leaving directory `/root/xen/src/xen-4.2.1/xen/common'
make[3]: *** [/root/xen/src/xen-4.2.1/xen/common/built_in.o] Error 2
make[3]: Leaving directory `/root/xen/src/xen-4.2.1/xen/arch/x86'
make[2]: *** [/root/xen/src/xen-4.2.1/xen/xen] Error 2
make[2]: Leaving directory `/root/xen/src/xen-4.2.1/xen'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/xen/src/xen-4.2.1/xen'
make: *** [install-xen] Error 2
Any more suggestions,
Cheers,
S.
shanmu commented on 2013-04-12 22:50 (UTC)
The latest version compiles with gcc4.8.
Arch bug FS#34658 needs to be fixed for building python bindings, workaround till then is to comment line#72 in /usr/include/python2.7/pyconfig.h
//#define HAVE_ATTRIBUTE_FORMAT_PARSETUPLE 1
luolimao commented on 2013-04-12 21:40 (UTC)
@3000 @evanlec Added @tritron's patch and a prepare() function. Build still fails, though. This is actually a bit too much of a monolith for me to handle atm. Orphaning.
Pinned Comments
Refutationalist commented on 2024-05-22 22:08 (UTC) (edited on 2024-05-23 00:07 (UTC) by Refutationalist)
As of now (2024-22-05) Xen with stubdom doesn't build because of a problem in the imported code. Been this way for about two weeks. Anyone else seeing this behavior?
Also, there is a lot of work happening on Xen in my development repo, thanks to @Serus. Check it out at: https://github.com/refutationalist/saur