In order to compile my PKGBUILD of 4.1.3 you need an old version of texi2html, below 5.0.
Stubdom still breaks, but i don't need it ;-)
#Mantainer: Luceo
#Contributor: Revellion
#Contributor: Sergej
pkgname=xen
pkgver=4.1.3
pkgrel=1
pkgdesc="Xen 4 (hypervisor and tools)"
arch=(i686 x86_64)
url="http://xen.org/"
license="GPL"
depends=('bin86' 'xz' 'bzip2' 'iproute' 'bridge-utils' 'python2' 'sdl' 'zlib' 'e2fsprogs' 'pkgconfig' 'gnutls' 'lzo2' 'glibc')
[ "$CARCH" == "x86_64" ] && depends=(${depends} 'lib32-glibc')
optdepends=('xen-docs: Xen Official Documentation')
makedepends=('dev86' 'ocaml-findlib' 'iasl')
conflicts=('xen-4.2' 'xen-hg-unstable' 'xen-gdbsx' 'xen4-hg' 'xen4' 'xen3' 'xen-hv-tools' 'libxen4')
provides=('xen')
backup=('etc/xen/xend-config.sxp' 'etc/xen/xend-pci-permissive.sxp' 'etc/xen/xend-pci-quirks.sxp')
options=(!strip)
optional=('xen-docs: documentation for xen')
install=xen.install
source=(
http://bits.xensource.com/oss-xen/release/${pkgver}/xen-${pkgver}.tar.gz
09_xen
archinit.patch
dom0_xz_decompression.patch
)
build() {
cd $srcdir/xen-${pkgver}
patch -p1 -i ../archinit.patch
patch -p1 -i ../dom0_xz_decompression.patch
unset CFLAGS LDFLAGS
make PYTHON=python2 DESTDIR=$pkgdir install-xen
make PYTHON=python2 DESTDIR=$pkgdir install-tools
#make PYTHON=python2 DESTDIR=$pkgdir install-stubdom
sed -i 's#XENDOM_CONFIG=/etc/sysconfig/xendomains#XENDOM_CONFIG=/etc/conf.d/xendomains#' $pkgdir/etc/init.d/xendomains
sed -i "s#touch /var/lock/subsys/xend#mkdir -p /var/lock/subsys\n touch /var/lock/subsys/xend#" $pkgdir/etc/init.d/xend
[ -d $pkgdir/usr/lib64 ] && ( cd $pkgdir/usr && cp -R lib64/* lib/ && rm -R lib64 )
( cd $pkgdir/etc && mv init.d rc.d ) || return 1
rm -f $pkgdir/usr/share/man/man1/qemu-img.1* \
$pkgdir/usr/share/man/man1/qemu.1*
## First experiment to generate grub2.cfg entry
#mkdir -p $pkgdir/etc/grub.d
#chmod +x $srcdir/09_xen
#cp $srcdir/09_xen $pkgdir/etc/grub.d
############ kill unwanted stuff ############
# stubdom: newlib
rm -rf $pkgdir/usr/*-xen-elf
# hypervisor symlinks
rm -rf $pkgdir/boot/xen-4.1.gz
rm -rf $pkgdir/boot/xen-4.gz
rm -rf $pkgdir/boot/xen.gz
# silly doc dir fun
rm -rf $pkgdir/usr/share/doc/xen
rm -rf $pkgdir/usr/share/doc/qemu
# Pointless helper
rm -f $pkgdir/usr/sbin/xen-python-path
# qemu stuff (unused or available from upstream)
rm -rf $pkgdir/usr/share/xen/man
rm -rf $pkgdir/usr/bin/qemu-*-xen
for file in bios.bin openbios-sparc32 openbios-sparc64 ppc_rom.bin \
pxe-e1000.bin pxe-ne2k_pci.bin pxe-pcnet.bin pxe-rtl8139.bin \
vgabios.bin vgabios-cirrus.bin video.x openbios-ppc bamboo.dtb
do
rm -f $pkgdir/usr/share/xen/qemu/$file
done
# adhere to Static Library Packaging Guidelines
rm -rf $pkgdir/usr/lib/*.a
}
md5sums=(
'bed929d5c5e5135cab40e2a6aab73fa0'
'86b98d762ebb43230a038f0a41b0326b'
'7a1ed81ecc828037724bb3280058c9fc'
'4aebccf16b578ed97aa8bab945011f35'
)
Search Criteria
Package Details: xen 4.19.1pre-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xen.git (read-only, click to copy) |
---|---|
Package Base: | xen |
Description: | Open-source type-1 or baremetal hypervisor |
Upstream URL: | https://xenproject.org/ |
Keywords: | hypervisor virtualization xen |
Licenses: | GPL2 |
Submitter: | sergej |
Maintainer: | Refutationalist |
Last Packager: | Refutationalist |
Votes: | 185 |
Popularity: | 0.68 |
First Submitted: | 2009-11-09 11:22 (UTC) |
Last Updated: | 2024-09-20 00:31 (UTC) |
Dependencies (63)
- acpica
- bridge-utils
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- gnutls (gnutls-gitAUR)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR)
- libaio (libaio-gitAUR)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libseccomp (libseccomp-gitAUR)
- libuuid.so (util-linux-libs-selinuxAUR, util-linux-libs-aesAUR, lib32-util-linux, util-linux-libs)
- libx11 (libx11-gitAUR)
- lzo
- ncurses (ncurses-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- pciutils (pciutils-gitAUR)
- pixman (pixman-gitAUR)
- pkgconf (pkgconf-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- Show 43 more dependencies...
Required by (3)
Sources (7)
Latest Comments
« First ‹ Previous 1 .. 85 86 87 88 89 90 91 92 93 94 95 .. 101 Next › Last »
Xaseron commented on 2012-08-13 08:49 (UTC)
robertfoster commented on 2012-08-11 00:47 (UTC)
4.1.3 is out
workdowg commented on 2012-08-06 17:41 (UTC)
@beej175560 - "This package builds correctly for me if I set MAKEFLAGS="-j1" in /etc/makepkg.conf"
Didn't see this the first time...I concur.
workdowg commented on 2012-08-05 02:53 (UTC)
i8259.c:66:9: error: initialization from incompatible pointer type [-Werror]
(MANY lines in between...)
i8259.c:70:5: error: (near initialization for 'interrupt[255]') [-Werror]
cc1: all warnings being treated as errors
make[4]: *** [i8259.o] Error 1
make[4]: Leaving directory `/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen/arch/x86'
make[3]: *** [/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen/arch/x86/built_in.o] Error 2
make[3]: Leaving directory `/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen/arch/x86'
make[2]: *** [/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen/xen] Error 2
make[2]: Leaving directory `/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen'
make: *** [install-xen] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
Anyone else...
miffe commented on 2012-07-31 11:52 (UTC)
This patch to the PKGBUILD makes it build on i686, fixes parallel make and depends on x86_64
--- PKGBUILD.old 2012-07-23 20:30:26.000000000 +0200
+++ PKGBUILD 2012-07-31 13:49:55.524274223 +0200
@@ -12 +12 @@
-[ "$CARCH" == "x86_64" ] && depends=(${depends} 'lib32-glibc')
+[ "$CARCH" == "x86_64" ] && depends=(${depends[*]} 'lib32-glibc')
@@ -18 +18 @@
-options=(!strip)
+options=(!strip !makeflags !buildflags)
@@ -28,0 +29 @@
+ fix-i8259.patch::http://lists.xen.org/archives/html/xen-devel/2012-01/txto1FW8UIpuq.txt
@@ -40,2 +41 @@
-
-unset CFLAGS LDFLAGS
+ patch -p1 -i $srcdir/fix-i8259.patch
<deleted-account> commented on 2012-07-27 01:06 (UTC)
This package builds correctly for me if I set MAKEFLAGS="-j1" in /etc/makepkg.conf
Apparently it triggers some bug in GNU make when compiled with parallel make.
Mr.Smith1974 commented on 2012-07-24 18:43 (UTC)
@luceo - No problem. http://dpaste.com/774714/
<deleted-account> commented on 2012-07-24 11:33 (UTC)
@Mrs.Smith1974 - Can you show more output? That text only shows warnings.
Mr.Smith1974 commented on 2012-07-24 08:02 (UTC)
minios.c: In function ‘minios_detect’:
minios.c:15:34: warning: unused parameter ‘a’ [-Wunused-parameter]
minios.c: In function ‘minios_init’:
minios.c:21:32: warning: unused parameter ‘a’ [-Wunused-parameter]
minios.c: In function ‘minios_cleanup’:
minios.c:26:35: warning: unused parameter ‘a’ [-Wunused-parameter]
rm -f libpci.a
ar rcs libpci.a access.o generic.o dump.o names.o filter.o minios.o
ranlib libpci.a
sed <libpci.pc.in >libpci.pc -e 's,@PREFIX@,/usr/local,' \
-e 's,@INCDIR@,/usr/local/include,' \
-e 's,@LIBDIR@,/usr/local/lib64,' \
-e 's,@IDSDIR@,/usr/local/share,' \
-e 's,@VERSION@,2.2.9,' \
-e 's,@LIBZ@,-lz,'
make[3]: Leaving directory `/tmp/yaourt-tmp-user/aur-xen/src/xen-4.1.2/stubdom/pciutils-x86_64/lib'
make[2]: Leaving directory `/tmp/yaourt-tmp-user/aur-xen/src/xen-4.1.2/stubdom/pciutils-x86_64'
make[1]: Leaving directory `/tmp/yaourt-tmp-user/aur-xen/src/xen-4.1.2/stubdom'
make: *** [install-stubdom] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build xen.
==> Restart building xen ? [y/N]
Pinned Comments
Refutationalist commented on 2024-05-22 22:08 (UTC) (edited on 2024-05-23 00:07 (UTC) by Refutationalist)
As of now (2024-22-05) Xen with stubdom doesn't build because of a problem in the imported code. Been this way for about two weeks. Anyone else seeing this behavior?
Also, there is a lot of work happening on Xen in my development repo, thanks to @Serus. Check it out at: https://github.com/refutationalist/saur