Package Details: xen-stubdom 4.20.0-2

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.069676
First Submitted: 2009-11-09 11:22 (UTC)
Last Updated: 2025-03-13 08:19 (UTC)

Dependencies (42)

Required by (3)

Sources (13)

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:

  • stubdom is fixed by disabling the vtmp and vtpmmgr components. This gets rid of a few source files and our remaining patches.
  • Debug files are only removed if the debug option is not set in makepkg.cfg (or the PKGBUILD itself)
  • pygrub has been removed
  • optdepends are adjusted for the upcoming xen-grub split package for the various Xen flavored builds.

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

Latest Comments

« First ‹ Previous 1 .. 29 30 31 32 33 34 35 36 37 38 39 .. 101 Next › Last »

ephreal commented on 2015-10-26 20:13 (UTC)

I just want to add that gcc_multilib is indeed necessary to build the package. I was trying to build for a day or two, and with the errors that I was getting, everything led to gcc not being 32 bit capable. So, as daniel_shub pointed out, I tried installing gcc_multilib. With that, the making of xen proceeded flawlessly.

phg commented on 2015-10-22 05:51 (UTC)

Btw. I traced it down to the invocation of ``autogen.sh`` in ``build()``: If I comment that line, the package again builds and installs flawlessly. Since the package builds nicely without, is there any real need for calling autotools explicitly instead of just using the configure scripts that ship with the source?

phg commented on 2015-10-21 18:33 (UTC)

The build fails somewhere inside the Grub part of stubdom with the weirdest compiler error ever. For reference, I’ll cite it in full: mkdir -p grub-x86_64 CPPFLAGS="-isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../tools/xenstore/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86 -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include/ipv4 -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../xen/include" CFLAGS="-mno-red-zone -fno-caller-saves -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-stack-protector -fno-exceptions" make DESTDIR= -C grub OBJ_DIR=/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64 make[2]: Entering directory '/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub' gcc -c -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../tools/xenstore/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86 -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include/ipv4 -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../xen/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/xenstore/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/libxc/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/include -I. -I../grub-upstream/stage1 -I../grub-upstream/stage2 -I../grub-upstream/netboot -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/firmware/vgabios -DWITHOUT_LIBC_STUBS -DSUPPORT_NETBOOT -DSUPPORT_GRAPHICS -DSUPPORT_SERIAL -DPRESET_MENU_STRING='""' -DPACKAGE='"grubdom"' -DVERSION='"0.97"' -D__ASSEMBLY__ -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/x86 -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/x86/x86_64 -DFSYS_TFTP=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -mno-red-zone -fno-caller-saves -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-stack-protector -fno-exceptions -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs boot-x86_64.S -o /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/boot-x86_64.o mkdir -p /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/netboot /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/stage2 touch /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/dirs gcc -c -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../tools/xenstore/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86 -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include/ipv4 -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../xen/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/xenstore/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/libxc/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/include -I. -I../grub-upstream/stage1 -I../grub-upstream/stage2 -I../grub-upstream/netboot -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/firmware/vgabios -DWITHOUT_LIBC_STUBS -DSUPPORT_NETBOOT -DSUPPORT_GRAPHICS -DSUPPORT_SERIAL -DPRESET_MENU_STRING='""' -DPACKAGE='"grubdom"' -DVERSION='"0.97"' -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/x86 -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/x86/x86_64 -DFSYS_TFTP=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -mno-red-zone -fno-caller-saves -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-stack-protector -fno-exceptions -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs ../grub-upstream/netboot/fsys_tftp.c -o /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/netboot/fsys_tftp.o In file included from ../grub-upstream/netboot/etherboot.h:34:0, from ../grub-upstream/netboot/fsys_tftp.c:34: ../grub-upstream/netboot/fsys_tftp.c: In function ‘send_rrq’: ../grub-upstream/stage2/shared.h:44:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] # define RAW_ADDR(x) ((x) + (int) grub_scratch_mem) ^ ../grub-upstream/stage2/shared.h:92:18: note: in expansion of macro ‘RAW_ADDR’ #define FSYS_BUF RAW_ADDR (0x68000) ^ ../grub-upstream/netboot/fsys_tftp.c:271:18: note: in expansion of macro ‘FSYS_BUF’ buf = (char *) FSYS_BUF; ^ ../grub-upstream/netboot/fsys_tftp.c: In function ‘buf_fill’: ../grub-upstream/netboot/fsys_tftp.c:258:1: error: extended registers have no high halves } ^ Makefile:79: recipe for target '/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/netboot/fsys_tftp.o' failed make[2]: *** [/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/netboot/fsys_tftp.o] Error 1 make[2]: Leaving directory '/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub' Makefile:406: recipe for target 'grub' failed make[1]: *** [grub] Error 2 make[1]: Leaving directory '/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom' Makefile:73: recipe for target 'install-stubdom' failed make: *** [install-stubdom] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Interestingly, the package built without trouble inside an Arch VM I set up at work. Also, the vanilla xen-4.5.1 source itself builds nicely, even with the same configure options. Something about this PKGBUILD makes the build error out as above.

trixpan commented on 2015-10-17 18:55 (UTC)

multilib sorted compiling issues in here as well. However, after a successful build I had: Blank xenstore after boot (visible by Dom0 showing up as null) Unable to start any VM with a NIC.

NicolasCPA commented on 2015-10-13 05:23 (UTC)

@zootboy: Thanks.

zootboy commented on 2015-10-13 04:46 (UTC)

@NicolasCPA: Yaourt uses /tmp as its build dir. Arch defaults to making this a ramdrive. If there isn't enough space available to do a full build, redirect yaourt's build dir to a disk instead.

kantras commented on 2015-08-31 15:41 (UTC)

This is on my list of enhancements, that will be coming soon

daniel_shub commented on 2015-08-31 14:56 (UTC)

The update to spice-protcol got me around the first error I was having. I then ran into the error reported by piwwo. I got around that by installing gcc-multilib instead of the standard gcc. I think the makedepends should be updated to include gcc-multilib as an explicit dependency. I think the AUR guidelines state that the base-devel group can be expected, but gcc-multilib is part of the multilib-devel group.

pdc commented on 2015-08-29 13:13 (UTC)

It compiled for me with the latest version of spice-protocol (0.12.9-1).