I believe python2 should be added as a dependency.
Search Criteria
Package Details: xen-stubdom 4.20.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/xen.git (read-only, click to copy) |
---|---|
Package Base: | xen |
Description: | Xen hypervisor stubdom files |
Upstream URL: | https://xenproject.org/ |
Keywords: | hypervisor virtualization xen |
Licenses: | GPL2 |
Submitter: | sergej |
Maintainer: | Refutationalist |
Last Packager: | Refutationalist |
Votes: | 184 |
Popularity: | 0.071098 |
First Submitted: | 2009-11-09 11:22 (UTC) |
Last Updated: | 2025-03-13 08:19 (UTC) |
Dependencies (42)
- xenAUR
- acpica (make)
- bison (byacc-bisonAUR, bison-gitAUR) (make)
- bridge-utils (make)
- fig2dev (fig2dev-gitAUR) (make)
- flex (flex-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- gnutls (gnutls-gitAUR) (make)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (make)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR) (make)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR) (make)
- libaio (libaio-gitAUR) (make)
- libuuid.so (util-linux-libs-aesAUR, util-linux-libs-selinuxAUR, lib32-util-linux, util-linux-libs) (make)
- libx11 (libx11-gitAUR) (make)
- lzo (make)
- ncurses (ncurses-gitAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- pandoc (pandoc-sile-gitAUR, pandoc-static-gitAUR, pandoc-binAUR, pandoc-cli) (make)
- pciutils (pciutils-gitAUR) (make)
- pixman (pixman-gitAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-setuptools (make)
- sdl2AUR (sdl2-gitAUR, sdl2-compat-gitAUR, sdl2-compat) (make)
- systemd (systemd-chromiumosAUR, systemd-fmlAUR, systemd-gitAUR, systemd-selinuxAUR) (make)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-fmlAUR, systemd-libs-gitAUR, systemd-libs-selinuxAUR) (make)
- valgrind (valgrind-gitAUR) (make)
- vde2 (vdeplug4-gitAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
- yajl (yajl-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- linux-headers (optional) – extract bootable kernel for PV grub using "extract_vmlinux"
- seabios (optional) – SeaBIOS payload support
- xen-docsAUR (optional) – HTML documentation and man pages
- xen-edk2AUR (optional) – UEFI support
- xen-grub-pv32AUR (optional) – 32bit PV booting support
- xen-grub-pv64AUR (optional) – 64bit PV booting support
- xen-grub-pvhAUR (optional) – PVH booting support
- xen-qemuAUR (xen-qemuAUR) (optional) – HVM and PV support, nearly required for Xen
- xen-stubdomAUR (optional) – Xen stubdom support
Required by (3)
- xen (optional)
- xen-docs (optional)
- xen-stubdom (optional)
Sources (13)
- efi-xen.cfg
- git+https://xenbits.xen.org/git-http/xen.git#branch=stable-4.20
- http://xenbits.xen.org/xen-extfiles/grub-0.97.tar.gz
- http://xenbits.xen.org/xen-extfiles/lwip-1.3.0.tar.gz
- http://xenbits.xen.org/xen-extfiles/newlib-1.16.0.tar.gz
- http://xenbits.xen.org/xen-extfiles/pciutils-2.2.9.tar.bz2
- http://xenbits.xen.org/xen-extfiles/polarssl-1.1.4-gpl.tgz
- http://xenbits.xen.org/xen-extfiles/zlib-1.2.3.tar.gz
- tmpfiles.conf
- xen-amd-ucode.hook
- xen-intel-ucode.hook
- xen-ucode-extract.sh
- xen.conf
Latest Comments
« First ‹ Previous 1 .. 70 71 72 73 74 75 76 77 78 79 80 .. 101 Next › Last »
zootboy commented on 2013-04-24 01:52 (UTC)
3000 commented on 2013-04-14 13:23 (UTC)
exactly, I can confirm, working quite nicely.
Thanks a lot. You guys rock. :)
<deleted-account> commented on 2013-04-14 09:05 (UTC)
Dear shanmu,
now everything is fine.
Thanks for your work!
shanmu commented on 2013-04-13 19:21 (UTC)
Hi jamm, as posted earlier, The error is because of Arch bug FS#34658.
The Workaround till it is fixed is to comment line#72 in /usr/include/python2.7/pyconfig.h
//#define HAVE_ATTRIBUTE_FORMAT_PARSETUPLE 1
<deleted-account> commented on 2013-04-13 14:20 (UTC)
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?
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
Pinned Comments
Refutationalist commented on 2025-03-12 12:06 (UTC) (edited on 2025-03-13 08:23 (UTC) by Refutationalist)
We've moved to the newly-stable 4.20.0 branch. There are also other changes:
If you're still using pygrub note that it is deprecated. The solution is to build PV grub instead, which used to be in AUR but is now missing. I am asking a couple questions on the mailing list, and I intend to put my current build of xen-grub (which supersedes xen-pvhgrub) on AUR as soon as possible. If you need to build it before that occurs, you can find it in my PKGBUILD repo.
EDIT: 4.20.0-2 adds support for the xen-edk2 package, which has a fixed UEFI for xen