You are not logged in.
Newb here, I don't know too many things, thanks for helping.
I tried to build xen from the AUR with yay, but after a lot of build output, I finally got a error.
Here is the command output.
https://www.dropbox.com/s/26ugxa9rtc66n … ar.xz?dl=0
I already installed multilib-devel as instructed in wiki.
Hope people could help! Thanks!
Offline
Welcome to the forum. Please use a pastebin client that does not require us to download your log file. https://wiki.archlinux.org/index.php/Li … in_clients
Moving to AUR issues.
Offline
What was the error message? There is no error in that output - it just looks like the build process was killed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I found some posts on the arch forum that it was a PKGBUILD problem. I remember that PKGBUILDs are exclusive in arch systems, and the PKGBUILD in the aur package xen was broken according to some other posts. I will be trying to './configure&&make world&&make install' as in xenproject.org 's download, rather than installing from the AUR. I will see if that solves the problem.
What I am trying:
Download latest xen-$version.tar.gz from xenproject.org, login to root, cd to that folder just untared, and run
./configure
make world
make installLast edited by andrewyu (2020-04-24 05:28:56)
Offline
Welcome to the forum. Please use a pastebin client that does not require us to download your log file. https://wiki.archlinux.org/index.php/Li … in_clients
I tried to use some pastebin services, but I am not able to paste large (2.5 megabyte) texts there.
Offline
If only there was a place where the collected knowledge of arch users was stored to offer recommendations on such topics.
In a perfect world, there might even be a set of community guidelines for the forum, linked from several sticked posts in the forums that would direct someone to such knowledge.
We can only dream.
Last edited by Trilby (2020-04-24 12:54:29)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If it is https://aur.archlinux.org/packages/xen/#comment-739091
then I was able to fix it by switching to the system supplied ocaml and applying the patch from https://src.fedoraproject.org/rpms/xen/ … nch=master
git diff
diff --git a/PKGBUILD b/PKGBUILD
index 4d20f9c..293fce6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -74,23 +74,17 @@ source=(
# XSA patches.
# Compile fixes.
+ xen.ocaml.patch
)
-sha256sums=(
- "5450a85497b84167df1d229b3ab98fb24ef4d6b0510dce522798c13c1b090159"
- "SKIP"
- "fcb2b5da90a59a0011db7403a1ea7887b0dfb04ef91a7d31964c63ed14f7a426"
-
- # Helper and config files.
- "23c3b0eab4cb06260bd07324d2060356560c9bc52270aaaf6130e1c130fc6e5e"
- "ceaff798a92a7aef1465a0a0b27b1817aedd2c857332b456aaa6dd78dc72438f"
- "3f0af16958c3e057b9baa5afc47050d9adf7dd553274dd97ae4f35938fefb568"
- "50a9b7fd19e8beb1dea09755f07318f36be0b7ec53d3c9e74f3266a63e682c0c"
- "40e0760810a49f925f2ae9f986940b40eba477dc6d3e83a78baaae096513b3cf"
-
- # XSA patches.
-
- # Compile fixes.
-)
+sha256sums=('5450a85497b84167df1d229b3ab98fb24ef4d6b0510dce522798c13c1b090159'
+ 'SKIP'
+ 'fcb2b5da90a59a0011db7403a1ea7887b0dfb04ef91a7d31964c63ed14f7a426'
+ '23c3b0eab4cb06260bd07324d2060356560c9bc52270aaaf6130e1c130fc6e5e'
+ 'ceaff798a92a7aef1465a0a0b27b1817aedd2c857332b456aaa6dd78dc72438f'
+ '3f0af16958c3e057b9baa5afc47050d9adf7dd553274dd97ae4f35938fefb568'
+ '50a9b7fd19e8beb1dea09755f07318f36be0b7ec53d3c9e74f3266a63e682c0c'
+ '40e0760810a49f925f2ae9f986940b40eba477dc6d3e83a78baaae096513b3cf'
+ 'e97261dd5520bc3cdaa58e1d30ba550850ca926b4ad4510cd795e0602f6f5f0e')
noextract=(
"ipxe-git.tar.gz"
)
@@ -103,7 +97,7 @@ if [ "${_build_stubdom}" = true ] ; then
"newlib.tar.gz::http://xenbits.xen.org/xen-extfiles/newlib-1.16.0.tar.gz"
"lwip.tar.gz::http://xenbits.xen.org/xen-extfiles/lwip-1.3.0.tar.gz"
"grub.tar.gz::http://xenbits.xen.org/xen-extfiles/grub-0.97.tar.gz"
- "ocaml.tar.gz::http://caml.inria.fr/pub/distrib/ocaml-3.11/ocaml-3.11.0.tar.gz"
+# "ocaml.tar.gz::http://caml.inria.fr/pub/distrib/ocaml-3.11/ocaml-3.11.0.tar.gz"
"gmp.tar.bz2::http://xenbits.xen.org/xen-extfiles/gmp-4.3.2.tar.bz2"
"polarssl-gpl.tgz::http://xenbits.xen.org/xen-extfiles/polarssl-1.1.4-gpl.tgz"
"tpm_emulator.tar.gz::http://xenbits.xen.org/xen-extfiles/tpm_emulator-0.7.4.tar.gz"
@@ -125,7 +119,7 @@ if [ "${_build_stubdom}" = true ] ; then
"newlib.tar.gz"
"lwip.tar.gz"
"grub.tar.gz"
- "ocaml.tar.gz"
+# "ocaml.tar.gz"
"gmp.tar.bz2"
"polarssl-gpl.tgz"
"tpm_emulator.tar.gz"
@@ -156,6 +150,7 @@ prepare() {
msg2 'Applying misc compile fixes...'
# Compile fixes.
+ patch -p1 -i ../xen.ocaml.patch
# Fix Install Paths.
msg2 'Fixing installation paths...'
@@ -173,7 +168,7 @@ prepare() {
cp "${srcdir}/newlib.tar.gz" stubdom/
cp "${srcdir}/lwip.tar.gz" stubdom/
cp "${srcdir}/grub.tar.gz" stubdom/
- cp "${srcdir}/ocaml.tar.gz" stubdom/
+# cp "${srcdir}/ocaml.tar.gz" stubdom/
cp "${srcdir}/gmp.tar.bz2" stubdom/
cp "${srcdir}/polarssl-gpl.tgz" stubdom/
cp "${srcdir}/tpm_emulator.tar.gz" stubdom/Fedora then dropped that patch when updating to 4.13.0 so that would be another possiblity to investigate.
Edit:
4.13.0 builds without the patch:
diff --git a/PKGBUILD b/PKGBUILD
index 4d20f9c..e26345e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ _build_stubdom=${build_stubdom:-false}
pkgbase="xen"
pkgname=("xen" "xen-docs")
-pkgver="4.12.1"
+pkgver="4.13.0"
pkgrel="1"
arch=("x86_64") # TODO What about ARM?
url="http://www.xenproject.org/"
@@ -49,7 +49,7 @@ makedepends=(
"pandoc"
"pciutils"
"perl"
- "python2"
+ "python"
"sdl"
"spice"
"spice-glib"
@@ -75,22 +75,14 @@ source=(
# Compile fixes.
)
-sha256sums=(
- "5450a85497b84167df1d229b3ab98fb24ef4d6b0510dce522798c13c1b090159"
- "SKIP"
- "fcb2b5da90a59a0011db7403a1ea7887b0dfb04ef91a7d31964c63ed14f7a426"
-
- # Helper and config files.
- "23c3b0eab4cb06260bd07324d2060356560c9bc52270aaaf6130e1c130fc6e5e"
- "ceaff798a92a7aef1465a0a0b27b1817aedd2c857332b456aaa6dd78dc72438f"
- "3f0af16958c3e057b9baa5afc47050d9adf7dd553274dd97ae4f35938fefb568"
- "50a9b7fd19e8beb1dea09755f07318f36be0b7ec53d3c9e74f3266a63e682c0c"
- "40e0760810a49f925f2ae9f986940b40eba477dc6d3e83a78baaae096513b3cf"
-
- # XSA patches.
-
- # Compile fixes.
-)
+sha256sums=('c69ae21b2ddeaf25532a81a448fcc6a218bc56f93c8907b2d416b2d4339c0afe'
+ 'SKIP'
+ 'fcb2b5da90a59a0011db7403a1ea7887b0dfb04ef91a7d31964c63ed14f7a426'
+ '23c3b0eab4cb06260bd07324d2060356560c9bc52270aaaf6130e1c130fc6e5e'
+ 'ceaff798a92a7aef1465a0a0b27b1817aedd2c857332b456aaa6dd78dc72438f'
+ '3f0af16958c3e057b9baa5afc47050d9adf7dd553274dd97ae4f35938fefb568'
+ '50a9b7fd19e8beb1dea09755f07318f36be0b7ec53d3c9e74f3266a63e682c0c'
+ '40e0760810a49f925f2ae9f986940b40eba477dc6d3e83a78baaae096513b3cf')
noextract=(
"ipxe-git.tar.gz"
)
@@ -103,7 +95,6 @@ if [ "${_build_stubdom}" = true ] ; then
"newlib.tar.gz::http://xenbits.xen.org/xen-extfiles/newlib-1.16.0.tar.gz"
"lwip.tar.gz::http://xenbits.xen.org/xen-extfiles/lwip-1.3.0.tar.gz"
"grub.tar.gz::http://xenbits.xen.org/xen-extfiles/grub-0.97.tar.gz"
- "ocaml.tar.gz::http://caml.inria.fr/pub/distrib/ocaml-3.11/ocaml-3.11.0.tar.gz"
"gmp.tar.bz2::http://xenbits.xen.org/xen-extfiles/gmp-4.3.2.tar.bz2"
"polarssl-gpl.tgz::http://xenbits.xen.org/xen-extfiles/polarssl-1.1.4-gpl.tgz"
"tpm_emulator.tar.gz::http://xenbits.xen.org/xen-extfiles/tpm_emulator-0.7.4.tar.gz"
@@ -125,7 +116,6 @@ if [ "${_build_stubdom}" = true ] ; then
"newlib.tar.gz"
"lwip.tar.gz"
"grub.tar.gz"
- "ocaml.tar.gz"
"gmp.tar.bz2"
"polarssl-gpl.tgz"
"tpm_emulator.tar.gz"
@@ -173,7 +163,6 @@ prepare() {
cp "${srcdir}/newlib.tar.gz" stubdom/
cp "${srcdir}/lwip.tar.gz" stubdom/
cp "${srcdir}/grub.tar.gz" stubdom/
- cp "${srcdir}/ocaml.tar.gz" stubdom/
cp "${srcdir}/gmp.tar.bz2" stubdom/
cp "${srcdir}/polarssl-gpl.tgz" stubdom/
cp "${srcdir}/tpm_emulator.tar.gz" stubdom/
@@ -191,7 +180,7 @@ build() {
# Configure Xen.
msg2 'Configuring...'
./autogen.sh
- PYTHON=/usr/bin/python2 ./configure \
+ ./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--with-sysconfig-leaf-dir=conf.d \
@@ -213,11 +202,10 @@ build() {
--disable-smartcard \
--disable-fdt \
--enable-spice \
- --enable-usb-redir \
- --with-sdlabi=1.2"
+ --enable-usb-redir"
msg2 'Building Xen...'
- make LANG=C PYTHON=python2 dist
+ make LANG=C dist
}
package_xen() {
@@ -237,7 +225,7 @@ package_xen() {
"libpng"
"lzo"
"pciutils"
- "python2"
+ "python"
"sdl"
"spice"
"usbredir"
@@ -264,7 +252,7 @@ package_xen() {
cd "${srcdir}/${pkgbase}-${pkgver}"
msg2 'Installing Xen...'
- make DESTDIR="${pkgdir}" LANG=C PYTHON=python2 install
+ make DESTDIR="${pkgdir}" LANG=C install
# Install files for Arch Linux.
msg2 'Installing Arch-specific files...'
@@ -322,5 +310,5 @@ package_xen-docs() {
cd "${srcdir}/${pkgbase}-${pkgver}"
msg2 'Installing documentation...'
- make DESTDIR="${pkgdir}" LANG=C PYTHON=python2 install-docs
+ make DESTDIR="${pkgdir}" LANG=C install-docs
}Last edited by loqs (2020-04-24 19:25:26)
Offline