I just want to add that gcc_multilib is indeed necessary to build the package. I was trying to build for a day or two, and with the errors that I was getting, everything led to gcc not being 32 bit capable. So, as daniel_shub pointed out, I tried installing gcc_multilib. With that, the making of xen proceeded flawlessly.
Search Criteria
Package Details: xen-stubdom 4.20.0-2
Package Actions
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)
- xenAUR
- acpica (make)
- bison (byacc-bisonAUR, bison-gitAUR) (make)
- bridge-utils (make)
- fig2dev (fig2dev-gitAUR) (make)
- flex (flex-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- gnutls (gnutls-gitAUR) (make)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (make)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR) (make)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR) (make)
- libaio (libaio-gitAUR) (make)
- libuuid.so (util-linux-libs-aesAUR, util-linux-libs-selinuxAUR, lib32-util-linux, util-linux-libs) (make)
- libx11 (libx11-gitAUR) (make)
- lzo (make)
- ncurses (ncurses-gitAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- pandoc (pandoc-sile-gitAUR, pandoc-static-gitAUR, pandoc-binAUR, pandoc-cli) (make)
- pciutils (pciutils-gitAUR) (make)
- pixman (pixman-gitAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-setuptools (make)
- sdl2AUR (sdl2-gitAUR, sdl2-compat-gitAUR, sdl2-compat) (make)
- systemd (systemd-chromiumosAUR, systemd-fmlAUR, systemd-gitAUR, systemd-selinuxAUR) (make)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-fmlAUR, systemd-libs-gitAUR, systemd-libs-selinuxAUR) (make)
- valgrind (valgrind-gitAUR) (make)
- vde2 (vdeplug4-gitAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
- yajl (yajl-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- linux-headers (optional) – extract bootable kernel for PV grub using "extract_vmlinux"
- seabios (optional) – SeaBIOS payload support
- xen-docsAUR (optional) – HTML documentation and man pages
- xen-edk2AUR (optional) – UEFI support
- xen-grub-pv32AUR (optional) – 32bit PV booting support
- xen-grub-pv64AUR (optional) – 64bit PV booting support
- xen-grub-pvhAUR (optional) – PVH booting support
- xen-qemuAUR (xen-qemuAUR) (optional) – HVM and PV support, nearly required for Xen
- xen-stubdomAUR (optional) – Xen stubdom support
Required by (3)
- xen (optional)
- xen-docs (optional)
- xen-stubdom (optional)
Sources (13)
- efi-xen.cfg
- git+https://xenbits.xen.org/git-http/xen.git#branch=stable-4.20
- http://xenbits.xen.org/xen-extfiles/grub-0.97.tar.gz
- http://xenbits.xen.org/xen-extfiles/lwip-1.3.0.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/zlib-1.2.3.tar.gz
- tmpfiles.conf
- xen-amd-ucode.hook
- xen-intel-ucode.hook
- xen-ucode-extract.sh
- xen.conf
Latest Comments
« First ‹ Previous 1 .. 29 30 31 32 33 34 35 36 37 38 39 .. 101 Next › Last »
ephreal commented on 2015-10-26 20:13 (UTC)
phg commented on 2015-10-22 05:51 (UTC)
Btw. I traced it down to the invocation of ``autogen.sh``
in ``build()``: If I comment that line, the package again
builds and installs flawlessly.
Since the package builds nicely without, is there any
real need for calling autotools explicitly instead of
just using the configure scripts that ship with the source?
phg commented on 2015-10-21 18:33 (UTC)
The build fails somewhere inside the Grub part of stubdom with the weirdest
compiler error ever. For reference, I’ll cite it in full:
mkdir -p grub-x86_64
CPPFLAGS="-isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../tools/xenstore/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86 -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include/ipv4 -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../xen/include" CFLAGS="-mno-red-zone -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 -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -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" make DESTDIR= -C grub OBJ_DIR=/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64
make[2]: Entering directory '/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub'
gcc -c -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../tools/xenstore/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86 -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include/ipv4 -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../xen/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/xenstore/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/libxc/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/include -I. -I../grub-upstream/stage1 -I../grub-upstream/stage2 -I../grub-upstream/netboot -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/firmware/vgabios -DWITHOUT_LIBC_STUBS -DSUPPORT_NETBOOT -DSUPPORT_GRAPHICS -DSUPPORT_SERIAL -DPRESET_MENU_STRING='""' -DPACKAGE='"grubdom"' -DVERSION='"0.97"' -D__ASSEMBLY__ -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/x86 -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/x86/x86_64 -DFSYS_TFTP=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -mno-red-zone -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 -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -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 -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs boot-x86_64.S -o /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/boot-x86_64.o
mkdir -p /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/netboot /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/stage2
touch /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/dirs
gcc -c -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../tools/xenstore/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86 -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/lwip-x86_64/src/include/ipv4 -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/../xen/include -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/posix -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/xenstore/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/libxc/include -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/include -I. -I../grub-upstream/stage1 -I../grub-upstream/stage2 -I../grub-upstream/netboot -I/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../tools/firmware/vgabios -DWITHOUT_LIBC_STUBS -DSUPPORT_NETBOOT -DSUPPORT_GRAPHICS -DSUPPORT_SERIAL -DPRESET_MENU_STRING='""' -DPACKAGE='"grubdom"' -DVERSION='"0.97"' -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/x86 -isystem /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub/../../extras/mini-os/include/x86/x86_64 -DFSYS_TFTP=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -mno-red-zone -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 -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -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 -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs ../grub-upstream/netboot/fsys_tftp.c -o /home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/netboot/fsys_tftp.o
In file included from ../grub-upstream/netboot/etherboot.h:34:0,
from ../grub-upstream/netboot/fsys_tftp.c:34:
../grub-upstream/netboot/fsys_tftp.c: In function ‘send_rrq’:
../grub-upstream/stage2/shared.h:44:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# define RAW_ADDR(x) ((x) + (int) grub_scratch_mem)
^
../grub-upstream/stage2/shared.h:92:18: note: in expansion of macro ‘RAW_ADDR’
#define FSYS_BUF RAW_ADDR (0x68000)
^
../grub-upstream/netboot/fsys_tftp.c:271:18: note: in expansion of macro ‘FSYS_BUF’
buf = (char *) FSYS_BUF;
^
../grub-upstream/netboot/fsys_tftp.c: In function ‘buf_fill’:
../grub-upstream/netboot/fsys_tftp.c:258:1: error: extended registers have no high halves
}
^
Makefile:79: recipe for target '/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/netboot/fsys_tftp.o' failed
make[2]: *** [/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub-x86_64/netboot/fsys_tftp.o] Error 1
make[2]: Leaving directory '/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom/grub'
Makefile:406: recipe for target 'grub' failed
make[1]: *** [grub] Error 2
make[1]: Leaving directory '/home/build/src/makepkg-tmp/xen/src/xen-4.5.1/stubdom'
Makefile:73: recipe for target 'install-stubdom' failed
make: *** [install-stubdom] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Interestingly, the package built without trouble inside an Arch VM I set up at
work. Also, the vanilla xen-4.5.1 source itself builds nicely, even with the
same configure options. Something about this PKGBUILD makes the build error out
as above.
trixpan commented on 2015-10-17 18:55 (UTC)
multilib sorted compiling issues in here as well.
However, after a successful build I had:
Blank xenstore after boot (visible by Dom0 showing up as null)
Unable to start any VM with a NIC.
NicolasCPA commented on 2015-10-13 05:23 (UTC)
@zootboy: Thanks.
zootboy commented on 2015-10-13 04:46 (UTC)
@NicolasCPA: Yaourt uses /tmp as its build dir. Arch defaults to making this a ramdrive. If there isn't enough space available to do a full build, redirect yaourt's build dir to a disk instead.
kantras commented on 2015-08-31 15:41 (UTC)
This is on my list of enhancements, that will be coming soon
daniel_shub commented on 2015-08-31 14:56 (UTC)
The update to spice-protcol got me around the first error I was having. I then ran into the error reported by piwwo. I got around that by installing gcc-multilib instead of the standard gcc. I think the makedepends should be updated to include gcc-multilib as an explicit dependency. I think the AUR guidelines state that the base-devel group can be expected, but gcc-multilib is part of the multilib-devel group.
pdc commented on 2015-08-29 13:13 (UTC)
It compiled for me with the latest version of spice-protocol (0.12.9-1).
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:
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