Hello everyone,
I don’t know if I should report this as a bug or if it’s a user error so I’m posting it here on the forums.
This is the guide I followed: https://github.com/Qubes-Community/Contents/blob/master/docs/building/building-archlinux-template.md
I am using a fedora-32-minimal template to build.
vmm-xen-vm-archlinux.log
==> Retrieving sources...
-> Found xen-4.8.5.tar.gz
-> Found series-vm.conf
-> Found apply-patches
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting xen-4.8.5.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Starting build()...
+ patch -s -F0 -E -p1 --no-backup-if-mismatch -i ./patch-xen-no-downloads.patch
+ patch -s -F0 -E -p1 --no-backup-if-mismatch -i ./patch-xen-hotplug-external-store.patch
+ patch -s -F0 -E -p1 --no-backup-if-mismatch -i ./patch-xen-tools-qubes-vm.patch
+ patch -s -F0 -E -p1 --no-backup-if-mismatch -i ./patch-xen-gcc10-fixes.patch
1 out of 1 hunk FAILED -- saving rejects to file tools/xenstore/xenstored_core.h.rej
++ echo '*** patch ./patch-xen-gcc10-fixes.patch failed ***'
*** patch ./patch-xen-gcc10-fixes.patch failed ***
==> ERROR: A failure occurred in build().
Aborting...
make[2]: *** [/home/user/qubes-builder/qubes-src/builder-archlinux/Makefile.archlinux:134: dist-package] Error 4
xenstored_core.h.rej
--- tools/xenstore/xenstored_core.h
+++ tools/xenstore/xenstored_core.h
@@ -209,7 +209,7 @@ void finish_daemonize(void);
/* Open a pipe for signal handling */
void init_pipe(int reopen_log_pipe[2]);
-xengnttab_handle **xgt_handle;
+extern xengnttab_handle **xgt_handle;
int remember_string(struct hashtable *hash, const char *str);