My system updated
But it's a problem compilation:
make[6]: Entering directory '/tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools/firmware/seabios-dir-remote'
Building ld scripts
Version: rel-1.7.5-0-ge51488c-dirty-20151104_014113-cokomoko
Traceback (most recent call last):
File "./scripts/layoutrom.py", line 709, in <module>
main()
File "./scripts/layoutrom.py", line 671, in main
info16 = parseObjDump(infile16, '16')
File "./scripts/layoutrom.py", line 586, in parseObjDump
relocsection = sectionmap[sectionname]
KeyError: '.text.asm./tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools/firmware/seabios-dir-remote/src/fw/smp.c.79'
Makefile:155: recipe for target 'out/romlayout16.lds' failed
make[6]: *** [out/romlayout16.lds] Error 1
make[6]: Leaving directory '/tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools/firmware/seabios-dir-remote'
/tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools/firmware/../../tools/Rules.mk:116: recipe for target 'subdir-all-seabios-dir' failed
make[5]: *** [subdir-all-seabios-dir] Error 2
make[5]: Leaving directory '/tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools/firmware'
/tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools/firmware/../../tools/Rules.mk:111: recipe for target 'subdirs-all' failed
make[4]: *** [subdirs-all] Error 2
make[4]: Leaving directory '/tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools/firmware'
Makefile:38: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools/firmware'
/tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools/../tools/Rules.mk:116: recipe for target 'subdir-install-firmware' failed
make[2]: *** [subdir-install-firmware] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools'
/tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools/../tools/Rules.mk:111: recipe for target 'subdirs-install' failed
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-cokomoko/aur-xen/src/xen-4.5.1/tools'
Makefile:69: recipe for target 'install-tools' failed
make: *** [install-tools] Error 2
==> HATA: build() içinde bir hata oluştu.
Çıkılıyor...
==> HATA:makepkg xen'i inşa edemedi.
==> xen yeniden inşa edilsin mi ? [e/H]
==> -----------------------------------
==>
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.63 |
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)
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR)
- vde2 (vdeplug4-gitAUR)
- yajl (yajl-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- acpica (make)
- bin86AUR (make)
- bison (byacc-bisonAUR, bison-gitAUR) (make)
- bridge-utils (make)
- dev86AUR (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, lib32-glibc-eac-rocoAUR) (make)
- libaio (libaio-gitAUR) (make)
- libuuid.so (util-linux-libs-selinuxAUR, util-linux-libs-aesAUR, 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)
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR) (make)
- systemd (systemd-chromiumosAUR, systemd-selinuxAUR, sysupdated-systemd-gitAUR, systemd-fmlAUR, systemd-gitAUR) (make)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR, sysupdated-systemd-libs-gitAUR, systemd-libs-fmlAUR, systemd-libs-gitAUR) (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)
- edk2-ovmf (optional) – UEFI support
- grub-xen-gitAUR (optional) – GRUB and pvgrub2 bootloader support
- linux-headers (optional) – extract bootable non-zstd kernel for recent kernels
- seabios (optional) – SeaBIOS payload support
- xen-docsAUR (optional) – HTML documentation and man pages
- xen-qemuAUR (xen-qemuAUR) (optional) – HVM and PV support
Required by (3)
Sources (7)
Latest Comments
« First ‹ Previous 1 .. 28 29 30 31 32 33 34 35 36 37 38 .. 101 Next › Last »
cokomoko commented on 2015-11-03 23:39 (UTC) (edited on 2015-11-03 23:42 (UTC) by cokomoko)
kantras commented on 2015-11-03 22:56 (UTC)
FYI - I've been trying to free up some cycles in my spare time to go in and fix a number of things; more updates to follow
bullekeup commented on 2015-11-03 22:42 (UTC) (edited on 2015-11-03 22:43 (UTC) by bullekeup)
@cokomoko
The bug you have is an old one (see http://lists.xenproject.org/archives/html/xen-devel/2015-03/msg01687.html)
It was related to a misdeclared array in symbols.c : symbols_offsets array was declared with a size of 4 bytes (an integer, even on 64 bit machines by default),
triggering a warning / error on accesses bellow that size when building w/ some compilers (which is normal).
But it has been patched since then (verified in current source tarball)
I just builded Xen 4.5.1 on a fresh installed Arch (using patch provided before) without problem.
May be try updating your system and do a clean build of the package ?
cokomoko commented on 2015-11-03 22:07 (UTC)
@BuLLeKeUp
Makefile:128: recipe for target 'out/src/stacks.o' failed
make[6]: *** [out/src/stacks.o] Error 1
make[6]: Leaving directory '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.1/tools/firmware/seabios-dir-remote'
/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.1/tools/firmware/../../tools/Rules.mk:116: recipe for target 'subdir-all-seabios-dir' failed
make[5]: *** [subdir-all-seabios-dir] Error 2
make[5]: Leaving directory '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.1/tools/firmware'
/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.1/tools/firmware/../../tools/Rules.mk:111: recipe for target 'subdirs-all' failed
make[4]: *** [subdirs-all] Error 2
make[4]: Leaving directory '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.1/tools/firmware'
Makefile:38: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.1/tools/firmware'
/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.1/tools/../tools/Rules.mk:116: recipe for target 'subdir-install-firmware' failed
make[2]: *** [subdir-install-firmware] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.1/tools'
/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.1/tools/../tools/Rules.mk:111: recipe for target 'subdirs-install' failed
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.1/tools'
Makefile:69: recipe for target 'install-tools' failed
make: *** [install-tools] Error 2
==> HATA: build() içinde bir hata oluştu.
Çıkılıyor...
bullekeup commented on 2015-11-03 21:43 (UTC)
As ephreal and daniel_shub pointed out, multilib-devel meta package is needed to compile xen on x86_64 systems, so here is a patch for the PKGBUILD to add this build dependency on x86_64 systems.
--- PKGBUILD 2015-07-05 01:43:49.000000000 +0200
+++ PKGBUILD_new 2015-11-03 22:27:20.542693000 +0100
@@ -14,6 +14,7 @@
depends=(bridge-utils curl gnutls iproute2 libaio libcap-ng libiscsi libjpeg-turbo libpng libseccomp lzo2 nss pixman pciutils python python2 sdl yajl spice usbredir)
[[ "$CARCH" == "x86_64" ]] && depends+=(lib32-glibc)
makedepends=(bin86 cmake dev86 git iasl markdown ocaml-findlib figlet wget spice-protocol)
+[[ "$CARCH" == "x86_64" ]] && makedepends+=(multilib-devel)
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)
cokomoko commented on 2015-11-03 18:49 (UTC)
please update package:
symbols.c: In function 'symbols_lookup':
symbols.c:23:61: hata: array subscript is above array bounds [-Werror=array-bounds]
#define symbols_address(n) (SYMBOLS_ORIGIN + symbols_offsets[n])
^
symbols.c:128:47: bilgi: in expansion of macro 'symbols_address'
while (low && symbols_address(low - 1) == symbols_address(low))
^
symbols.c:23:61: hata: array subscript is above array bounds [-Werror=array-bounds]
#define symbols_address(n) (SYMBOLS_ORIGIN + symbols_offsets[n])
^
symbols.c:136:13: bilgi: in expansion of macro 'symbols_address'
if (symbols_address(i) > symbols_address(low)) {
^
cc1: all warnings being treated as errors
/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.0/xen/Rules.mk:168: recipe for target 'symbols.o' failed
make[4]: *** [symbols.o] Error 1
make[4]: Leaving directory '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.0/xen/common'
/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.0/xen/Rules.mk:156: recipe for target '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.0/xen/common/built_in.o' failed
make[3]: *** [/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.0/xen/common/built_in.o] Error 2
make[3]: Leaving directory '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.0/xen/arch/x86'
Makefile:100: recipe for target '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.0/xen/xen' failed
make[2]: *** [/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.0/xen/xen] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.0/xen'
Makefile:26: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-cokomoko/xen/src/xen-4.5.0/xen'
Makefile:65: recipe for target 'install-xen' failed
make: *** [install-xen] Error 2
==> HATA: build() içinde bir hata oluştu.
Çıkılıyor...
ephreal commented on 2015-10-26 20:13 (UTC)
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.
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.
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