You are not logged in.
What I did
I dumped the dependency requirements from the xen source tarball's readme.
I downloaded the AUR for xen-4.4.1 (https://aur.archlinux.org/packages/xen/) and have added some dependencies
All the requirements but the UUID were in standard packages and UUID was in AUR.
I am a newbie and the last coding I did was in COBOL so I am not doing so great any suggestions on what I am doing or did wrong would be greatly appreciated
# Maintainer: Doug McMillan
# Contributor: David Sutton <kantras - gmail.com>
# Contributor: Shanmu Thiagaraja <sthiagaraja+AUR@prshanmu.com>
# Contributor: Limao Luo
# Contributor: Luceo
# Contributor: Revellion
pkgname=xen
pkgver=4.5.0_rc1
pkgrel=1
pkgdesc="Virtual Machine Hypervisor & Tools"
arch=(i686 x86_64)
url="http://www.xenproject.org/"
license=(GPL2)
depends=(zlib python 'python2>=2.3' ncurses openssl xorg-server-devel uuid yajl libaio glib2 pixman pkg-config bridge-utils iproute2 systemd bison flex gettext figlet ocaml llvm-ocaml ocaml-compiler-libs ocaml-findlib systemd python2-systemd libsystemd libnl pciutils sdl spice curl lzo2 usbredir gnutls libcap-ng libiscsi libjpeg-turbo libpng libseccomp nss transfig)
[[ "$CARCH" == "x86_64" ]] && depends+=(lib32-glibc)
makedepends=(bin86 cmake dev86 git iasl markdown ocaml-findlib figlet wget spice-protocol)
optdepends=('xen-docs: Official Xen Documentation' 'openvswitch: Optional Networking support')
conflicts=(xen-4.2{,-testing-hg} xen-{gdbsx,hg-unstable,rc,git} xen-4.3{,-testing-hg})
backup=(etc/modules-load.d/$pkgname.conf etc/$pkgname/xl.conf etc/conf.d/xen{stored,consoled,domains,commons} etc/$pkgname/grub.conf)
options=(!buildflags !strip)
install=$pkgname.install
changelog=ChangeLog
source=(http://bits.xensource.com/oss-xen/release/${pkgver//_/-}/$pkgname-${pkgver//_/-}.tar.gz
http://xenbits.xen.org/xen-extfiles/ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz
http://xenbits.xen.org/xen-extfiles/lwip-1.3.0.tar.gz
http://xenbits.xen.org/xen-extfiles/zlib-1.2.3.tar.gz
http://xenbits.xen.org/xen-extfiles/newlib-1.16.0.tar.gz
http://xenbits.xen.org/xen-extfiles/pciutils-2.2.9.tar.bz2
http://xenbits.xen.org/xen-extfiles/polarssl-1.1.4-gpl.tgz
http://xenbits.xen.org/xen-extfiles/grub-0.97.tar.gz
http://xenbits.xen.org/xen-extfiles/tpm_emulator-0.7.4.tar.gz
http://xenbits.xen.org/xen-extfiles/gmp-4.3.2.tar.bz2
xen.install
09_xen
ati-passthrough.patch
disable-unneeded.patch
ovmf.patch
ovmf-gcc4.9-basetools.patch
ovmf-gcc4.9-ovmfpkg.patch
xsa108.patch
proc-xen.mount
var-lib-xenstored.mount
xenconsoled.service
conf.d-xenconsoled
xendomains.service
xendomU@.service
xenstored.service
conf.d-xenstored
tmpfiles.d-$pkgname.conf
efi-xen.cfg
grub.conf
$pkgname.conf)
noextract=(lwip-1.3.0.tar.gz
zlib-1.2.3.tar.gz
newlib-1.16.0.tar.gz
pciutils-2.2.9.tar.bz2
polarssl-1.1.4-gpl.tgz
grub-0.97.tar.gz
tpm_emulator-0.7.4.tar.gz
gmp-4.3.2.tar.bz2
ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz)
sha256sums=('ab8e09b2d7bf38d0c7f43bfd84d274372b48aa4184e69a48072b5e1121daf63f'
'632ce8c193ccacc3012bd354bdb733a4be126f7c098e111930aa41dad537405c'
'772e4d550e07826665ed0528c071dd5404ef7dbe1825a38c8adbc2a00bca948f'
'1795c7d067a43174113fdf03447532f373e1c6c57c08d61d9e4e9be5e244b05e'
'db426394965c48c1d29023e1cc6d965ea6b9a9035d8a849be2750ca4659a3d07'
'f60ae61cfbd5da1d849d0beaa21f593c38dac9359f0b3ddc612f447408265b24'
'2d29fd04a0d0ba29dae6bd29fb418944c08d3916665dcca74afb297ef37584b6'
'4e1d15d12dbd3e9208111d6b806ad5a9857ca8850c47877d36575b904559260b'
'4e48ea0d83dd9441cc1af04ab18cd6c961b9fa54d5cbf2c2feee038988dea459'
'936162c0312886c21581002b79932829aa048cfaf9937c6265aeaa14f1cd1775'
'63f9dfc93235feaa10914e122fd168da2ae6a2b100729ce621e43aaba3e62f33'
'06c9f6140f7ef4ccfc4b1a7d9732a673313e269733180f53afcd9e43bf6c26bb'
'd93c2d5bcdf0c3e4c6e8efb357cb4b9d618209025361f5ccd9d03651a8acd7a3'
'24348135c283847fa52afb2584886eb7dbe1ed4850991fc99cbeee8374718033'
'1c44b9dc848bb6c3ef2ab76e4807a0b3ed360aea6b13b5b86d2bf5301d14247b'
'45aae7a1d48357e5f981c12870b5bcac0dd0f630f84e398160d8c9adb42a6674'
'8e16638d0cc366d1eaae7ccbcf43215853b4444a625478ec8f6e0a2c655370d9'
'cf7ecf4b4680c09e8b1f03980d8350a0e1e7eb03060031788f972e0d4d47203e'
'139eed988bfaf8edc8ccdfd0b668382bd63db48ce17be91776182a7e28e9d88c'
'c19146931c6ab8e53092bd9b2ebbfda5c76fd22ad3b1d42dcda3dd1b61f123ff'
'e4af7891e816b9549ebeff766a78036626c0e278734e5625b8e7d68729530ded'
'48d76cc6f25caa79b3f527c96a0883b1decb9012f6616f61336c8d43791bf007'
'0bd45d9de6456c4f9adf32e726f2db3a3cd0423c1d161b442e8a1666d2e68e3f'
'012cc60ffdcb0e061d04d404eb9232734554aef4dc4b551f66adf82a655e6e41'
'633d334c55395fac3f16dbe56dd7b7524d560b513d1895b53c89943033a45f39'
'0e1ad0a6a72b0c22025a556c23235a8f663427f1e769c45fe39d1c525bf82eff'
'40e0760810a49f925f2ae9f986940b40eba477dc6d3e83a78baaae096513b3cf'
'592f9ed540adbe94095071e4c327aefe85ee5ca057a086a9935847f36aca3be8'
'3f0af16958c3e057b9baa5afc47050d9adf7dd553274dd97ae4f35938fefb568'
'50a9b7fd19e8beb1dea09755f07318f36be0b7ec53d3c9e74f3266a63e682c0c')
prepare() {
cd $pkgname-${pkgver//_/-}/
### Patching
# Security Patches
patch -Np1 -i $srcdir/xsa108.patch
# Compile Patches
patch -Np1 -i $srcdir/disable-unneeded.patch
# OVMF Compile support (Pulls from GIT repo, so patching to patch after pull request)
patch -Np1 -i $srcdir/ovmf.patch
cp $srcdir/ovmf-gcc4.9-basetools.patch tools/firmware/
cp $srcdir/ovmf-gcc4.9-ovmfpkg.patch tools/firmware/
# Uncomment line below if you want to enable ATI Passthrough support (some reported successes, untested with 4.4)
patch -Np1 -i ../ati-passthrough.patch
# Fix Install Paths
sed -i 's:/sbin:/bin:' config/StdGNU.mk
sed -i 's:/var/lock:/run/lock:' config/StdGNU.mk
sed -i 's:/var/run:/run:' config/StdGNU.mk
# Bypass distribution auto-discovery
echo "CONFIG_LEAF_DIR=default" >> .config
echo "SUBSYS_DIR=/run" >> .config
echo "INITD_DIR=/etc/init.d" >> .config
# Copy supporting tarballs into place
cp $srcdir/lwip-1.3.0.tar.gz stubdom/
cp $srcdir/zlib-1.2.3.tar.gz stubdom/
cp $srcdir/newlib-1.16.0.tar.gz stubdom/
cp $srcdir/pciutils-2.2.9.tar.bz2 stubdom/
cp $srcdir/polarssl-1.1.4-gpl.tgz stubdom/
cp $srcdir/grub-0.97.tar.gz stubdom/
cp $srcdir/tpm_emulator-0.7.4.tar.gz stubdom/
cp $srcdir/gmp-4.3.2.tar.bz2 stubdom/
cp $srcdir/ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz tools/firmware/etherboot/ipxe.tar.gz
}
build() {
export CFLAGS+='-Wall -Wstrict-prototypes -Wno-unused-local-typedefs -Wno-sizeof-pointer-memaccess'
cd $pkgname-${pkgver//_/-}/
./autogen.sh
# ./configure PYTHON=/usr/bin/python2 --prefix=/usr --localstatedir=/run --enable-ovmf
./configure PYTHON=/usr/bin/python2 --prefix=/usr --localstatedir=/run --enable-xend --enable-ovmf
echo "buildconfig==========================================================================================="
make LANG=C PYTHON=python2 dist-{xen,tools,kernels}
unset CFLAGS
make LANG=C PYTHON=python2 dist-stubdom
echo "donebuild==========================================================================================="
}
package() {
cd $pkgname-${pkgver//_/-}/
echo "package cd==========================================================================================="
make DESTDIR="$pkgdir" LANG=C PYTHON=python2 install-{xen,tools,kernels,stubdom}
echo "makedest==========================================================================================="
# Install files from AUR package
cd ../
for f in ${source[@]}; do
[[ $f =~ .mount || $f =~ .service ]] && install -Dm644 $f "$pkgdir"/usr/lib/systemd/system/$f
done
echo "mount==========================================================================================="
export dougsbld=pkginstalling
install -Dm644 tmpfiles.d-$pkgname.conf "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf
install -Dm644 $pkgname.conf "$pkgdir"/etc/modules-load.d/$pkgname.conf
install -Dm644 conf.d-xenstored "$pkgdir"/etc/conf.d/xenstored
install -Dm644 conf.d-xenconsoled "$pkgdir"/etc/conf.d/xenconsoled
echo "installxen==========================================================================================="
install -Dm644 grub.conf "$pkgdir"/etc/xen/grub.conf
install -Dm755 09_xen "$pkgdir"/etc/grub.d/09_xen
install -Dm644 efi-xen.cfg "$pkgdir"/etc/xen/efi-xen.cfg
echo "installcd==========================================================================================="
cd "$pkgdir"
# Fix paths in scripts, move to right locations and create missing directories
sed -i 's:/etc/sysconfig:/etc/conf.d:' etc/init.d/xendomains
sed -i 's:/var/lock:/run/lock:' etc/init.d/xendomains
sed -i 's:/var/lock:/run/lock:' etc/xen/scripts/hotplugpath.sh
sed -i 's:/var/run:/run:' etc/init.d/xencommons
sed -i 's:/var/run:/run:' etc/xen/scripts/hotplugpath.sh
sed -i 's:/var/run:/run:' etc/xen/scripts/locking.sh
mv etc/init.d/xencommons etc/xen/scripts/xencommons
mv etc/init.d/xendomains etc/xen/scripts/xendomains
mv etc/init.d/xen-watchdog etc/xen/scripts/xen-watchdog
mv etc/default/xencommons etc/conf.d/xencommons
mv etc/default/xendomains etc/conf.d/xendomains
mv var/xen/dump var/lib/xen/
mkdir var/log/xen/console
# Sanitize library path (if lib64 exists)
if [[ -d usr/lib64 ]]; then
cd usr/
cp -r lib64/* lib/
rm -rf lib64
cd ../
fi
# If EFI binaries build, move to /boot
if [[ -f usr/lib/efi/xen.efi ]]; then
mv usr/lib/efi/xen-${pkgver//_/-}.efi "$pkgdir"/boot/xen-${pkgver//_/-}.efi
rm -rf usr/lib/efi
fi
# Compress syms file and move to a share location
gzip boot/$pkgname-syms-*
mv boot/$pkgname-syms-*.gz usr/share/xen
##### Kill unwanted stuff #####
# hypervisor symlinks
rm -f boot/xen{,-4,-4.4}.gz
# Documentation cleanup ( see xen-docs package )
rm -rf usr/share/doc
rm -rf usr/share/man
# Pointless helper cleanup
rm -f usr/bin/xen-python-path
# Unnecessary qemu support files
rm -rf usr/bin/qemu-*-xen
rm -rf usr/etc
rm -rf usr/libexec
rm usr/share/qemu-xen/qemu/{palcode,openbios}-*
rm usr/share/xen/qemu/openbios-*
# Clean up udev rules naming
mv etc/udev/rules.d/xen-backend.rules etc/udev/rules.d/40-xen-backend.rules
# Cleanup additional leftover files
rm -rf usr/include/cacard
rm -f usr/lib/libcacard*
rm -f usr/lib/pkgconfig/libcacard.pc
# Clean up left over empty directories
rm -rf var/run var/lock var/xen etc/default etc/init.d
# adhere to Static Library Packaging Guidelines
rm -rf usr/lib/*.a
}
[root@archxen xen-4.5.0_rc1]# makepkg -s --asroot
==> Making package: xen 4.5.0_rc1-1 (Thu Oct 30 19:06:05 CDT 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found xen-4.5.0-rc1.tar.gz
-> Found ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz
-> Found lwip-1.3.0.tar.gz
-> Found zlib-1.2.3.tar.gz
-> Found newlib-1.16.0.tar.gz
-> Found pciutils-2.2.9.tar.bz2
-> Found polarssl-1.1.4-gpl.tgz
-> Found grub-0.97.tar.gz
-> Found tpm_emulator-0.7.4.tar.gz
-> Found gmp-4.3.2.tar.bz2
-> Found xen.install
-> Found 09_xen
-> Found ati-passthrough.patch
-> Found disable-unneeded.patch
-> Found ovmf.patch
-> Found ovmf-gcc4.9-basetools.patch
-> Found ovmf-gcc4.9-ovmfpkg.patch
-> Found xsa108.patch
-> Found proc-xen.mount
-> Found var-lib-xenstored.mount
-> Found xenconsoled.service
-> Found conf.d-xenconsoled
-> Found xendomains.service
-> Found xendomU@.service
-> Found xenstored.service
-> Found conf.d-xenstored
-> Found tmpfiles.d-xen.conf
-> Found efi-xen.cfg
-> Found grub.conf
-> Found xen.conf
==> Validating source files with sha256sums...
xen-4.5.0-rc1.tar.gz ... Passed
ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz ... Passed
lwip-1.3.0.tar.gz ... Passed
zlib-1.2.3.tar.gz ... Passed
newlib-1.16.0.tar.gz ... Passed
pciutils-2.2.9.tar.bz2 ... Passed
polarssl-1.1.4-gpl.tgz ... Passed
grub-0.97.tar.gz ... Passed
tpm_emulator-0.7.4.tar.gz ... Passed
gmp-4.3.2.tar.bz2 ... Passed
xen.install ... Passed
09_xen ... Passed
ati-passthrough.patch ... Passed
disable-unneeded.patch ... Passed
ovmf.patch ... Passed
ovmf-gcc4.9-basetools.patch ... Passed
ovmf-gcc4.9-ovmfpkg.patch ... Passed
xsa108.patch ... Passed
proc-xen.mount ... Passed
var-lib-xenstored.mount ... Passed
xenconsoled.service ... Passed
conf.d-xenconsoled ... Passed
xendomains.service ... Passed
xendomU@.service ... Passed
xenstored.service ... Passed
conf.d-xenstored ... Passed
tmpfiles.d-xen.conf ... Passed
efi-xen.cfg ... Passed
grub.conf ... Passed
xen.conf ... Passed
==> Extracting sources...
-> Extracting xen-4.5.0-rc1.tar.gz with bsdtar
==> Starting prepare()...
patching file xen/arch/x86/hvm/hvm.c
Hunk #1 succeeded at 4355 (offset -25 lines).
Hunk #2 succeeded at 4482 (offset -24 lines).
patching file tools/qemu-xen-traditional/xen-setup
patching file tools/Makefile
Hunk #1 succeeded at 224 with fuzz 2 (offset 21 lines).
patching file tools/firmware/Makefile
Hunk #1 succeeded at 21 (offset 2 lines).
patching file tools/qemu-xen-traditional/hw/pass-through.c
patching file tools/qemu-xen-traditional/hw/pass-through.h
patching file tools/qemu-xen-traditional/hw/pci.h
patching file tools/qemu-xen-traditional/hw/pt-graphics.c
==> Removing existing pkg/ directory...
==> Starting build()...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
Will build the following subsystems:
xen
tools
stubdom
docs
configure: creating ./config.status
config.status: creating config/Toplevel.mk
config.status: creating config/Paths.mk
=== configuring in tools (/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' 'PYTHON=/usr/bin/python2' '--localstatedir=/run' '--enable-xend' '--enable-ovmf' --cache-file=/dev/null --srcdir=.
configure: WARNING: Setting CC, CFLAGS, LDFLAGS, LIBS, CPPFLAGS or CPP is not recommended, use PREPEND_INCLUDES, PREPEND_LIB, APPEND_INCLUDES and APPEND_LIB instead when possible.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... /usr/bin/bison
checking for flex... /usr/bin/flex
checking for perl... /usr/bin/perl
checking for ocamlc... ocamlc
OCaml version is 4.02.0
OCaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocaml... ocaml
checking for ocamldep... ocamldep
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamlbuild... ocamlbuild
checking for ocamlfind... ocamlfind
checking for gawk... gawk
checking for checkpolicy... no
checking for bash... /bin/sh
checking for python2... /usr/bin/python2
checking for python version >= 2.3 ... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for python2-config... /usr/bin/python2-config
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for PyArg_ParseTuple in -lpython2.7... yes
checking for xgettext... /usr/bin/xgettext
checking for as86... /usr/bin/as86
checking for ld86... /usr/bin/ld86
checking for bcc... /usr/bin/bcc
checking for iasl... /usr/bin/iasl
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_clear in -luuid... yes
checking uuid.h usability... yes
checking uuid.h presence... yes
checking for uuid.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for clear in -lcurses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for clear in -lncurses... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib... yes
checking for wget... /usr/bin/wget
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzDecompressInit in -lbz2... yes
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
checking for lzma_stream_decoder in -llzma... yes
checking lzo/lzo1x.h usability... yes
checking lzo/lzo1x.h presence... yes
checking for lzo/lzo1x.h... yes
checking for lzo1x_decompress in -llzo2... yes
checking for io_setup in -laio... yes
checking for MD5 in -lcrypto... yes
checking ext2fs/ext2fs.h usability... yes
checking ext2fs/ext2fs.h presence... yes
checking for ext2fs/ext2fs.h... yes
checking for ext2fs_open2 in -lext2fs... yes
checking ext4fs/ext2fs.h usability... no
checking ext4fs/ext2fs.h presence... no
checking for ext4fs/ext2fs.h... no
checking for gcry_md_hash_buffer in -lgcrypt... yes
checking for pthread flag... -pthread
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for openpty et al... -lutil
checking for yajl_alloc in -lyajl... yes
checking for deflateCopy in -lz... yes
checking for libiconv_open in -liconv... no
checking yajl/yajl_version.h usability... yes
checking yajl/yajl_version.h presence... yes
checking for yajl/yajl_version.h... yes
checking sys/eventfd.h usability... yes
checking sys/eventfd.h presence... yes
checking for sys/eventfd.h... yes
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking for LIBNL3... yes
checking systemd/sd-daemon.h usability... yes
checking systemd/sd-daemon.h presence... yes
checking for systemd/sd-daemon.h... yes
checking for sd_listen_fds in -lsystemd-daemon... yes
checking for systemd/sd-daemon.h... (cached) yes
checking for sd_listen_fds in -lsystemd-daemon... (cached) yes
checking for SYSTEMD... yes
configure: creating ./config.status
config.status: creating ../config/Tools.mk
config.status: creating hotplug/FreeBSD/rc.d/xencommons
config.status: creating hotplug/Linux/init.d/sysconfig.xencommons
config.status: creating hotplug/Linux/init.d/xen-watchdog
config.status: creating hotplug/Linux/init.d/xencommons
config.status: creating hotplug/Linux/init.d/xendomains
config.status: creating hotplug/Linux/systemd/proc-xen.mount
config.status: creating hotplug/Linux/systemd/var-lib-xenstored.mount
config.status: creating hotplug/Linux/systemd/xen-qemu-dom0-disk-backend.service
config.status: creating hotplug/Linux/systemd/xen-watchdog.service
config.status: creating hotplug/Linux/systemd/xenconsoled.service
config.status: creating hotplug/Linux/systemd/xendomains.service
config.status: creating hotplug/Linux/systemd/xenstored.service
config.status: creating hotplug/Linux/systemd/xenstored.socket
config.status: creating hotplug/Linux/systemd/xenstored_ro.socket
config.status: creating hotplug/Linux/vif-setup
config.status: creating hotplug/Linux/xen-backend.rules
config.status: creating hotplug/Linux/xen-hotplug-common.sh
config.status: creating hotplug/Linux/xendomains
config.status: creating hotplug/NetBSD/rc.d/xencommons
config.status: creating config.h
config.status: config.h is unchanged
=== configuring in stubdom (/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/stubdom)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' 'PYTHON=/usr/bin/python2' '--localstatedir=/run' '--enable-xend' '--enable-ovmf' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
xyy
checking for wget... /usr/bin/wget
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for cmake... /usr/bin/cmake
Will build the following stub domains:
pv-grub
xenstore-stubdom
vtpm-stubdom
vtpmmgr-stubdom
ioemu-stubdom
configure: creating ./config.status
config.status: creating ../config/Stubdom.mk
=== configuring in docs (/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/docs)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' 'PYTHON=/usr/bin/python2' '--localstatedir=/run' '--enable-xend' '--enable-ovmf' --cache-file=/dev/null --srcdir=.
checking for fig2dev... /usr/bin/fig2dev
checking for pod2man... /usr/bin/core_perl/pod2man
checking for pod2html... /usr/bin/core_perl/pod2html
checking for pod2text... /usr/bin/core_perl/pod2text
checking for pandoc... no
configure: WARNING: pandoc is not available so some documentation won't be built
checking for markdown... /usr/bin/markdown
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating ../config/Docs.mk
buildconfig===========================================================================================
make -C xen install
make -C tools install
make[1]: Entering directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen'
make -f Rules.mk _install
make: *** No rule to make target 'dist-kernels'. Stop.
make: *** Waiting for unfinished jobs....
make[2]: Entering directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen'
make[1]: Entering directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools'
make[2]: Entering directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools'
make -C include install
make[3]: Entering directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include'
make -C tools
make[3]: Entering directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/tools'
make -C xen-foreign
make[4]: Entering directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/xen-foreign'
make symbols
make[4]: Entering directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/tools'
./checker > tmp.size
diff -u reference.size tmp.size
rm tmp.size
make[4]: Leaving directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/xen-foreign'
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/../../tools/cross-install -d -m0755 -p /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/dist/install/usr/include/xen/arch-x86
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/../../tools/cross-install -d -m0755 -p /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/dist/install/usr/include/xen/arch-x86/hvm
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/../../tools/cross-install -d -m0755 -p /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/dist/install/usr/include/xen/arch-arm
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/../../tools/cross-install -d -m0755 -p /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/dist/install/usr/include/xen/arch-arm/hvm
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/../../tools/cross-install -d -m0755 -p /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/dist/install/usr/include/xen/foreign
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/../../tools/cross-install -d -m0755 -p /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/dist/install/usr/include/xen/hvm
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/../../tools/cross-install -d -m0755 -p /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/dist/install/usr/include/xen/io
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/../../tools/cross-install -d -m0755 -p /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/dist/install/usr/include/xen/sys
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/../../tools/cross-install -d -m0755 -p /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/dist/install/usr/include/xen/xsm
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include/../../tools/cross-install -m0644 -p xen/COPYING /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/dist/install/usr/include/xen
install: cannot stat 'xen/COPYING': No such file or directory
Makefile:24: recipe for target 'install' failed
make[3]: *** [install] Error 1
make[3]: Leaving directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/include'
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/../tools/Rules.mk:116: recipe for target 'subdir-install-include' failed
make[2]: *** [subdir-install-include] Error 2
make[2]: Leaving directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools'
/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools/../tools/Rules.mk:111: recipe for target 'subdirs-install' failed
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/tools'
Makefile:69: recipe for target 'install-tools' failed
make: *** [install-tools] Error 2
make[4]: 'symbols' is up to date.
make[4]: Leaving directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/tools'
make[3]: Leaving directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/tools'
make -f /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/Rules.mk include/xen/compile.h
make[3]: Entering directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen'
__ __ _ _ ____ _
\ \/ /___ _ __ | || | | ___| _ __ ___/ |
\ // _ \ '_ \ | || |_ |___ \ __| '__/ __| |
/ \ __/ | | | |__ _| ___) |__| | | (__| |
/_/\_\___|_| |_| |_|(_)____/ |_| \___|_|
make[3]: Leaving directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen'
[ -e include/asm ] || ln -sf asm-x86 include/asm
[ -e arch/x86/efi ] && for f in boot.c runtime.c compat.c efi.h;\
do ln -nsf ../../../common/efi/$f arch/x86/efi/; done;\
true
make -f /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/Rules.mk -C include
make[3]: Entering directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/include'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/include'
make -f /root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/Rules.mk -C arch/x86 asm-offsets.s
make[3]: Entering directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/arch/x86'
make[3]: *** No rule to make target '/root/build/xen-4.5.0-rc1/src/xen-4.5.0-rc1/xen/include/xen/config.h', needed by 'asm-offsets.s'. Stop.
make[3]: Leaving directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/arch/x86'
Makefile:100: recipe for target '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/xen' failed
make[2]: *** [/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen/xen] Error 2
make[2]: Leaving directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen'
Makefile:26: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/root/build/xen-4.5.0_rc1/src/xen-4.5.0-rc1/xen'
Makefile:65: recipe for target 'install-xen' failed
make: *** [install-xen] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Offline
well, it's been a lil while since you asked, but hmm building 4.6 unstable (editing the pkgbuild) worked swell.
except /etc/default.xendomains is missing so you will have to hack around a bit to get the vm's autostarted.
Last edited by solar (2015-02-24 08:03:19)
I am hilariously insane. yup. you won't notice though.. I promise...I think.
Offline