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.071098
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 .. 26 27 28 29 30 31 32 33 34 35 36 .. 101 Next › Last »

kantras commented on 2016-04-04 16:15 (UTC)

I'm actually finishing rebuilding the system I usually developed on, to be able to ramp back up again - I have been watching the comments, just been tied up with some work issues

daniel_shub commented on 2016-04-04 16:11 (UTC)

@frony0 I think it would be better to request to take over as maintainer instead of creating a new package. While having a xen-4.5 package wouldn't be bad, the xen package should track the latest version.

frony0 commented on 2016-04-04 15:57 (UTC)

BeepDog, perhaps post your version to aur under the name "xen-4.6", since kantras seems to be AWOL?

BeepDog commented on 2016-03-29 00:36 (UTC)

I used the 4.6.1 packages that @JohnTh provided on gitlab: https://gitlab.com/johnth/aur-xen/tree/master Works great, but does not include pvgrub (I guess that's part of stubdom?) I've got a feature request open for grub2 in core to include the PvGrub2 stuff: http://wiki.xen.org/wiki/PvGrub2 and https://bugs.archlinux.org/task/44201 I'm gonna try to build a custom grub package real quick so I can use that pvgrub2, because it's supposed to be WAY better than pvgrub and pygrub.

vmaffione commented on 2016-03-17 21:46 (UTC) (edited on 2016-03-17 21:48 (UTC) by vmaffione)

