Package Details: xen 4.5.1-1

Git Clone URL: https://aur.archlinux.org/xen.git (read-only)
Package Base: xen
Description: Virtual Machine Hypervisor & Tools
Upstream URL: http://www.xenproject.org/
Licenses: GPL2
Conflicts: xen-4.2, xen-4.2-testing-hg, xen-4.3, xen-4.3-testing-hg, xen-gdbsx, xen-git, xen-hg-unstable, xen-rc
Submitter: sergej
Maintainer: kantras
Last Packager: kantras
Votes: 151
Popularity: 1.096948
First Submitted: 2009-11-09 11:22
Last Updated: 2015-07-04 23:45

Required by (0)

Sources (24)

Latest Comments

daniel_shub commented on 2016-04-04 16:22

Is your plan to create a xen-4.5 package and keep xen as the most current? If so, you might want to consider creating a xen-4.6 package at the same time. That way someone who wants to stay on the 4.x release, never has to change packages.

kantras commented on 2016-04-04 16:15

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

@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

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

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

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

@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

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

@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

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.

All comments