Still, failed to build the package:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... i686-xen-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Makefile:83: recipe for target 'cross-root-i686/i686-xen-elf/lib/libc.a' failed
make[1]: *** [cross-root-i686/i686-xen-elf/lib/libc.a] Error 77
make[1]: Leaving directory '/home/build/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...
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 .. 28 29 30 31 32 33 34 35 36 37 38 .. 101 Next › Last »
baratharon commented on 2015-11-22 18:01 (UTC)
bullekeup commented on 2015-11-11 00:44 (UTC) (edited on 2015-11-13 00:24 (UTC) by bullekeup)
@ImATiger :
I'm unable to reproduce the problem you encounter... I just have rebuild xen from scratch, just to be sure, no problem... Maybe a network problem ? (proxy, DNS, ...)
@ata :
You need to apply the patch supplied earlier (see previous comments) in order to be able to compile 32 bit executables. Or you can apply this patch for the PKGBUILD, with build dependencies on each package instead of multilib-devel meta package:
--- PKGBUILD 2015-07-05 01:43:49.000000000 +0200
+++ PKGBUILD_new 2015-11-11 01:32:11.575921000 +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+=(gcc-multilib lib32-fakeroot lib32-libltdl)
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 :
Have you enough RAM available to compile the package ? I had issues in the past with many packages because they were to heavy to be compiled in RAM and since yaourt works in RAM by default (tmpfs)... Maybe try compiling the package yourself outside /tmp ?
If this is not the problem, I don't think it is linked with makepkg / AUR system (I personally have successfully build this package several times). Maybe try searching in Xen mailing lists, and report your issue upstream if needed.
ImATiger commented on 2015-11-10 04:26 (UTC)
I've been trying to build xen for a couple days. It times out trying to download from xenbits.xen.org.
This is just to inform anyone who can fix it.
ata commented on 2015-11-08 16:47 (UTC)
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... i686-xen-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Makefile:83: recipe for target 'cross-root-i686/i686-xen-elf/lib/libc.a' failed
make[1]: *** [cross-root-i686/i686-xen-elf/lib/libc.a] Error 77
make[1]: Leaving directory '/tmp/yaourt-tmp-ata/aur-xen/src/xen-4.5.1/stubdom'
Makefile:73: recipe for target 'install-stubdom' failed
make: *** [install-stubdom] Error 2
==> HATA: build() içinde bir hata oluştu.
Çıkılıyor...
==> HATA:makepkg xen'i inşa edemedi.
cokomoko commented on 2015-11-03 23:39 (UTC) (edited on 2015-11-03 23:42 (UTC) by cokomoko)
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]
==> -----------------------------------
==>
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...
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