==> Building on r ==> Attempt to run pkgver()... ==> Making package: python-yara 4.2.0-1 (Sat 07 May 2022 04:35:25 PM EEST) ==> Checking runtime dependencies... ==> Missing dependencies:  -> yara  -> libyara.so ==> Checking buildtime dependencies... ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-yara ./ PKGBUILD 1,269 100% 0.00kB/s 0:00:00 1,269 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-yara-4.2.0-1.log 666 100% 650.39kB/s 0:00:00 666 100% 650.39kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,222 bytes received 100 bytes 881.33 bytes/sec total size is 1,838 speedup is 1.39 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix7 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)... ==> Locking chroot copy [felix7]...done ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix7]...done ==> Making package: python-yara 4.2.0-1 (Sat May 7 21:35:38 2022) ==> Retrieving sources...  -> Cloning python-yara git repo... Cloning into bare repository '/home/felix/packages/python-yara/python-yara'... remote: Enumerating objects: 1537, done. remote: Counting objects: 0% (1/136) remote: Counting objects: 1% (2/136) remote: Counting objects: 2% (3/136) remote: Counting objects: 3% (5/136) remote: Counting objects: 4% (6/136) remote: Counting objects: 5% (7/136) remote: Counting objects: 6% (9/136) remote: Counting objects: 7% (10/136) remote: Counting objects: 8% (11/136) remote: Counting objects: 9% (13/136) remote: Counting objects: 10% (14/136) remote: Counting objects: 11% (15/136) remote: Counting objects: 12% (17/136) remote: Counting objects: 13% (18/136) remote: Counting objects: 14% (20/136) remote: Counting objects: 15% (21/136) remote: Counting objects: 16% (22/136) remote: Counting objects: 17% (24/136) remote: Counting objects: 18% (25/136) remote: Counting objects: 19% (26/136) remote: Counting objects: 20% (28/136) remote: Counting objects: 21% (29/136) remote: Counting objects: 22% (30/136) remote: Counting objects: 23% (32/136) remote: Counting objects: 24% (33/136) remote: Counting objects: 25% (34/136) remote: Counting objects: 26% (36/136) remote: Counting objects: 27% (37/136) remote: Counting objects: 28% (39/136) remote: Counting objects: 29% (40/136) remote: Counting objects: 30% (41/136) remote: Counting objects: 31% (43/136) remote: Counting objects: 32% (44/136) remote: Counting objects: 33% (45/136) remote: Counting objects: 34% (47/136) remote: Counting objects: 35% (48/136) remote: Counting objects: 36% (49/136) remote: Counting objects: 37% (51/136) remote: Counting objects: 38% (52/136) remote: Counting objects: 39% (54/136) remote: Counting objects: 40% (55/136) remote: Counting objects: 41% (56/136) remote: Counting objects: 42% (58/136) remote: Counting objects: 43% (59/136) remote: Counting objects: 44% (60/136) remote: Counting objects: 45% (62/136) remote: Counting objects: 46% (63/136) remote: Counting objects: 47% (64/136) remote: Counting objects: 48% (66/136) remote: Counting objects: 49% (67/136) remote: Counting objects: 50% (68/136) remote: Counting objects: 51% (70/136) remote: Counting objects: 52% (71/136) remote: Counting objects: 53% (73/136) remote: Counting objects: 54% (74/136) remote: Counting objects: 55% (75/136) remote: Counting objects: 56% (77/136) remote: Counting objects: 57% (78/136) remote: Counting objects: 58% (79/136) remote: Counting objects: 59% (81/136) remote: Counting objects: 60% (82/136) remote: Counting objects: 61% (83/136) remote: Counting objects: 62% (85/136) remote: Counting objects: 63% (86/136) remote: Counting objects: 64% (88/136) remote: Counting objects: 65% (89/136) remote: Counting objects: 66% (90/136) remote: Counting objects: 67% (92/136) remote: Counting objects: 68% (93/136) remote: Counting objects: 69% (94/136) remote: Counting objects: 70% (96/136) remote: Counting objects: 71% (97/136) remote: Counting objects: 72% (98/136) remote: Counting objects: 73% (100/136) remote: Counting objects: 74% (101/136) remote: Counting objects: 75% (102/136) remote: Counting objects: 76% (104/136) remote: Counting objects: 77% (105/136) remote: Counting objects: 78% (107/136) remote: Counting objects: 79% (108/136) remote: Counting objects: 80% (109/136) remote: Counting objects: 81% (111/136) remote: Counting objects: 82% (112/136) remote: Counting objects: 83% (113/136) remote: Counting objects: 84% (115/136) remote: Counting objects: 85% (116/136) remote: Counting objects: 86% (117/136) remote: Counting objects: 87% (119/136) remote: Counting objects: 88% (120/136) remote: Counting objects: 89% (122/136) remote: Counting objects: 90% (123/136) remote: Counting objects: 91% (124/136) remote: Counting objects: 92% (126/136) remote: Counting objects: 93% (127/136) remote: Counting objects: 94% (128/136) remote: Counting objects: 95% (130/136) remote: Counting objects: 96% (131/136) remote: Counting objects: 97% (132/136) remote: Counting objects: 98% (134/136) remote: Counting objects: 99% (135/136) remote: Counting objects: 100% (136/136) remote: Counting objects: 100% (136/136), done. remote: Compressing objects: 1% (1/62) remote: Compressing objects: 3% (2/62) remote: Compressing objects: 4% (3/62) remote: Compressing objects: 6% (4/62) remote: Compressing objects: 8% (5/62) remote: Compressing objects: 9% (6/62) remote: Compressing objects: 11% (7/62) remote: Compressing objects: 12% (8/62) remote: Compressing objects: 14% (9/62) remote: Compressing objects: 16% (10/62) remote: Compressing objects: 17% (11/62) remote: Compressing objects: 19% (12/62) remote: Compressing objects: 20% (13/62) remote: Compressing objects: 22% (14/62) remote: Compressing objects: 24% (15/62) remote: Compressing objects: 25% (16/62) remote: Compressing objects: 27% (17/62) remote: Compressing objects: 29% (18/62) remote: Compressing objects: 30% (19/62) remote: Compressing objects: 32% (20/62) remote: Compressing objects: 33% (21/62) remote: Compressing objects: 35% (22/62) remote: Compressing objects: 37% (23/62) remote: Compressing objects: 38% (24/62) remote: Compressing objects: 40% (25/62) remote: Compressing objects: 41% (26/62) remote: Compressing objects: 43% (27/62) remote: Compressing objects: 45% (28/62) remote: Compressing objects: 46% (29/62) remote: Compressing objects: 48% (30/62) remote: Compressing objects: 50% (31/62) remote: Compressing objects: 51% (32/62) remote: Compressing objects: 53% (33/62) remote: Compressing objects: 54% (34/62) remote: Compressing objects: 56% (35/62) remote: Compressing objects: 58% (36/62) remote: Compressing objects: 59% (37/62) remote: Compressing objects: 61% (38/62) remote: Compressing objects: 62% (39/62) remote: Compressing objects: 64% (40/62) remote: Compressing objects: 66% (41/62) remote: Compressing objects: 67% (42/62) remote: Compressing objects: 69% (43/62) remote: Compressing objects: 70% (44/62) remote: Compressing objects: 72% (45/62) remote: Compressing objects: 74% (46/62) remote: Compressing objects: 75% (47/62) remote: Compressing objects: 77% (48/62) remote: Compressing objects: 79% (49/62) remote: Compressing objects: 80% (50/62) remote: Compressing objects: 82% (51/62) remote: Compressing objects: 83% (52/62) remote: Compressing objects: 85% (53/62) remote: Compressing objects: 87% (54/62) remote: Compressing objects: 88% (55/62) remote: Compressing objects: 90% (56/62) remote: Compressing objects: 91% (57/62) remote: Compressing objects: 93% (58/62) remote: Compressing objects: 95% (59/62) remote: Compressing objects: 96% (60/62) remote: Compressing objects: 98% (61/62) remote: Compressing objects: 100% (62/62) remote: Compressing objects: 100% (62/62), done. Receiving objects: 0% (1/1537) Receiving objects: 1% (16/1537) Receiving objects: 2% (31/1537) Receiving objects: 3% (47/1537) Receiving objects: 4% (62/1537) Receiving objects: 5% (77/1537) Receiving objects: 6% (93/1537) Receiving objects: 7% (108/1537) Receiving objects: 8% (123/1537) Receiving objects: 9% (139/1537) Receiving objects: 10% (154/1537) Receiving objects: 11% (170/1537) Receiving objects: 12% (185/1537) Receiving objects: 13% (200/1537) Receiving objects: 14% (216/1537) Receiving objects: 15% (231/1537) Receiving objects: 16% (246/1537) Receiving objects: 17% (262/1537) Receiving objects: 18% (277/1537) Receiving objects: 19% (293/1537) Receiving objects: 20% (308/1537) Receiving objects: 21% (323/1537) Receiving objects: 22% (339/1537) Receiving objects: 23% (354/1537) Receiving objects: 24% (369/1537) Receiving objects: 25% (385/1537) Receiving objects: 26% (400/1537) Receiving objects: 27% (415/1537) Receiving objects: 28% (431/1537) Receiving objects: 29% (446/1537) Receiving objects: 30% (462/1537) Receiving objects: 31% (477/1537) Receiving objects: 32% (492/1537) Receiving objects: 33% (508/1537) Receiving objects: 34% (523/1537) Receiving objects: 35% (538/1537) Receiving objects: 36% (554/1537) Receiving objects: 37% (569/1537) Receiving objects: 38% (585/1537) Receiving objects: 39% (600/1537) Receiving objects: 40% (615/1537) Receiving objects: 41% (631/1537) Receiving objects: 42% (646/1537) Receiving objects: 43% (661/1537) Receiving objects: 44% (677/1537) Receiving objects: 45% (692/1537) Receiving objects: 46% (708/1537) Receiving objects: 47% (723/1537) Receiving objects: 48% (738/1537) Receiving objects: 49% (754/1537) Receiving objects: 50% (769/1537) Receiving objects: 51% (784/1537) Receiving objects: 52% (800/1537) Receiving objects: 53% (815/1537) Receiving objects: 54% (830/1537) Receiving objects: 55% (846/1537) Receiving objects: 56% (861/1537) Receiving objects: 57% (877/1537) Receiving objects: 58% (892/1537) Receiving objects: 59% (907/1537) Receiving objects: 60% (923/1537) Receiving objects: 61% (938/1537) Receiving objects: 62% (953/1537) Receiving objects: 63% (969/1537) Receiving objects: 64% (984/1537) Receiving objects: 65% (1000/1537) Receiving objects: 66% (1015/1537) Receiving objects: 67% (1030/1537) Receiving objects: 68% (1046/1537) Receiving objects: 69% (1061/1537) Receiving objects: 70% (1076/1537) Receiving objects: 71% (1092/1537) Receiving objects: 72% (1107/1537) Receiving objects: 73% (1123/1537) Receiving objects: 74% (1138/1537) Receiving objects: 75% (1153/1537) Receiving objects: 76% (1169/1537) Receiving objects: 77% (1184/1537) Receiving objects: 78% (1199/1537) Receiving objects: 79% (1215/1537) Receiving objects: 80% (1230/1537) Receiving objects: 81% (1245/1537) Receiving objects: 82% (1261/1537) Receiving objects: 83% (1276/1537) Receiving objects: 84% (1292/1537) Receiving objects: 85% (1307/1537) Receiving objects: 86% (1322/1537) Receiving objects: 87% (1338/1537) Receiving objects: 88% (1353/1537) Receiving objects: 89% (1368/1537) Receiving objects: 90% (1384/1537) Receiving objects: 91% (1399/1537) Receiving objects: 92% (1415/1537) Receiving objects: 93% (1430/1537) Receiving objects: 94% (1445/1537) Receiving objects: 95% (1461/1537) Receiving objects: 96% (1476/1537) Receiving objects: 97% (1491/1537) Receiving objects: 98% (1507/1537) Receiving objects: 99% (1522/1537) remote: Total 1537 (delta 74), reused 116 (delta 70), pack-reused 1401 Receiving objects: 100% (1537/1537) Receiving objects: 100% (1537/1537), 371.34 KiB | 1.49 MiB/s, done. Resolving deltas: 0% (0/913) Resolving deltas: 1% (10/913) Resolving deltas: 2% (19/913) Resolving deltas: 3% (28/913) Resolving deltas: 4% (37/913) Resolving deltas: 5% (46/913) Resolving deltas: 6% (55/913) Resolving deltas: 7% (64/913) Resolving deltas: 8% (74/913) Resolving deltas: 9% (83/913) Resolving deltas: 10% (92/913) Resolving deltas: 11% (101/913) Resolving deltas: 12% (110/913) Resolving deltas: 13% (119/913) Resolving deltas: 14% (128/913) Resolving deltas: 15% (137/913) Resolving deltas: 16% (147/913) Resolving deltas: 17% (156/913) Resolving deltas: 18% (165/913) Resolving deltas: 19% (174/913) Resolving deltas: 20% (183/913) Resolving deltas: 21% (192/913) Resolving deltas: 22% (201/913) Resolving deltas: 23% (210/913) Resolving deltas: 24% (220/913) Resolving deltas: 25% (229/913) Resolving deltas: 26% (238/913) Resolving deltas: 27% (247/913) Resolving deltas: 28% (256/913) Resolving deltas: 29% (265/913) Resolving deltas: 30% (274/913) Resolving deltas: 31% (284/913) Resolving deltas: 32% (293/913) Resolving deltas: 33% (302/913) Resolving deltas: 34% (311/913) Resolving deltas: 35% (320/913) Resolving deltas: 36% (329/913) Resolving deltas: 37% (338/913) Resolving deltas: 38% (347/913) Resolving deltas: 39% (357/913) Resolving deltas: 40% (366/913) Resolving deltas: 41% (375/913) Resolving deltas: 42% (384/913) Resolving deltas: 43% (393/913) Resolving deltas: 44% (402/913) Resolving deltas: 45% (411/913) Resolving deltas: 46% (420/913) Resolving deltas: 47% (430/913) Resolving deltas: 48% (439/913) Resolving deltas: 49% (448/913) Resolving deltas: 50% (457/913) Resolving deltas: 51% (466/913) Resolving deltas: 52% (476/913) Resolving deltas: 53% (484/913) Resolving deltas: 54% (494/913) Resolving deltas: 55% (503/913) Resolving deltas: 56% (512/913) Resolving deltas: 57% (521/913) Resolving deltas: 58% (530/913) Resolving deltas: 59% (539/913) Resolving deltas: 60% (548/913) Resolving deltas: 61% (557/913) Resolving deltas: 62% (567/913) Resolving deltas: 63% (576/913) Resolving deltas: 64% (585/913) Resolving deltas: 65% (594/913) Resolving deltas: 66% (603/913) Resolving deltas: 67% (612/913) Resolving deltas: 68% (621/913) Resolving deltas: 69% (630/913) Resolving deltas: 70% (640/913) Resolving deltas: 71% (649/913) Resolving deltas: 72% (658/913) Resolving deltas: 73% (667/913) Resolving deltas: 74% (676/913) Resolving deltas: 75% (685/913) Resolving deltas: 76% (694/913) Resolving deltas: 77% (704/913) Resolving deltas: 78% (713/913) Resolving deltas: 79% (722/913) Resolving deltas: 80% (731/913) Resolving deltas: 81% (740/913) Resolving deltas: 82% (749/913) Resolving deltas: 83% (758/913) Resolving deltas: 84% (767/913) Resolving deltas: 85% (777/913) Resolving deltas: 86% (786/913) Resolving deltas: 87% (795/913) Resolving deltas: 88% (804/913) Resolving deltas: 89% (813/913) Resolving deltas: 90% (822/913) Resolving deltas: 91% (831/913) Resolving deltas: 92% (840/913) Resolving deltas: 93% (851/913) Resolving deltas: 94% (859/913) Resolving deltas: 95% (868/913) Resolving deltas: 96% (877/913) Resolving deltas: 97% (886/913) Resolving deltas: 98% (897/913) Resolving deltas: 99% (904/913) Resolving deltas: 100% (913/913) Resolving deltas: 100% (913/913), done. ==> Validating source files with sha512sums... python-yara ... Skipped ==> Making package: python-yara 4.2.0-1 (Sat 07 May 2022 09:35:59 PM CST) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change Download Size core/libnsl 2.0.0-2 0.06 MiB core/python 3.10.1-2 79.11 MiB community/yara 4.1.3-1 0.71 MiB 0.23 MiB Total Download Size: 0.23 MiB Total Installed Size: 79.87 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... yara-4.1.3-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing yara... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (10) New Version Net Change extra/perl-error 0.17029-3 0.04 MiB extra/perl-mailtools 2.21-5 0.11 MiB extra/perl-timedate 2.33-3 0.08 MiB extra/python-appdirs 1.4.4-6 0.07 MiB community/python-more-itertools 8.12.0-2 0.48 MiB extra/python-ordered-set 4.0.2-6 0.06 MiB extra/python-packaging 21.3-1 0.26 MiB extra/python-pyparsing 3.0.8-1 0.96 MiB extra/git 2.36.0-1 29.94 MiB extra/python-setuptools 1:59.5.0-1 2.96 MiB Total Installed Size: 34.96 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 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing python-appdirs... installing python-more-itertools... installing python-ordered-set... installing python-pyparsing... Optional dependencies for python-pyparsing python-railroad-diagrams: for generating Railroad Diagrams python-jinja: for generating Railroad Diagrams installing python-packaging... installing python-setuptools... :: 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 python-yara git repo... Cloning into 'python-yara'... done. Switched to a new branch 'makepkg' ==> Starting pkgver()... ==> Starting build()... running build running build_ext building 'yara' extension creating build creating build/temp.linux-riscv64-3.10 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.10 -c yara-python.c -o build/temp.linux-riscv64-3.10/yara-python.o -std=c99 yara-python.c: In function ‘convert_object_to_python’: yara-python.c:466:27: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] 466 | if (object->value.i != YR_UNDEFINED) | ^~ yara-python.c: In function ‘yara_callback’: yara-python.c:928:8: error: ‘CALLBACK_MSG_CONSOLE_LOG’ undeclared (first use in this function) 928 | case CALLBACK_MSG_CONSOLE_LOG: | ^~~~~~~~~~~~~~~~~~~~~~~~ yara-python.c:928:8: note: each undeclared identifier is reported only once for each function it appears in yara-python.c: In function ‘process_compile_externals’: yara-python.c:1233:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1233 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:52:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1262:19: note: in expansion of macro ‘PY_STRING_TO_C’ 1262 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function ‘process_match_externals’: yara-python.c:1303:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1303 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:52:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1332:19: note: in expansion of macro ‘PY_STRING_TO_C’ 1332 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function ‘yara_compile’: yara-python.c:2351:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2351 | source = PY_STRING_TO_C(value); | ^ yara-python.c:2352:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2352 | ns = PY_STRING_TO_C(key); | ^ yara-python.c:2386:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2386 | filepath = PY_STRING_TO_C(value); | ^ yara-python.c:2387:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2387 | ns = PY_STRING_TO_C(key); | ^ error: command '/usr/bin/gcc' failed with exit code 1 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix7/build receiving incremental file list python-yara-4.2.0-1-riscv64-build.log python-yara-4.2.0-1-riscv64-pkgver.log sent 62 bytes received 1,289 bytes 2,702.00 bytes/sec total size is 3,876 speedup is 2.87