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 .. 32 33 34 35 36 37 38 39 40 41 42 .. 101 Next › Last »

piwwo commented on 2015-07-13 09:56 (UTC)

Uhm I think I am using gcc. # pacman -Q gcc gcc 5.1.0-5 Package gcc-multilib was not found. Here is the config log http://pastebin.com/sLcCpzvG

kantras commented on 2015-07-10 23:19 (UTC)

@nocko: looks like spice-protocol 0.12.8 is broken, based on the thread: https://bugzilla.redhat.com/show_bug.cgi?id=1239102#c3 - as a workaround, if you're not using Spice, open the PKGBUILD file, find the option '--enable-spice' and change it to '--disable-spice' to compile with Spice support removed.

kantras commented on 2015-07-10 22:43 (UTC)

@piwwo: are you using gcc or gcc-multilib? If i'm reading the error message right, it would be the ./src/xen-4.5.1/stubdom/newlib-x86_32/config.log file

nocko commented on 2015-07-10 14:57 (UTC)

cd qemu-xen-dir; \ $source/configure --enable-xen --target-list=i386-softmmu \ --enable-debug --enable-trace-backend=stderr \ --prefix=/usr/lib/xen \ --libdir=/usr/lib/xen/lib \ --includedir=/usr/lib/xen/include \ --source-path=$source \ --extra-cflags="-I/home/nock/Downloads/xen/src/xen-4.5.1/tools/../tools/include \ -I/home/nock/Downloads/xen/src/xen-4.5.1/tools/../tools/libxc/include \ -I/home/nock/Downloads/xen/src/xen-4.5.1/tools/../tools/xenstore/include \ -I/home/nock/Downloads/xen/src/xen-4.5.1/tools/../tools/xenstore/compat/include \ " \ --extra-ldflags="-L/home/nock/Downloads/xen/src/xen-4.5.1/tools/../tools/libxc \ -L/home/nock/Downloads/xen/src/xen-4.5.1/tools/../tools/xenstore \ -Wl,-rpath,/usr/lib/xen/lib" \ --bindir=/usr/lib/xen/bin \ --datadir=/usr/share/qemu-xen \ --localstatedir=/var \ --disable-kvm \ --disable-docs \ --disable-guest-agent \ --python=python2 \ --disable-bluez --disable-gtk --enable-spice --enable-usb-redir \ --cpu=x86_64 \ ; \ make all ERROR: User requested feature spice configure was not able to find it. Install spice-server and spice-protocol devel related config.log: In file included from /tmp/qemu-conf-25875-31202-17030.c:1:0: /usr/include/spice-server/spice.h:475:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_INVALID’ SPICE_IMAGE_COMPRESS_INVALID = 0, ^ In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0, from /usr/include/spice-server/spice.h:23, from /tmp/qemu-conf-25875-31202-17030.c:1: /usr/include/spice-1/spice/enums.h:185:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_INVALID’ was here SPICE_IMAGE_COMPRESS_INVALID, ^ In file included from /tmp/qemu-conf-25875-31202-17030.c:1:0: /usr/include/spice-server/spice.h:476:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_OFF’ SPICE_IMAGE_COMPRESS_OFF = 1, ^ In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0, from /usr/include/spice-server/spice.h:23, from /tmp/qemu-conf-25875-31202-17030.c:1: /usr/include/spice-1/spice/enums.h:186:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_OFF’ was here SPICE_IMAGE_COMPRESS_OFF, ^ In file included from /tmp/qemu-conf-25875-31202-17030.c:1:0: /usr/include/spice-server/spice.h:477:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_AUTO_GLZ’ SPICE_IMAGE_COMPRESS_AUTO_GLZ = 2, ^ In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0, from /usr/include/spice-server/spice.h:23, from /tmp/qemu-conf-25875-31202-17030.c:1: /usr/include/spice-1/spice/enums.h:187:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_AUTO_GLZ’ was here SPICE_IMAGE_COMPRESS_AUTO_GLZ, ^ In file included from /tmp/qemu-conf-25875-31202-17030.c:1:0: /usr/include/spice-server/spice.h:478:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_AUTO_LZ’ SPICE_IMAGE_COMPRESS_AUTO_LZ = 3, ^ In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0, from /usr/include/spice-server/spice.h:23, from /tmp/qemu-conf-25875-31202-17030.c:1: /usr/include/spice-1/spice/enums.h:188:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_AUTO_LZ’ was here SPICE_IMAGE_COMPRESS_AUTO_LZ, ^ In file included from /tmp/qemu-conf-25875-31202-17030.c:1:0: /usr/include/spice-server/spice.h:479:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_QUIC’ SPICE_IMAGE_COMPRESS_QUIC = 4, ^ In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0, from /usr/include/spice-server/spice.h:23, from /tmp/qemu-conf-25875-31202-17030.c:1: /usr/include/spice-1/spice/enums.h:189:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_QUIC’ was here SPICE_IMAGE_COMPRESS_QUIC, ^ In file included from /tmp/qemu-conf-25875-31202-17030.c:1:0: /usr/include/spice-server/spice.h:480:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_GLZ’ SPICE_IMAGE_COMPRESS_GLZ = 5, ^ In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0, from /usr/include/spice-server/spice.h:23, from /tmp/qemu-conf-25875-31202-17030.c:1: /usr/include/spice-1/spice/enums.h:190:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_GLZ’ was here SPICE_IMAGE_COMPRESS_GLZ, ^ In file included from /tmp/qemu-conf-25875-31202-17030.c:1:0: /usr/include/spice-server/spice.h:481:5: error: redeclaration of enumerator ‘SPICE_IMAGE_COMPRESS_LZ’ SPICE_IMAGE_COMPRESS_LZ = 6, ^ In file included from /usr/include/spice-1/spice/qxl_dev.h:38:0, from /usr/include/spice-server/spice.h:23, from /tmp/qemu-conf-25875-31202-17030.c:1: /usr/include/spice-1/spice/enums.h:191:5: note: previous definition of ‘SPICE_IMAGE_COMPRESS_LZ’ was here SPICE_IMAGE_COMPRESS_LZ,

