==> Building on s ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/srs-state-threads ./ PKGBUILD 1,043 100% 0.00kB/s 0:00:00 1,043 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) srs-state-threads-1.9.3-2.log 245 100% 239.26kB/s 0:00:00 245 100% 239.26kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 906 bytes received 106 bytes 404.80 bytes/sec total size is 1,231 speedup is 1.22 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix2 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] -> [felix2]...done ==> Making package: srs-state-threads 1.9.3-2 (Wed Aug 31 07:11:07 2022) ==> Retrieving sources...  -> Cloning state-threads git repo... Cloning into bare repository '/home/felix/packages/srs-state-threads/state-threads'... remote: Enumerating objects: 693, done. remote: Counting objects: 0% (1/208) remote: Counting objects: 1% (3/208) remote: Counting objects: 2% (5/208) remote: Counting objects: 3% (7/208) remote: Counting objects: 4% (9/208) remote: Counting objects: 5% (11/208) remote: Counting objects: 6% (13/208) remote: Counting objects: 7% (15/208) remote: Counting objects: 8% (17/208) remote: Counting objects: 9% (19/208) remote: Counting objects: 10% (21/208) remote: Counting objects: 11% (23/208) remote: Counting objects: 12% (25/208) remote: Counting objects: 13% (28/208) remote: Counting objects: 14% (30/208) remote: Counting objects: 15% (32/208) remote: Counting objects: 16% (34/208) remote: Counting objects: 17% (36/208) remote: Counting objects: 18% (38/208) remote: Counting objects: 19% (40/208) remote: Counting objects: 20% (42/208) remote: Counting objects: 21% (44/208) remote: Counting objects: 22% (46/208) remote: Counting objects: 23% (48/208) remote: Counting objects: 24% (50/208) remote: Counting objects: 25% (52/208) remote: Counting objects: 26% (55/208) remote: Counting objects: 27% (57/208) remote: Counting objects: 28% (59/208) remote: Counting objects: 29% (61/208) remote: Counting objects: 30% (63/208) remote: Counting objects: 31% (65/208) remote: Counting objects: 32% (67/208) remote: Counting objects: 33% (69/208) remote: Counting objects: 34% (71/208) remote: Counting objects: 35% (73/208) remote: Counting objects: 36% (75/208) remote: Counting objects: 37% (77/208) remote: Counting objects: 38% (80/208) remote: Counting objects: 39% (82/208) remote: Counting objects: 40% (84/208) remote: Counting objects: 41% (86/208) remote: Counting objects: 42% (88/208) remote: Counting objects: 43% (90/208) remote: Counting objects: 44% (92/208) remote: Counting objects: 45% (94/208) remote: Counting objects: 46% (96/208) remote: Counting objects: 47% (98/208) remote: Counting objects: 48% (100/208) remote: Counting objects: 49% (102/208) remote: Counting objects: 50% (104/208) remote: Counting objects: 51% (107/208) remote: Counting objects: 52% (109/208) remote: Counting objects: 53% (111/208) remote: Counting objects: 54% (113/208) remote: Counting objects: 55% (115/208) remote: Counting objects: 56% (117/208) remote: Counting objects: 57% (119/208) remote: Counting objects: 58% (121/208) remote: Counting objects: 59% (123/208) remote: Counting objects: 60% (125/208) remote: Counting objects: 61% (127/208) remote: Counting objects: 62% (129/208) remote: Counting objects: 63% (132/208) remote: Counting objects: 64% (134/208) remote: Counting objects: 65% (136/208) remote: Counting objects: 66% (138/208) remote: Counting objects: 67% (140/208) remote: Counting objects: 68% (142/208) remote: Counting objects: 69% (144/208) remote: Counting objects: 70% (146/208) remote: Counting objects: 71% (148/208) remote: Counting objects: 72% (150/208) remote: Counting objects: 73% (152/208) remote: Counting objects: 74% (154/208) remote: Counting objects: 75% (156/208) remote: Counting objects: 76% (159/208) remote: Counting objects: 77% (161/208) remote: Counting objects: 78% (163/208) remote: Counting objects: 79% (165/208) remote: Counting objects: 80% (167/208) remote: Counting objects: 81% (169/208) remote: Counting objects: 82% (171/208) remote: Counting objects: 83% (173/208) remote: Counting objects: 84% (175/208) remote: Counting objects: 85% (177/208) remote: Counting objects: 86% (179/208) remote: Counting objects: 87% (181/208) remote: Counting objects: 88% (184/208) remote: Counting objects: 89% (186/208) remote: Counting objects: 90% (188/208) remote: Counting objects: 91% (190/208) remote: Counting objects: 92% (192/208) remote: Counting objects: 93% (194/208) remote: Counting objects: 94% (196/208) remote: Counting objects: 95% (198/208) remote: Counting objects: 96% (200/208) remote: Counting objects: 97% (202/208) remote: Counting objects: 98% (204/208) remote: Counting objects: 99% (206/208) remote: Counting objects: 100% (208/208) remote: Counting objects: 100% (208/208), done. remote: Compressing objects: 0% (1/125) remote: Compressing objects: 1% (2/125) remote: Compressing objects: 2% (3/125) remote: Compressing objects: 3% (4/125) remote: Compressing objects: 4% (5/125) remote: Compressing objects: 5% (7/125) remote: Compressing objects: 6% (8/125) remote: Compressing objects: 7% (9/125) remote: Compressing objects: 8% (10/125) remote: Compressing objects: 9% (12/125) remote: Compressing objects: 10% (13/125) remote: Compressing objects: 11% (14/125) remote: Compressing objects: 12% (15/125) remote: Compressing objects: 13% (17/125) remote: Compressing objects: 14% (18/125) remote: Compressing objects: 15% (19/125) remote: Compressing objects: 16% (20/125) remote: Compressing objects: 17% (22/125) remote: Compressing objects: 18% (23/125) remote: Compressing objects: 19% (24/125) remote: Compressing objects: 20% (25/125) remote: Compressing objects: 21% (27/125) remote: Compressing objects: 22% (28/125) remote: Compressing objects: 23% (29/125) remote: Compressing objects: 24% (30/125) remote: Compressing objects: 25% (32/125) remote: Compressing objects: 26% (33/125) remote: Compressing objects: 27% (34/125) remote: Compressing objects: 28% (35/125) remote: Compressing objects: 29% (37/125) remote: Compressing objects: 30% (38/125) remote: Compressing objects: 31% (39/125) remote: Compressing objects: 32% (40/125) remote: Compressing objects: 33% (42/125) remote: Compressing objects: 34% (43/125) remote: Compressing objects: 35% (44/125) remote: Compressing objects: 36% (45/125) remote: Compressing objects: 37% (47/125) remote: Compressing objects: 38% (48/125) remote: Compressing objects: 39% (49/125) remote: Compressing objects: 40% (50/125) remote: Compressing objects: 41% (52/125) remote: Compressing objects: 42% (53/125) remote: Compressing objects: 43% (54/125) remote: Compressing objects: 44% (55/125) remote: Compressing objects: 45% (57/125) remote: Compressing objects: 46% (58/125) remote: Compressing objects: 47% (59/125) remote: Compressing objects: 48% (60/125) remote: Compressing objects: 49% (62/125) remote: Compressing objects: 50% (63/125) remote: Compressing objects: 51% (64/125) remote: Compressing objects: 52% (65/125) remote: Compressing objects: 53% (67/125) remote: Compressing objects: 54% (68/125) remote: Compressing objects: 55% (69/125) remote: Compressing objects: 56% (70/125) remote: Compressing objects: 57% (72/125) remote: Compressing objects: 58% (73/125) remote: Compressing objects: 59% (74/125) remote: Compressing objects: 60% (75/125) remote: Compressing objects: 61% (77/125) remote: Compressing objects: 62% (78/125) remote: Compressing objects: 63% (79/125) remote: Compressing objects: 64% (80/125) remote: Compressing objects: 65% (82/125) remote: Compressing objects: 66% (83/125) remote: Compressing objects: 67% (84/125) remote: Compressing objects: 68% (85/125) remote: Compressing objects: 69% (87/125) remote: Compressing objects: 70% (88/125) remote: Compressing objects: 71% (89/125) remote: Compressing objects: 72% (90/125) remote: Compressing objects: 73% (92/125) remote: Compressing objects: 74% (93/125) remote: Compressing objects: 75% (94/125) remote: Compressing objects: 76% (95/125) remote: Compressing objects: 77% (97/125) remote: Compressing objects: 78% (98/125) remote: Compressing objects: 79% (99/125) remote: Compressing objects: 80% (100/125) remote: Compressing objects: 81% (102/125) remote: Compressing objects: 82% (103/125) remote: Compressing objects: 83% (104/125) remote: Compressing objects: 84% (105/125) remote: Compressing objects: 85% (107/125) remote: Compressing objects: 86% (108/125) remote: Compressing objects: 87% (109/125) remote: Compressing objects: 88% (110/125) remote: Compressing objects: 89% (112/125) remote: Compressing objects: 90% (113/125) remote: Compressing objects: 91% (114/125) remote: Compressing objects: 92% (115/125) remote: Compressing objects: 93% (117/125) remote: Compressing objects: 94% (118/125) remote: Compressing objects: 95% (119/125) remote: Compressing objects: 96% (120/125) remote: Compressing objects: 97% (122/125) remote: Compressing objects: 98% (123/125) remote: Compressing objects: 99% (124/125) remote: Compressing objects: 100% (125/125) remote: Compressing objects: 100% (125/125), done. Receiving objects: 0% (1/693) Receiving objects: 1% (7/693) Receiving objects: 2% (14/693) Receiving objects: 3% (21/693) Receiving objects: 4% (28/693) Receiving objects: 5% (35/693) Receiving objects: 6% (42/693) Receiving objects: 7% (49/693) Receiving objects: 8% (56/693) Receiving objects: 9% (63/693) Receiving objects: 10% (70/693) Receiving objects: 11% (77/693) Receiving objects: 12% (84/693) Receiving objects: 13% (91/693) Receiving objects: 14% (98/693) Receiving objects: 15% (104/693) Receiving objects: 16% (111/693) Receiving objects: 17% (118/693) Receiving objects: 18% (125/693) Receiving objects: 19% (132/693) Receiving objects: 20% (139/693) Receiving objects: 21% (146/693) Receiving objects: 22% (153/693) Receiving objects: 23% (160/693) Receiving objects: 24% (167/693) Receiving objects: 25% (174/693) Receiving objects: 26% (181/693) Receiving objects: 27% (188/693) Receiving objects: 28% (195/693) Receiving objects: 29% (201/693) Receiving objects: 30% (208/693) Receiving objects: 31% (215/693) Receiving objects: 32% (222/693) Receiving objects: 33% (229/693) Receiving objects: 34% (236/693) Receiving objects: 35% (243/693) Receiving objects: 36% (250/693) Receiving objects: 37% (257/693) Receiving objects: 38% (264/693) Receiving objects: 39% (271/693) Receiving objects: 40% (278/693) Receiving objects: 41% (285/693) Receiving objects: 42% (292/693) Receiving objects: 43% (298/693) Receiving objects: 44% (305/693) Receiving objects: 45% (312/693) Receiving objects: 46% (319/693) Receiving objects: 47% (326/693) Receiving objects: 48% (333/693) Receiving objects: 49% (340/693) Receiving objects: 50% (347/693) Receiving objects: 51% (354/693) Receiving objects: 52% (361/693) Receiving objects: 53% (368/693) Receiving objects: 54% (375/693) Receiving objects: 55% (382/693) Receiving objects: 56% (389/693) Receiving objects: 57% (396/693) Receiving objects: 58% (402/693) Receiving objects: 59% (409/693) Receiving objects: 60% (416/693) Receiving objects: 61% (423/693) Receiving objects: 62% (430/693) Receiving objects: 63% (437/693) Receiving objects: 64% (444/693) Receiving objects: 65% (451/693) Receiving objects: 66% (458/693) Receiving objects: 67% (465/693) Receiving objects: 68% (472/693) Receiving objects: 69% (479/693) Receiving objects: 70% (486/693) Receiving objects: 71% (493/693) Receiving objects: 72% (499/693) Receiving objects: 73% (506/693) Receiving objects: 74% (513/693) Receiving objects: 75% (520/693) Receiving objects: 76% (527/693) Receiving objects: 77% (534/693) Receiving objects: 78% (541/693) Receiving objects: 79% (548/693) Receiving objects: 80% (555/693) Receiving objects: 81% (562/693) Receiving objects: 82% (569/693) Receiving objects: 83% (576/693) Receiving objects: 84% (583/693) Receiving objects: 85% (590/693) Receiving objects: 86% (596/693) Receiving objects: 87% (603/693) Receiving objects: 88% (610/693) Receiving objects: 89% (617/693) Receiving objects: 90% (624/693) remote: Total 693 (delta 102), reused 113 (delta 80), pack-reused 485 Receiving objects: 91% (631/693) Receiving objects: 92% (638/693) Receiving objects: 93% (645/693) Receiving objects: 94% (652/693) Receiving objects: 95% (659/693) Receiving objects: 96% (666/693) Receiving objects: 97% (673/693) Receiving objects: 98% (680/693) Receiving objects: 99% (687/693) Receiving objects: 100% (693/693) Receiving objects: 100% (693/693), 684.29 KiB | 7.13 MiB/s, done. Resolving deltas: 0% (0/366) Resolving deltas: 1% (4/366) Resolving deltas: 2% (9/366) Resolving deltas: 3% (11/366) Resolving deltas: 4% (16/366) Resolving deltas: 5% (19/366) Resolving deltas: 6% (22/366) Resolving deltas: 7% (27/366) Resolving deltas: 8% (30/366) Resolving deltas: 9% (33/366) Resolving deltas: 10% (38/366) Resolving deltas: 11% (42/366) Resolving deltas: 12% (44/366) Resolving deltas: 13% (48/366) Resolving deltas: 14% (53/366) Resolving deltas: 15% (56/366) Resolving deltas: 16% (60/366) Resolving deltas: 17% (63/366) Resolving deltas: 18% (67/366) Resolving deltas: 19% (70/366) Resolving deltas: 20% (75/366) Resolving deltas: 21% (78/366) Resolving deltas: 22% (81/366) Resolving deltas: 23% (87/366) Resolving deltas: 24% (89/366) Resolving deltas: 25% (92/366) Resolving deltas: 26% (97/366) Resolving deltas: 27% (99/366) Resolving deltas: 28% (103/366) Resolving deltas: 30% (110/366) Resolving deltas: 31% (114/366) Resolving deltas: 32% (118/366) Resolving deltas: 33% (121/366) Resolving deltas: 35% (130/366) Resolving deltas: 37% (136/366) Resolving deltas: 38% (140/366) Resolving deltas: 39% (143/366) Resolving deltas: 40% (147/366) Resolving deltas: 41% (151/366) Resolving deltas: 42% (154/366) Resolving deltas: 43% (158/366) Resolving deltas: 44% (162/366) Resolving deltas: 45% (165/366) Resolving deltas: 46% (169/366) Resolving deltas: 47% (173/366) Resolving deltas: 50% (184/366) Resolving deltas: 51% (187/366) Resolving deltas: 52% (192/366) Resolving deltas: 53% (194/366) Resolving deltas: 55% (203/366) Resolving deltas: 57% (209/366) Resolving deltas: 58% (213/366) Resolving deltas: 59% (217/366) Resolving deltas: 60% (221/366) Resolving deltas: 61% (224/366) Resolving deltas: 62% (228/366) Resolving deltas: 63% (233/366) Resolving deltas: 64% (235/366) Resolving deltas: 65% (238/366) Resolving deltas: 66% (244/366) Resolving deltas: 68% (249/366) Resolving deltas: 69% (254/366) Resolving deltas: 70% (257/366) Resolving deltas: 71% (260/366) Resolving deltas: 72% (264/366) Resolving deltas: 73% (270/366) Resolving deltas: 74% (271/366) Resolving deltas: 75% (276/366) Resolving deltas: 76% (279/366) Resolving deltas: 77% (284/366) Resolving deltas: 78% (286/366) Resolving deltas: 79% (292/366) Resolving deltas: 80% (293/366) Resolving deltas: 81% (297/366) Resolving deltas: 82% (301/366) Resolving deltas: 83% (304/366) Resolving deltas: 84% (308/366) Resolving deltas: 85% (312/366) Resolving deltas: 86% (317/366) Resolving deltas: 87% (321/366) Resolving deltas: 88% (323/366) Resolving deltas: 89% (326/366) Resolving deltas: 90% (331/366) Resolving deltas: 91% (336/366) Resolving deltas: 92% (337/366) Resolving deltas: 93% (341/366) Resolving deltas: 94% (345/366) Resolving deltas: 95% (350/366) Resolving deltas: 97% (356/366) Resolving deltas: 98% (360/366) Resolving deltas: 100% (366/366) Resolving deltas: 100% (366/366), done. ==> Validating source files with sha256sums... state-threads ... Skipped ==> Making package: srs-state-threads 1.9.3-2 (Wed Aug 31 07:11:21 2022) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (4) New Version Net Change extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB extra/git 2.37.2-1 30.55 MiB Total Installed Size: 30.78 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 git... Optional dependencies for git tk: gitk and git gui 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-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https 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] :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of state-threads git repo... Cloning into 'state-threads'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Starting build()... make OS="LINUX" BUILD="OPT" make[1]: Entering directory '/build/srs-state-threads/src/state-threads' if [ ! -d LINUX_5.18.15-arch1-2_OPT ]; then mkdir LINUX_5.18.15-arch1-2_OPT; fi cc -DLINUX -DMD_HAVE_EPOLL -Wall -O2 -c sched.c -o LINUX_5.18.15-arch1-2_OPT/sched.o cc -DLINUX -DMD_HAVE_EPOLL -Wall -O2 -c stk.c -o LINUX_5.18.15-arch1-2_OPT/stk.o cc -DLINUX -DMD_HAVE_EPOLL -Wall -O2 -c sync.c -o LINUX_5.18.15-arch1-2_OPT/sync.o cc -DLINUX -DMD_HAVE_EPOLL -Wall -O2 -c key.c -o LINUX_5.18.15-arch1-2_OPT/key.o cc -DLINUX -DMD_HAVE_EPOLL -Wall -O2 -c io.c -o LINUX_5.18.15-arch1-2_OPT/io.o In file included from common.h:70, from sched.c:50: md.h:191:14: error: #error "Unknown CPU architecture" 191 | #error "Unknown CPU architecture" | ^~~~~ cc -DLINUX -DMD_HAVE_EPOLL -Wall -O2 -c event.c -o LINUX_5.18.15-arch1-2_OPT/event.o sched.c: In function ‘st_thread_create’: md.h:198:13: warning: implicit declaration of function ‘MD_GET_SP’; did you mean ‘MD_SETJMP’? [-Wimplicit-function-declaration] 198 | MD_GET_SP(_thread) = (long) (_sp); \ | ^~~~~~~~~ common.h:438:30: note: in expansion of macro ‘MD_INIT_CONTEXT’ 438 | #define _ST_INIT_CONTEXT MD_INIT_CONTEXT | ^~~~~~~~~~~~~~~ sched.c:667:9: note: in expansion of macro ‘_ST_INIT_CONTEXT’ 667 | _ST_INIT_CONTEXT(thread, stack->sp, _st_thread_main); | ^~~~~~~~~~~~~~~~ md.h:198:32: error: lvalue required as left operand of assignment 198 | MD_GET_SP(_thread) = (long) (_sp); \ | ^ common.h:438:30: note: in expansion of macro ‘MD_INIT_CONTEXT’ 438 | #define _ST_INIT_CONTEXT MD_INIT_CONTEXT | ^~~~~~~~~~~~~~~ sched.c:667:9: note: in expansion of macro ‘_ST_INIT_CONTEXT’ 667 | _ST_INIT_CONTEXT(thread, stack->sp, _st_thread_main); | ^~~~~~~~~~~~~~~~ In file included from common.h:70, from stk.c:49: md.h:191:14: error: #error "Unknown CPU architecture" 191 | #error "Unknown CPU architecture" | ^~~~~ make[1]: *** [Makefile:278: LINUX_5.18.15-arch1-2_OPT/sched.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:278: LINUX_5.18.15-arch1-2_OPT/stk.o] Error 1 In file included from common.h:70, from sync.c:47: md.h:191:14: error: #error "Unknown CPU architecture" 191 | #error "Unknown CPU architecture" | ^~~~~ make[1]: *** [Makefile:278: LINUX_5.18.15-arch1-2_OPT/sync.o] Error 1 In file included from common.h:70, from key.c:46: md.h:191:14: error: #error "Unknown CPU architecture" 191 | #error "Unknown CPU architecture" | ^~~~~ make[1]: *** [Makefile:278: LINUX_5.18.15-arch1-2_OPT/key.o] Error 1 In file included from common.h:70, from io.c:55: md.h:191:14: error: #error "Unknown CPU architecture" 191 | #error "Unknown CPU architecture" | ^~~~~ make[1]: *** [Makefile:278: LINUX_5.18.15-arch1-2_OPT/io.o] Error 1 make[1]: Leaving directory '/build/srs-state-threads/src/state-threads' make: *** [Makefile:307: linux-optimized] Error 2 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix2/build receiving incremental file list srs-state-threads-1.9.3-2-riscv64-build.log srs-state-threads-1.9.3-2-riscv64-prepare.log sent 62 bytes received 1,033 bytes 312.86 bytes/sec total size is 3,432 speedup is 3.13