==> Building on reshiram ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/virtiofsd ./ PKGBUILD 1,524 100% 0.00kB/s 0:00:00 1,524 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) virtiofsd-1.5.1-2.log 355 100% 346.68kB/s 0:00:00 355 100% 346.68kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,210 bytes received 98 bytes 872.00 bytes/sec total size is 1,719 speedup is 1.31 ==> Applying RISC-V patches... sending incremental file list ./ riscv64.patch 1,637 100% 0.00kB/s 0:00:00 1,637 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 918 bytes received 38 bytes 1,912.00 bytes/sec total size is 1,637 speedup is 1.71 patching file PKGBUILD ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root1 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root1]...done ==> Making package: virtiofsd 1.5.1-2 (Tue Mar 21 09:23:22 2023) ==> Retrieving sources...  -> Downloading virtiofsd-v1.5.1.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 39590 0 39590 0 0 37681 0 --:--:-- 0:00:01 --:--:-- 37704 100 109k 0 109k 0 0 81561 0 --:--:-- 0:00:01 --:--:-- 81605  -> Downloading remove-unsupport-syscall.patch... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1162 100 1162 0 0 1536 0 --:--:-- --:--:-- --:--:-- 1537 ==> Validating source files with sha512sums... virtiofsd-v1.5.1.tar.gz ... Passed remove-unsupport-syscall.patch ... Passed ==> Validating source files with b2sums... virtiofsd-v1.5.1.tar.gz ... Passed remove-unsupport-syscall.patch ... Passed ==> Making package: virtiofsd 1.5.1-2 (Tue Mar 21 09:24:08 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25l:: There are 2 providers available for cargo: :: Repository extra 1) rust :: Repository community 2) rustup Enter a number (default=1): resolving dependencies... looking for conflicting packages... Package (3) New Version Net Change core/libedit 20221030_3.1-1 0.24 MiB extra/llvm-libs 15.0.7-2 99.58 MiB extra/rust 1:1.67.1-1 541.81 MiB Total Installed Size: 641.62 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm-libs... installing rust... Optional dependencies for rust gdb: rust-gdb script lldb: rust-lldb script [?25h==> Retrieving sources...  -> Found virtiofsd-v1.5.1.tar.gz  -> Found remove-unsupport-syscall.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting virtiofsd-v1.5.1.tar.gz with bsdtar ==> Starting prepare()... can't find file to patch at input line 21 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 92a7b56fe7223d3cc5ee500d88104844897cfc39 Mon Sep 17 00:00:00 2001 |From: Avimitin |Date: Mon, 20 Mar 2023 15:41:30 +0800 |Subject: [PATCH] Remove unsupport syscall in linux/riscv64 | |The `renameat` syscall is not implemented in riscv64 according to |https://marcin.juszkiewicz.com.pl/download/tables/syscalls.html. |The `renameat` API is a wrapper for `renameat2`. This merge request adds |a compile condition to exclude target architecture `riscv64` from |`allow_syscall!(ctx, libc::SYS_renameat)`. | |Signed-off-by: Avimitin |--- | src/seccomp.rs | 1 + | 1 file changed, 1 insertion(+) | |diff --git a/src/seccomp.rs b/src/seccomp.rs |index b57fa04..937a1fa 100644 |--- a/src/seccomp.rs |+++ b/src/seccomp.rs -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored ==> ERROR: A failure occurred in prepare().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root1/build receiving incremental file list virtiofsd-1.5.1-2-riscv64-prepare.log sent 43 bytes received 794 bytes 558.00 bytes/sec total size is 1,095 speedup is 1.31