==> Building on bergmite ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/libx86 ./ .SRCINFO 621 100% 0.00kB/s 0:00:00 621 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=7/9) .nvchecker.toml 96 100% 93.75kB/s 0:00:00 96 100% 93.75kB/s 0:00:00 (xfr#2, to-chk=6/9) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=5/9) PKGBUILD 1,076 100% 1.03MB/s 0:00:00 1,076 100% 1.03MB/s 0:00:00 (xfr#4, to-chk=4/9) REUSE.toml 211 100% 206.05kB/s 0:00:00 211 100% 206.05kB/s 0:00:00 (xfr#5, to-chk=3/9) libx86-1.1.1-1.log 729 100% 711.91kB/s 0:00:00 729 100% 711.91kB/s 0:00:00 (xfr#6, to-chk=2/9) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE sent 2,552 bytes received 182 bytes 1,822.67 bytes/sec total size is 2,855 speedup is 1.04 ==> Patching arch to riscv64... ==> Running pkgctl build --arch riscv64 on remote host... ==> WARNING: invalid architecture: riscv64 ==> Updating pacman database cache [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==> Building libx86  -> repo: extra  -> arch: riscv64  -> worker: felix-0 ==> Building libx86 for [extra] (riscv64) ]3008;start=6e096134c2d94a1c8d26968a749790ff;user=root;hostname=bergmite.felixc.at;machineid=01ca1404c26b4b3a80152fb4f25f4ca7;bootid=54cd98ae65804780b35eed37460e847a;pid=2366680;comm=systemd-nspawn;container=arch-nspawn-2366680;type=container\]11;?\]2;🔵 Container arch-nspawn-2366680 on bergmite.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h[!p]104\[?7h]3008;end=6e096134c2d94a1c8d26968a749790ff\==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-0]...done ==> Making package: libx86 1.1.1-1 (Sat May 2 19:36:11 2026) ==> Retrieving sources...  -> Cloning libx86 git repo... Cloning into bare repository '/home/felix/packages/libx86/libx86'... warning: redirecting to https://gitlab.archlinux.org/grawlinson/libx86.git/ remote: Enumerating objects: 95, done. remote: Counting objects: 2% (1/41) remote: Counting objects: 4% (2/41) remote: Counting objects: 7% (3/41) remote: Counting objects: 9% (4/41) remote: Counting objects: 12% (5/41) remote: Counting objects: 14% (6/41) remote: Counting objects: 17% (7/41) remote: Counting objects: 19% (8/41) remote: Counting objects: 21% (9/41) remote: Counting objects: 24% (10/41) remote: Counting objects: 26% (11/41) remote: Counting objects: 29% (12/41) remote: Counting objects: 31% (13/41) remote: Counting objects: 34% (14/41) remote: Counting objects: 36% (15/41) remote: Counting objects: 39% (16/41) remote: Counting objects: 41% (17/41) remote: Counting objects: 43% (18/41) remote: Counting objects: 46% (19/41) remote: Counting objects: 48% (20/41) remote: Counting objects: 51% (21/41) remote: Counting objects: 53% (22/41) remote: Counting objects: 56% (23/41) remote: Counting objects: 58% (24/41) remote: Counting objects: 60% (25/41) remote: Counting objects: 63% (26/41) remote: Counting objects: 65% (27/41) remote: Counting objects: 68% (28/41) remote: Counting objects: 70% (29/41) remote: Counting objects: 73% (30/41) remote: Counting objects: 75% (31/41) remote: Counting objects: 78% (32/41) remote: Counting objects: 80% (33/41) remote: Counting objects: 82% (34/41) remote: Counting objects: 85% (35/41) remote: Counting objects: 87% (36/41) remote: Counting objects: 90% (37/41) remote: Counting objects: 92% (38/41) remote: Counting objects: 95% (39/41) remote: Counting objects: 97% (40/41) remote: Counting objects: 100% (41/41) remote: Counting objects: 100% (41/41), done. remote: Compressing objects: 2% (1/40) remote: Compressing objects: 5% (2/40) remote: Compressing objects: 7% (3/40) remote: Compressing objects: 10% (4/40) remote: Compressing objects: 12% (5/40) remote: Compressing objects: 15% (6/40) remote: Compressing objects: 17% (7/40) remote: Compressing objects: 20% (8/40) remote: Compressing objects: 22% (9/40) remote: Compressing objects: 25% (10/40) remote: Compressing objects: 27% (11/40) remote: Compressing objects: 30% (12/40) remote: Compressing objects: 32% (13/40) remote: Compressing objects: 35% (14/40) remote: Compressing objects: 37% (15/40) remote: Compressing objects: 40% (16/40) remote: Compressing objects: 42% (17/40) remote: Compressing objects: 45% (18/40) remote: Compressing objects: 47% (19/40) remote: Compressing objects: 50% (20/40) remote: Compressing objects: 52% (21/40) remote: Compressing objects: 55% (22/40) remote: Compressing objects: 57% (23/40) remote: Compressing objects: 60% (24/40) remote: Compressing objects: 62% (25/40) remote: Compressing objects: 65% (26/40) remote: Compressing objects: 67% (27/40) remote: Compressing objects: 70% (28/40) remote: Compressing objects: 72% (29/40) remote: Compressing objects: 75% (30/40) remote: Compressing objects: 77% (31/40) remote: Compressing objects: 80% (32/40) remote: Compressing objects: 82% (33/40) remote: Compressing objects: 85% (34/40) remote: Compressing objects: 87% (35/40) remote: Compressing objects: 90% (36/40) remote: Compressing objects: 92% (37/40) remote: Compressing objects: 95% (38/40) remote: Compressing objects: 97% (39/40) remote: Compressing objects: 100% (40/40) remote: Compressing objects: 100% (40/40), done. remote: Total 95 (delta 19), reused 0 (delta 0), pack-reused 54 (from 1) Receiving objects: 1% (1/95) Receiving objects: 2% (2/95) Receiving objects: 3% (3/95) Receiving objects: 4% (4/95) Receiving objects: 5% (5/95) Receiving objects: 6% (6/95) Receiving objects: 7% (7/95) Receiving objects: 8% (8/95) Receiving objects: 9% (9/95) Receiving objects: 10% (10/95) Receiving objects: 11% (11/95) Receiving objects: 12% (12/95) Receiving objects: 13% (13/95) Receiving objects: 14% (14/95) Receiving objects: 15% (15/95) Receiving objects: 16% (16/95) Receiving objects: 17% (17/95) Receiving objects: 18% (18/95) Receiving objects: 20% (19/95) Receiving objects: 21% (20/95) Receiving objects: 22% (21/95) Receiving objects: 23% (22/95) Receiving objects: 24% (23/95) Receiving objects: 25% (24/95) Receiving objects: 26% (25/95) Receiving objects: 27% (26/95) Receiving objects: 28% (27/95) Receiving objects: 29% (28/95) Receiving objects: 30% (29/95) Receiving objects: 31% (30/95) Receiving objects: 32% (31/95) Receiving objects: 33% (32/95) Receiving objects: 34% (33/95) Receiving objects: 35% (34/95) Receiving objects: 36% (35/95) Receiving objects: 37% (36/95) Receiving objects: 38% (37/95) Receiving objects: 40% (38/95) Receiving objects: 41% (39/95) Receiving objects: 42% (40/95) Receiving objects: 43% (41/95) Receiving objects: 44% (42/95) Receiving objects: 45% (43/95) Receiving objects: 46% (44/95) Receiving objects: 47% (45/95) Receiving objects: 48% (46/95) Receiving objects: 49% (47/95) Receiving objects: 50% (48/95) Receiving objects: 51% (49/95) Receiving objects: 52% (50/95) Receiving objects: 53% (51/95) Receiving objects: 54% (52/95) Receiving objects: 55% (53/95) Receiving objects: 56% (54/95) Receiving objects: 57% (55/95) Receiving objects: 58% (56/95) Receiving objects: 60% (57/95) Receiving objects: 61% (58/95) Receiving objects: 62% (59/95) Receiving objects: 63% (60/95) Receiving objects: 64% (61/95) Receiving objects: 65% (62/95) Receiving objects: 66% (63/95) Receiving objects: 67% (64/95) Receiving objects: 68% (65/95) Receiving objects: 69% (66/95) Receiving objects: 70% (67/95) Receiving objects: 71% (68/95) Receiving objects: 72% (69/95) Receiving objects: 73% (70/95) Receiving objects: 74% (71/95) Receiving objects: 75% (72/95) Receiving objects: 76% (73/95) Receiving objects: 77% (74/95) Receiving objects: 78% (75/95) Receiving objects: 80% (76/95) Receiving objects: 81% (77/95) Receiving objects: 82% (78/95) Receiving objects: 83% (79/95) Receiving objects: 84% (80/95) Receiving objects: 85% (81/95) Receiving objects: 86% (82/95) Receiving objects: 87% (83/95) Receiving objects: 88% (84/95) Receiving objects: 89% (85/95) Receiving objects: 90% (86/95) Receiving objects: 91% (87/95) Receiving objects: 92% (88/95) Receiving objects: 93% (89/95) Receiving objects: 94% (90/95) Receiving objects: 95% (91/95) Receiving objects: 96% (92/95) Receiving objects: 97% (93/95) Receiving objects: 98% (94/95) Receiving objects: 100% (95/95) Receiving objects: 100% (95/95), 111.27 KiB | 271.00 KiB/s, done. Resolving deltas: 0% (0/33) Resolving deltas: 3% (1/33) Resolving deltas: 6% (2/33) Resolving deltas: 9% (3/33) Resolving deltas: 12% (4/33) Resolving deltas: 18% (6/33) Resolving deltas: 21% (7/33) Resolving deltas: 24% (8/33) Resolving deltas: 27% (9/33) Resolving deltas: 30% (10/33) Resolving deltas: 33% (11/33) Resolving deltas: 36% (12/33) Resolving deltas: 39% (13/33) Resolving deltas: 42% (14/33) Resolving deltas: 45% (15/33) Resolving deltas: 48% (16/33) Resolving deltas: 51% (17/33) Resolving deltas: 54% (18/33) Resolving deltas: 57% (19/33) Resolving deltas: 60% (20/33) Resolving deltas: 63% (21/33) Resolving deltas: 66% (22/33) Resolving deltas: 69% (23/33) Resolving deltas: 72% (24/33) Resolving deltas: 75% (25/33) Resolving deltas: 78% (26/33) Resolving deltas: 81% (27/33) Resolving deltas: 84% (28/33) Resolving deltas: 90% (30/33) Resolving deltas: 93% (31/33) Resolving deltas: 96% (32/33) Resolving deltas: 100% (33/33) Resolving deltas: 100% (33/33), done. ==> Validating source files with sha512sums... libx86 ... Passed ==> Validating source files with b2sums... libx86 ... Passed ]3008;start=ea373a5da99846a5a8d4de41425a5216;user=root;hostname=bergmite.felixc.at;machineid=01ca1404c26b4b3a80152fb4f25f4ca7;bootid=54cd98ae65804780b35eed37460e847a;pid=2368308;comm=systemd-nspawn;container=arch-nspawn-2368308;type=container\]11;?\]2;🔵 Container arch-nspawn-2368308 on bergmite.felixc.at\==> Making package: libx86 1.1.1-1 (Sat May 2 19:40:13 2026) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (5) New Version Net Change extra/perl-error 0.17030-3 0.04 MiB extra/perl-mailtools 2.22-3 0.10 MiB extra/perl-timedate 2.35-1 0.15 MiB extra/zlib-ng 2.3.3-1 0.23 MiB extra/git 2.54.0-1 29.36 MiB Total Installed Size: 29.88 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing zlib-ng... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] less: the default pager for git :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 969. Creating user 'git' (git daemon user) with UID 969 and GID 969. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Checking for old perl modules... [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of libx86 git repo... Cloning into 'libx86'... done. Switched to a new branch 'makepkg' ==> Starting build()... make LIBRARY=static static make[1]: Entering directory '/build/libx86/src/libx86' cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/libx86/src=/usr/src/debug/libx86 -flto=auto -fPIC -c -o x86-common.o x86-common.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/libx86/src=/usr/src/debug/libx86 -flto=auto -fPIC -c -o lrmi.o lrmi.c lrmi.c:95:28: error: field ‘vm’ has incomplete type 95 | struct vm86_struct vm; | ^~ lrmi.c: In function ‘get_int_seg’: lrmi.c:123:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 123 | return *(unsigned short *)(i * 4 + 2); | ^ lrmi.c: In function ‘get_int_off’: lrmi.c:130:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 130 | return *(unsigned short *)(i * 4); | ^ lrmi.c: In function ‘LRMI_init’: lrmi.c:159:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 159 | context.stack_seg = (unsigned int)m >> 4; | ^ lrmi.c:167:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 167 | context.ret_seg = (unsigned int)m >> 4; | ^ lrmi.c:168:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 168 | context.ret_off = (unsigned int)m & 0xf; | ^ lrmi.c: In function ‘set_regs’: lrmi.c:62:17: error: ‘X86_EFLAGS_IF’ undeclared (first use in this function) 62 | #define IF_MASK X86_EFLAGS_IF | ^~~~~~~~~~~~~ lrmi.c:70:34: note: in expansion of macro ‘IF_MASK’ 70 | #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) | ^~~~~~~ lrmi.c:203:36: note: in expansion of macro ‘DEFAULT_VM86_FLAGS’ 203 | CONTEXT_REGS.REG(eflags) = DEFAULT_VM86_FLAGS; | ^~~~~~~~~~~~~~~~~~ lrmi.c:62:17: note: each undeclared identifier is reported only once for each function it appears in 62 | #define IF_MASK X86_EFLAGS_IF | ^~~~~~~~~~~~~ lrmi.c:70:34: note: in expansion of macro ‘IF_MASK’ 70 | #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) | ^~~~~~~ lrmi.c:203:36: note: in expansion of macro ‘DEFAULT_VM86_FLAGS’ 203 | CONTEXT_REGS.REG(eflags) = DEFAULT_VM86_FLAGS; | ^~~~~~~~~~~~~~~~~~ x86-common.c: In function ‘get_int_seg’: x86-common.c:198:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 198 | return *(unsigned short *)(i * 4 + 2); | ^ x86-common.c: In function ‘get_int_off’: x86-common.c:205:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | return *(unsigned short *)(i * 4); | ^ lrmi.c:65:19: error: ‘X86_EFLAGS_IOPL’ undeclared (first use in this function) 65 | #define IOPL_MASK X86_EFLAGS_IOPL | ^~~~~~~~~~~~~~~ lrmi.c:70:44: note: in expansion of macro ‘IOPL_MASK’ 70 | #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) | ^~~~~~~~~ lrmi.c:203:36: note: in expansion of macro ‘DEFAULT_VM86_FLAGS’ 203 | CONTEXT_REGS.REG(eflags) = DEFAULT_VM86_FLAGS; | ^~~~~~~~~~~~~~~~~~ lrmi.c: In function ‘em_outs’: lrmi.c:308:26: warning: matching constraint does not allow a register 308 | : "=S" (esi) : "d" (edx), "0" (esi)); | ^ lrmi.c:311:26: warning: matching constraint does not allow a register 311 | : "=S" (esi) : "d" (edx), "0" (esi)); | ^ lrmi.c:314:26: warning: matching constraint does not allow a register 314 | : "=S" (esi) : "d" (edx), "0" (esi)); | ^ lrmi.c:318:26: warning: matching constraint does not allow a register 318 | : "=S" (esi) : "d" (edx), "0" (esi)); | ^ lrmi.c:321:26: warning: matching constraint does not allow a register 321 | : "=S" (esi) : "d" (edx), "0" (esi)); | ^ lrmi.c:324:26: warning: matching constraint does not allow a register 324 | : "=S" (esi) : "d" (edx), "0" (esi)); | ^ lrmi.c: In function ‘run_vm86’: lrmi.c:606:21: error: implicit declaration of function ‘VM86_TYPE’; did you mean ‘MAP_TYPE’? [-Wimplicit-function-declaration] 606 | if (VM86_TYPE(vret) == VM86_INTx) { | ^~~~~~~~~ | MAP_TYPE lrmi.c:606:40: error: ‘VM86_INTx’ undeclared (first use in this function) 606 | if (VM86_TYPE(vret) == VM86_INTx) { | ^~~~~~~~~ lrmi.c:607:42: error: implicit declaration of function ‘VM86_ARG’ [-Wimplicit-function-declaration] 607 | unsigned int v = VM86_ARG(vret); | ^~~~~~~~ lrmi.c:68:18: error: ‘X86_EFLAGS_VIF’ undeclared (first use in this function) 68 | #define VIF_MASK X86_EFLAGS_VIF | ^~~~~~~~~~~~~~ lrmi.c:625:55: note: in expansion of macro ‘VIF_MASK’ 625 | CONTEXT_REGS.REG(eflags) &= ~(VIF_MASK | TF_MASK); | ^~~~~~~~ lrmi.c:59:17: error: ‘X86_EFLAGS_TF’ undeclared (first use in this function) 59 | #define TF_MASK X86_EFLAGS_TF | ^~~~~~~~~~~~~ lrmi.c:625:66: note: in expansion of macro ‘TF_MASK’ 625 | CONTEXT_REGS.REG(eflags) &= ~(VIF_MASK | TF_MASK); | ^~~~~~~ lrmi.c:630:40: error: ‘VM86_UNKNOWN’ undeclared (first use in this function) 630 | if (VM86_TYPE(vret) != VM86_UNKNOWN) | ^~~~~~~~~~~~ lrmi.c: In function ‘LRMI_int’: lrmi.c:62:17: error: ‘X86_EFLAGS_IF’ undeclared (first use in this function) 62 | #define IF_MASK X86_EFLAGS_IF | ^~~~~~~~~~~~~ lrmi.c:70:34: note: in expansion of macro ‘IF_MASK’ 70 | #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) | ^~~~~~~ lrmi.c:852:15: note: in expansion of macro ‘DEFAULT_VM86_FLAGS’ 852 | pushw(DEFAULT_VM86_FLAGS); | ^~~~~~~~~~~~~~~~~~ lrmi.c:65:19: error: ‘X86_EFLAGS_IOPL’ undeclared (first use in this function) 65 | #define IOPL_MASK X86_EFLAGS_IOPL | ^~~~~~~~~~~~~~~ lrmi.c:70:44: note: in expansion of macro ‘IOPL_MASK’ 70 | #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) | ^~~~~~~~~ lrmi.c:852:15: note: in expansion of macro ‘DEFAULT_VM86_FLAGS’ 852 | pushw(DEFAULT_VM86_FLAGS); | ^~~~~~~~~~~~~~~~~~ make[1]: *** [: lrmi.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/build/libx86/src/libx86' make: *** [Makefile:20: default] Error 2 ==> ERROR: A failure occurred in build().  Aborting... [!p]104\[?7h]3008;end=ea373a5da99846a5a8d4de41425a5216\==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-0/build [?25h[?25h[?25hreceiving incremental file list libx86-1.1.1-1-riscv64-build.log sent 43 bytes received 1,643 bytes 1,124.00 bytes/sec total size is 7,972 speedup is 4.73