Package Base Details: xen

Git Clone URL: https://aur.archlinux.org/xen.git (read-only, click to copy)
Keywords: hypervisor virtualization xen
Submitter: sergej
Maintainer: Refutationalist
Last Packager: Refutationalist
Votes: 185
Popularity: 0.45
First Submitted: 2009-11-09 11:22 (UTC)
Last Updated: 2024-01-19 23:00 (UTC)

Latest Comments

« First ‹ Previous 1 .. 70 71 72 73 74 75 76 77 78 79 80 .. 101 Next › Last »

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.

3000 commented on 2013-04-12 11:16 (UTC)

Thanks for the help. I am not an expert. Therefore I don't know how to edit the necessary files. Do you have some instructions please?

tritron commented on 2013-04-08 18:28 (UTC)

Well git version of 4.2 has this fix 4.8 gcc that was pushed to arch. I don't know guys if that is the issue. Removing -Werror in Makefiles would solve the problem also. I hope this helps I have no issues compiling unstable xen. --- a/Config.mk Tue Feb 19 15:25:18 2013 +0000 +++ b/Config.mk Fri Feb 22 13:41:09 2013 +0100 @@ -166,6 +166,7 @@ CFLAGS-$(clang) += -Wno-parentheses -Wno $(call cc-option-add,HOSTCFLAGS,HOSTCC,-Wdeclaration-after-statement) $(call cc-option-add,CFLAGS,CC,-Wdeclaration-after-statement) $(call cc-option-add,CFLAGS,CC,-Wno-unused-but-set-variable) +$(call cc-option-add,CFLAGS,CC,-Wno-unused-local-typedefs) LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i)) CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i))

evanlec commented on 2013-04-08 11:06 (UTC)

Yep I'm getting the same error as 3000 /home/el/aur/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 ^ /home/el/aur/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) ^ /home/el/aur/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 `/home/el/aur/xen/src/xen-4.2.1/xen/common/compat' make[4]: *** [compat/built_in.o] Error 2 make[4]: Leaving directory `/home/el/aur/xen/src/xen-4.2.1/xen/common' make[3]: *** [/home/el/aur/xen/src/xen-4.2.1/xen/common/built_in.o] Error 2 make[3]: Leaving directory `/home/el/aur/xen/src/xen-4.2.1/xen/arch/x86' make[2]: *** [/home/el/aur/xen/src/xen-4.2.1/xen/xen] Error 2 make[2]: Leaving directory `/home/el/aur/xen/src/xen-4.2.1/xen' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/el/aur/xen/src/xen-4.2.1/xen' make: *** [install-xen] Error 2 ==> ERROR: A failure occurred in package(). Aborting...