I managed to compile it, by means of the following changes 1) do what hypernetoman suggests (removing a comment in a public header file) 2) applying this patch to PKGBUILD --- PKGBUILD 2016-03-17 22:45:49.670416160 +0100 +++ PKGBUILD.old 2016-03-17 22:45:31.183750160 +0100 @@ -129,7 +129,7 @@ build() { export CFLAGS=-fno-caller-saves ./autogen.sh ./configure PYTHON=/usr/bin/python2 --prefix=/usr --sbindir=/usr/bin --with-sysconfig-leaf-dir=conf.d --with-initddir=/etc/init.d \ - --enable-systemd --disable-docs --enable-stubdom --enable-qemu-traditional --enable-rombios \ + --enable-systemd --disable-docs --disable-stubdom --enable-qemu-traditional --enable-rombios \ --with-extra-qemuu-configure-args="--disable-bluez --disable-gtk --enable-spice --enable-usb-redir" # --enable-ovmf make LANG=C PYTHON=python2 } @@ -147,6 +147,9 @@ package() { install -Dm755 "$srcdir/09_xen" etc/grub.d/09_xen install -Dm644 "$srcdir/efi-xen.cfg" etc/xen/efi-xen.cfg + mkdir -p usr/lib/systemd/system + cp $srcdir/$pkgname-$pkgver/tools/hotplug/Linux/systemd/xenstored* usr/lib/systemd/system + # Fix paths in scripts, move to right locations and create missing directories sed -i 's:/var/run:/run:' etc/init.d/xencommons sed -i 's:/var/lock:/run/lock:' etc/xen/scripts/hotplugpath.sh

lembang commented on 2016-03-01 20:56 (UTC)

@johnTh by modifying the ferror it helps to compile the package, although this is not a real solution for this. Thank you. I force the test to always return 0

JohnTh commented on 2016-02-29 22:09 (UTC)

I am also getting this error. It was not happening a week ago. Package updates have broken something. The step that is failing is configuring stubdom/gmp-x86_64 Details are in stubdom/gmp-x86_64/config.log The sizeof type test configure programs build fine, but when run, return 1 because ferror(...) returns 1 after fprintf(...) in the programs built in this Xen build environment. This stops the configure, thought the programs still seem to function as intended, putting type sizes in conftest.val. Search for ferror in stubdom/gmp-x86_64/configure to show or modify the programs. I am still looking into why and how to fix.

lembang commented on 2016-02-29 00:49 (UTC)

@malinas Seems we encounter almost the same error, i have already use gcc-multilib and still experience this error. Any idea? pacman -Q | grep gcc gcc-libs-multilib 5.3.0-5 gcc-multilib 5.3.0-5 lib32-gcc-libs 5.3.0-5 checking size of unsigned short... configure: error: cannot compute sizeof (unsigned short) See `config.log' for more details. Makefile:170: recipe for target 'gmp-x86_64' failed make[1]: *** [gmp-x86_64] Error 77 make[1]: Leaving directory '/home/the/aur/aur-xen-master-d1563f51708bc0cd58e989c7e9ab615254c66d6b/src/xen-4.6.1/stubdom' Makefile:106: recipe for target 'install-stubdom' failed make: *** [install-stubdom] Error 2 ==> ERROR: A failure occurred in build().

malinas commented on 2016-02-26 19:38 (UTC)

ld -nostdlib -L/tmp/makepkg/xen/src/xen-4.6.1/stubdom/cross-root-x86_64/x86_64-xen-elf/lib -m elf_x86_64 -T arch/x86/minios-x86_64.lds /tmp/makepkg/xen/src/xen-4.6.1/stubdom/mini-os-x86_64-grub/mini-os.o -o /tmp/makepkg/xen/src/xen-4.6.1/stubdom/mini-os-x86_64-grub/mini-os ld: warning: section `.bss' type changed to PROGBITS gzip -f -9 -c /tmp/makepkg/xen/src/xen-4.6.1/stubdom/mini-os-x86_64-grub/mini-os >/tmp/makepkg/xen/src/xen-4.6.1/stubdom/mini-os-x86_64-grub/mini-os.gz checking for suitable m4... m4 checking if m4wrap produces spurious output... no checking how to switch to text section... .text checking how to switch to data section... .data checking for assembler label suffix... : checking for assembler global directive... .globl checking for assembler global directive attribute... checking if globals are prefixed by underscore... no checking how to switch to read-only data section... .section .rodata checking for assembler .type directive... .type $1,@$2 checking for assembler .size directive... .size $1,$2 checking for assembler local label prefix... .L checking for assembler byte directive... .byte checking how to define a 32-bit word... .long checking if .align assembly directive is logarithmic... no checking if the .align directive accepts an 0x90 fill in .text... yes checking for unsigned short... make[2]: Leaving directory '/tmp/makepkg/xen/src/xen-4.6.1/extras/mini-os' install -d -m0755 -p "/tmp/makepkg/xen/src/xen-4.6.1/dist/install/usr/lib/xen/boot" install -m0644 -p mini-os-x86_64-grub/mini-os.gz "/tmp/makepkg/xen/src/xen-4.6.1/dist/install/usr/lib/xen/boot/pv-grub-x86_64.gz" yes checking size of unsigned short... configure: error: cannot compute sizeof (unsigned short) See `config.log' for more details. Makefile:170: recipe for target 'gmp-x86_64' failed make[1]: *** [gmp-x86_64] Error 77 make[1]: *** Waiting for unfinished jobs.... ar rcs qemu.a vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o machine.o dma-helpers.o virtio.o virtio-blk.o virtio-net.o virtio-console.o fw_cfg.o block-raw-posix.o lsi53c895a.o esp.o usb-ohci.o eeprom93xx.o eepro100.o ne2000.o pcnet.o rtl8139.o e1000.o msmouse.o ide.o pckbd.o ps2.o vga.o dma.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o cirrus_vga.o parallel.o piix_pci.o usb-uhci.o hpet.o device-hotplug.o pci-hotplug.o piix4acpi.o xenstore.o xen_platform.o xen_machine_fv.o xen_machine_pv.o xen_backend.o xenfb.o xen_console.o exec-dm.o pci_emulation.o helper2.o battery_mgmt.o xenfbfront.o pass-through.o pt-msi.o pt-graphics.o block-vbd.o make[3]: Leaving directory '/tmp/makepkg/xen/src/xen-4.6.1/stubdom/ioemu/i386-stubdom' make[2]: Leaving directory '/tmp/makepkg/xen/src/xen-4.6.1/stubdom/ioemu' make[1]: Leaving directory '/tmp/makepkg/xen/src/xen-4.6.1/stubdom' Makefile:106: recipe for target 'install-stubdom' failed make: *** [install-stubdom] Error 2 that's the master one. config.log exit status 0. I guess, I will just update my own 4.6 build from a year ago.

malinas commented on 2016-02-26 18:18 (UTC)

John, that is nice.. i already patched the broken pakcages back in Feb 2015, and actually ran a 4.6 unstable branch back then. However, server ben down some months and after update, I can't for the love of my life make xen see the LVM root on boot :/ I will give yours a try and cross my fingers! ,p