piwwo commented on 2015-07-10 11:24 (UTC)

@kantras Unfortunately I don't know which log there are alot config.logs and I am not sure which one belongs to the module: xen]$ find ./ -name "config.log" find: `./pkg': Permission denied ./src/xen-4.5.1/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/machine/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/sys/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/machine/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/machine/x86_64/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/doc/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/libnosys/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/etc/config.log ./src/xen-4.5.1/stubdom/newlib-x86_64/config.log ./src/xen-4.5.1/stubdom/config.log ./src/xen-4.5.1/stubdom/newlib-x86_32/config.log ./src/xen-4.5.1/stubdom/gmp-x86_64/config.log ./src/xen-4.5.1/tools/config.log ./src/xen-4.5.1/tools/qemu-xen-dir/config.log

kantras commented on 2015-07-10 07:00 (UTC)

@piwwo: Still trying to reproduce this; do you also have a copy of the config.log file mentioned in the error message?

piwwo commented on 2015-07-07 16:50 (UTC)

Compiling fails for me make[2]: Leaving directory '/home/xenuser/xen/src/xen-4.5.1/extras/mini-os' touch mk-headers-x86_32 mkdir -p newlib-x86_32 ( cd newlib-x86_32 && \ CC_FOR_TARGET="gcc -isystem /home/xenuser/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/xenuser/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/xenuser/xen/src/xen-4.5.1/stubdom/../tools/xenstore/include -isystem /home/xenuser/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86 -isystem /home/xenuser/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86/x86_32 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/xenuser/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/xenuser/xen/src/xen-4.5.1/stubdom/cross-root-i686/i686-xen-elf/include -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include -isystem /home/xenuser/xen/src/xen-4.5.1/stubdom/lwip-x86_32/src/include -isystem /home/xenuser/xen/src/xen-4.5.1/stubdom/lwip-x86_32/src/include/ipv4 -I/home/xenuser/xen/src/xen-4.5.1/stubdom/include -I/home/xenuser/xen/src/xen-4.5.1/stubdom/../xen/include -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 -m32 -march=i686 -m32 -march=i686 -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 -D_I386MACH_ALLOW_HW_INTERRUPTS" AR_FOR_TARGET=ar LD_FOR_TARGET=ld RANLIB_FOR_TARGET=ranlib ../newlib-1.16.0/configure --prefix=/home/xenuser/xen/src/xen-4.5.1/stubdom/cross-root-i686 --verbose --target=i686-xen-elf --enable-newlib-io-long-long --disable-multilib && \ make DESTDIR= && \ make DESTDIR= install ) checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... i686-xen-elf checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. Makefile:83: recipe for target 'cross-root-i686/i686-xen-elf/lib/libc.a' failed make[1]: *** [cross-root-i686/i686-xen-elf/lib/libc.a] Error 77 make[1]: Leaving directory '/home/xenuser/xen/src/xen-4.5.1/stubdom' Makefile:73: recipe for target 'install-stubdom' failed make: *** [install-stubdom] Error 2 xen]$ uname -a Linux dom0.xen 4.0.7-2-ARCH #1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015 x86_64 GNU/Linux

kantras commented on 2015-07-04 23:47 (UTC)

Updated to 4.5.1 + added some fixes for GCC 5. Note: OVMF is not enabled by default in this build as it still requires some patching before it will support GCC 5.

cyberxndr commented on 2015-06-25 21:22 (UTC)

After a couple of hours I got two successfull builds with different CRC. The first package raises dom0 crush, the second was OK. I don't remember the difference between compilation process. Maybe I forgot to apply patch #6 in first build. Patches #2 #3 #4 didn't work well in the PKGBUILD, so I manualy applied them one by one after each iteration of failed "makepkg -ei". At this moment I able to login into the dom0.

mks commented on 2015-06-24 09:21 (UTC)

apparently you can't search 'xen' in the new home i.e. aur4.archlinux.org. any ideas when to expect upstream fix for gcc5 + Xen 4.4/4.5? thanks