==> Building on scovillain ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/wpscan ./ .SRCINFO 784 100% 0.00kB/s 0:00:00 784 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=4/6) .nvchecker.toml 86 100% 83.98kB/s 0:00:00 86 100% 83.98kB/s 0:00:00 (xfr#2, to-chk=3/6) PKGBUILD 2,012 100% 1.92MB/s 0:00:00 2,012 100% 1.92MB/s 0:00:00 (xfr#3, to-chk=2/6) wpscan-1:3.8.25-3.log 490 100% 478.52kB/s 0:00:00 490 100% 478.52kB/s 0:00:00 (xfr#4, to-chk=1/6) wpscan.install 152 100% 148.44kB/s 0:00:00 152 100% 148.44kB/s 0:00:00 (xfr#5, to-chk=0/6) sent 2,349 bytes received 152 bytes 5,002.00 bytes/sec total size is 3,231 speedup is 1.29 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix43 on remote host... ]2;🔵 Container arch-nspawn-1850997 on scovillain.felixc.at[?25l:: Synchronizing package databases... core downloading... extra 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] -> [felix43]...done ==> Making package: wpscan 1:3.8.25-3 (Mon Sep 16 12:45:07 2024) ==> Retrieving sources...  -> Downloading wpscan-3.8.25.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 13162 0 13162 0 0 5746 0 --:--:-- 0:00:02 --:--:-- 12766 100 317k 0 317k 0 0 96708 0 --:--:-- 0:00:03 --:--:-- 151k 100 877k 0 877k 0 0 209k 0 --:--:-- 0:00:04 --:--:-- 299k 100 1489k 0 1489k 0 0 287k 0 --:--:-- 0:00:05 --:--:-- 378k 100 2244k 0 2244k 0 0 362k 0 --:--:-- 0:00:06 --:--:-- 455k 100 3234k 0 3234k 0 0 449k 0 --:--:-- 0:00:07 --:--:-- 655k 100 4149k 0 4149k 0 0 505k 0 --:--:-- 0:00:08 --:--:-- 789k 100 5542k 0 5542k 0 0 600k 0 --:--:-- 0:00:09 --:--:-- 926k 100 6790k 0 6790k 0 0 666k 0 --:--:-- 0:00:10 --:--:-- 1060k 100 8752k 0 8752k 0 0 778k 0 --:--:-- 0:00:11 --:--:-- 1289k 100 10.2M 0 10.2M 0 0 851k 0 --:--:-- 0:00:12 --:--:-- 1418k 100 12.2M 0 12.2M 0 0 941k 0 --:--:-- 0:00:13 --:--:-- 1644k 100 13.7M 0 13.7M 0 0 1004k 0 --:--:-- 0:00:13 --:--:-- 1786k ==> Validating source files with sha512sums... wpscan-3.8.25.tar.gz ... Passed ==> Validating source files with b2sums... wpscan-3.8.25.tar.gz ... Passed ]2;🔵 Container arch-nspawn-1852221 on scovillain.felixc.at==> Making package: wpscan 1:3.8.25-3 (Mon Sep 16 12:45:41 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: rubygems will be installed before its ruby dependency Package (6) New Version Net Change extra/rubygems 3.4.19-1.1 2.26 MiB extra/libxslt 1.1.42-1 0.72 MiB extra/libyaml 0.2.5-3 0.16 MiB extra/ruby 3.2.5-2 13.88 MiB extra/ruby-bundler 2.5.11-2 1.58 MiB extra/ruby-erb 4.0.4-4.1 0.09 MiB Total Installed Size: 18.69 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libxslt... Optional dependencies for libxslt python: Python bindings installing libyaml... installing rubygems... installing ruby... Optional dependencies for ruby tk: for Ruby/TK ruby-docs: Documentation for Ruby ruby-default-gems: Default gems which are part of Ruby StdLib ruby-bundled-gems: Bundled gems which are part of Ruby StdLib ruby-stdlib: Full Ruby StdLib including default gems, bundled gems and tools installing ruby-bundler... installing ruby-erb... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Checking buildtime dependencies... ==> Retrieving sources...  -> Found wpscan-3.8.25.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting wpscan-3.8.25.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... Fetching gem metadata from https://rubygems.org/......... Resolving dependencies... Fetching ffi 1.17.0 Fetching racc 1.8.1 Fetching yajl-ruby 1.4.3 Fetching minitest 5.25.1 Fetching ruby-progressbar 1.13.0 Fetching zeitwerk 2.6.18 Fetching public_suffix 5.0.5 Fetching mini_portile2 2.8.7 Fetching webrick 1.8.1 Fetching concurrent-ruby 1.3.4 Installing ruby-progressbar 1.13.0 Installing webrick 1.8.1 Installing ffi 1.17.0 with native extensions Fetching xmlrpc 0.3.3 Installing concurrent-ruby 1.3.4 Installing public_suffix 5.0.5 Installing zeitwerk 2.6.18 Fetching addressable 2.8.7 Installing racc 1.8.1 with native extensions Installing mini_portile2 2.8.7 Installing minitest 5.25.1 Installing xmlrpc 0.3.3 Installing yajl-ruby 1.4.3 with native extensions Installing addressable 2.8.7 Fetching i18n 1.14.6 Fetching tzinfo 2.0.6 Installing i18n 1.14.6 Installing tzinfo 2.0.6 Fetching activesupport 6.1.7.8 Installing activesupport 6.1.7.8 Fetching opt_parse_validator 1.9.5 Installing opt_parse_validator 1.9.5 Fetching nokogiri 1.15.6 Installing nokogiri 1.15.6 with native extensions Fetching ethon 0.16.0 Fetching get_process_mem 0.2.7 Fetching sys-proctable 1.3.0 Installing ethon 0.16.0 Installing get_process_mem 0.2.7 Fetching typhoeus 1.4.1 Installing sys-proctable 1.3.0 Installing typhoeus 1.4.1 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /build/wpscan/src/wpscan-3.8.25/vendor/bundle/ruby/3.2.0/gems/nokogiri-1.15.6/ext/nokogiri /usr/bin/ruby extconf.rb --use-system-libraries checking for whether -march=rv64gc is accepted as CFLAGS... yes checking for whether -mabi=lp64d is accepted as CFLAGS... yes checking for whether -O2 is accepted as CFLAGS... yes checking for whether -pipe is accepted as CFLAGS... yes checking for whether -fno-plt is accepted as CFLAGS... yes checking for whether -fexceptions is accepted as CFLAGS... yes checking for whether -Wp,-D_FORTIFY_SOURCE=3 is accepted as CFLAGS... no checking for whether -Wformat is accepted as CFLAGS... yes checking for whether -Werror=format-security is accepted as CFLAGS... yes checking for whether -fstack-clash-protection is accepted as CFLAGS... yes checking for whether -fno-omit-frame-pointer is accepted as CFLAGS... yes checking for whether -g is accepted as CFLAGS... yes checking for whether -ffile-prefix-map=/build/wpscan/src=/usr/src/debug/wpscan is accepted as CFLAGS... yes checking for whether -flto=auto is accepted as CFLAGS... yes checking for whether -I/usr/include/libxml2 is accepted as CFLAGS... yes checking for whether -Wl,-O1 is accepted as LDFLAGS... yes checking for whether -Wl,--sort-common is accepted as LDFLAGS... yes checking for whether -Wl,--as-needed is accepted as LDFLAGS... yes checking for whether -Wl,-z,relro is accepted as LDFLAGS... yes checking for whether -Wl,-z,now is accepted as LDFLAGS... yes checking for whether -flto=auto is accepted as LDFLAGS... yes checking for whether -std=c99 is accepted as CFLAGS... yes checking for whether -Wno-declaration-after-statement is accepted as CFLAGS... yes checking for whether -O2 is accepted as CFLAGS... yes checking for whether -g is accepted as CFLAGS... yes checking for whether -Winline is accepted as CFLAGS... yes checking for whether -Wmissing-noreturn is accepted as CFLAGS... yes checking for whether -Wconversion -Wno-sign-conversion is accepted as CFLAGS... yes Building nokogiri using system libraries. checking for gzdopen() in -lz... yes checking for xmlParseDoc() in -lxml2... yes checking for xsltParseStylesheetDoc() in -lxslt... yes checking for exsltFuncRegister() in -lexslt... yes Using mini_portile version 2.8.7 ---------- IMPORTANT NOTICE ---------- Building Nokogiri with a packaged version of libgumbo-1.0.0-nokogiri. Configuration options: --enable-shared --disable-static Copying gumbo-parser files into tmp/riscv64-unknown-linux/ports/libgumbo/1.0.0-nokogiri/gumbo-parser... Running 'compile' for libgumbo 1.0.0-nokogiri... OK Activating libgumbo 1.0.0-nokogiri (from ports/riscv64-linux/libgumbo/1.0.0-nokogiri)... checking for whether -I/build/wpscan/src/wpscan-3.8.25/vendor/bundle/ruby/3.2.0/gems/nokogiri-1.15.6/ext/nokogiri/ports/riscv64-linux/libgumbo/1.0.0-nokogiri/include is accepted as CPPFLAGS... yes checking for gumbo_parse_with_options() in nokogiri_gumbo.h... yes checking for xmlHasFeature()... yes checking for xmlFirstElementChild()... yes checking for xmlRelaxNGSetParserStructuredErrors()... yes checking for xmlRelaxNGSetValidStructuredErrors()... yes checking for xmlSchemaSetValidStructuredErrors()... yes checking for xmlSchemaSetParserStructuredErrors()... yes checking for rb_gc_location()... yes checking for rb_category_warning()... yes checking for whether -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" is accepted as CPPFLAGS... yes creating Makefile current directory: /build/wpscan/src/wpscan-3.8.25/vendor/bundle/ruby/3.2.0/gems/nokogiri-1.15.6/ext/nokogiri make DESTDIR\= sitearchdir\=./.gem.20240916-1027-1n5du1 sitelibdir\=./.gem.20240916-1027-1n5du1 clean current directory: /build/wpscan/src/wpscan-3.8.25/vendor/bundle/ruby/3.2.0/gems/nokogiri-1.15.6/ext/nokogiri make DESTDIR\= sitearchdir\=./.gem.20240916-1027-1n5du1 sitelibdir\=./.gem.20240916-1027-1n5du1 compiling gumbo.c compiling html4_document.c compiling html4_element_description.c compiling html4_entity_lookup.c compiling html4_sax_parser_context.c compiling html4_sax_push_parser.c compiling libxml2_backwards_compat.c compiling nokogiri.c compiling test_global_handlers.c compiling xml_attr.c compiling xml_attribute_decl.c compiling xml_document.c compiling xml_cdata.c compiling xml_comment.c compiling xml_document_fragment.c compiling xml_dtd.c compiling xml_element_content.c compiling xml_element_decl.c compiling xml_encoding_handler.c compiling xml_entity_decl.c compiling xml_entity_reference.c compiling xml_namespace.c compiling xml_node.c compiling xml_node_set.c compiling xml_processing_instruction.c compiling xml_reader.c compiling xml_relax_ng.c compiling xml_sax_parser.c compiling xml_sax_parser_context.c compiling xml_sax_push_parser.c compiling xml_schema.c compiling xml_syntax_error.c compiling xml_text.c xml_dtd.c: In function ‘validate’: xml_dtd.c:147:49: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 147 | xmlSetStructuredErrorFunc((void *)error_list, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:16, from /usr/include/libxml2/libxml/parser.h:20, from ./nokogiri.h:35, from xml_dtd.c:1: /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_relax_ng.c: In function ‘validate_document’: compiling xml_xpath_context.c xml_relax_ng.c:49:5: error: passing argument 2 of ‘xmlRelaxNGSetValidStructuredErrors’ from incompatible pointer type [-Wincompatible-pointer-types] 49 | Nokogiri_error_array_pusher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/xmlreader.h:18, from ./nokogiri.h:39, from xml_relax_ng.c:1: /usr/include/libxml2/libxml/relaxng.h:185:66: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 185 | xmlStructuredErrorFunc serror, void *ctx); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ xml_relax_ng.c: In function ‘xml_relax_ng_parse_schema’: xml_relax_ng.c:80:48: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 80 | xmlSetStructuredErrorFunc((void *)rb_errors, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:16, from /usr/include/libxml2/libxml/parser.h:20, from ./nokogiri.h:35: /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_relax_ng.c:85:5: error: passing argument 2 of ‘xmlRelaxNGSetParserStructuredErrors’ from incompatible pointer type [-Wincompatible-pointer-types] 85 | Nokogiri_error_array_pusher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} /usr/include/libxml2/libxml/relaxng.h:156:65: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 156 | xmlStructuredErrorFunc serror, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ xml_relax_ng.c:96:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | xmlErrorPtr error = xmlGetLastError(); | ^~~~~~~~~~~~~~~ make: *** [Makefile:248: xml_dtd.o] Error 1 make: *** Waiting for unfinished jobs.... xml_sax_push_parser.c: In function ‘native_write’: xml_sax_push_parser.c:62:23: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | xmlErrorPtr e = xmlCtxtGetLastError(ctx); | ^~~~~~~~~~~~~~~~~~~ xml_document.c: In function ‘read_io’: xml_document.c:327:49: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 327 | xmlSetStructuredErrorFunc((void *)error_list, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:16, from /usr/include/libxml2/libxml/parser.h:20, from ./nokogiri.h:35, from xml_document.c:1: /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_document.c:344:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 344 | error = xmlGetLastError(); | ^ xml_document.c: In function ‘read_memory’: xml_document.c:381:49: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 381 | xmlSetStructuredErrorFunc((void *)error_list, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_document.c:390:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 390 | error = xmlGetLastError(); | ^ xml_schema.c: In function ‘validate_document’: xml_schema.c:49:5: error: passing argument 2 of ‘xmlSchemaSetValidStructuredErrors’ from incompatible pointer type [-Wincompatible-pointer-types] 49 | Nokogiri_error_array_pusher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/xmlreader.h:19, from ./nokogiri.h:39, from xml_schema.c:1: /usr/include/libxml2/libxml/xmlschemas.h:185:65: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 185 | xmlStructuredErrorFunc serror, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ xml_schema.c: In function ‘validate_file’: xml_schema.c:90:5: error: passing argument 2 of ‘xmlSchemaSetValidStructuredErrors’ from incompatible pointer type [-Wincompatible-pointer-types] 90 | Nokogiri_error_array_pusher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} /usr/include/libxml2/libxml/xmlschemas.h:185:65: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 185 | xmlStructuredErrorFunc serror, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ xml_schema.c: In function ‘xml_schema_parse_schema’: xml_schema.c:123:48: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 123 | xmlSetStructuredErrorFunc((void *)rb_errors, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:16, from /usr/include/libxml2/libxml/parser.h:20, from ./nokogiri.h:35: /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_schema.c:128:5: error: passing argument 2 of ‘xmlSchemaSetParserStructuredErrors’ from incompatible pointer type [-Wincompatible-pointer-types] 128 | Nokogiri_error_array_pusher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} /usr/include/libxml2/libxml/xmlschemas.h:156:65: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 156 | xmlStructuredErrorFunc serror, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ xml_schema.c:149:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 149 | xmlErrorPtr error = xmlGetLastError(); | ^~~~~~~~~~~~~~~ html4_document.c: In function ‘rb_html_document_s_read_io’: html4_document.c:49:52: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 49 | xmlSetStructuredErrorFunc((void *)rb_error_list, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} xml_node.c: In function ‘process_xincludes’: In file included from /usr/include/libxml2/libxml/valid.h:16, from /usr/include/libxml2/libxml/parser.h:20, from ./nokogiri.h:35, from html4_document.c:1: /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_node.c:2136:49: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 2136 | xmlSetStructuredErrorFunc((void *)error_list, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:16, from /usr/include/libxml2/libxml/parser.h:20, from ./nokogiri.h:35, from xml_node.c:1: /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_node.c:2143:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2143 | error = xmlGetLastError(); | ^ xml_node.c: In function ‘in_context’: xml_node.c:2173:42: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 2173 | xmlSetStructuredErrorFunc((void *)err, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ html4_document.c: In function ‘rb_html_document_s_read_memory’: xml_node.c:2179:3: warning: ‘htmlHandleOmittedElem’ is deprecated [-Wdeprecated-declarations] 2179 | htmlHandleOmittedElem(0); | ^~~~~~~~~~~~~~~~~~~~~ html4_document.c:109:52: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 109 | xmlSetStructuredErrorFunc((void *)rb_error_list, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from ./nokogiri.h:42: /usr/include/libxml2/libxml/HTMLparser.h:173:25: note: declared here 173 | htmlHandleOmittedElem(int val); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_node.c:2211:3: warning: ‘htmlHandleOmittedElem’ is deprecated [-Wdeprecated-declarations] 2211 | htmlHandleOmittedElem(1); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/HTMLparser.h:173:25: note: declared here 173 | htmlHandleOmittedElem(int val); | ^~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:247: xml_relax_ng.o] Error 1 xml_document.c: In function ‘create_entity’: xml_document.c:540:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 540 | xmlErrorPtr error = xmlGetLastError(); | ^~~~~~~~~~~~~~~ make: *** [Makefile:247: xml_schema.o] Error 1 make: *** [Makefile:247: html4_document.o] Error 1 test_global_handlers.c: In function ‘rb_foreign_error_handler’: test_global_handlers.c:24:35: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 24 | xmlSetStructuredErrorFunc(NULL, foreign_error_handler); | ^~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:16, from /usr/include/libxml2/libxml/parser.h:20, from ./nokogiri.h:35, from test_global_handlers.c:1: /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ make: *** [Makefile:247: test_global_handlers.o] Error 1 make: *** [Makefile:247: xml_node.o] Error 1 make: *** [Makefile:247: xml_document.o] Error 1 html4_sax_push_parser.c: In function ‘native_write’: html4_sax_push_parser.c:35:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 35 | xmlErrorPtr e = xmlCtxtGetLastError(ctx); | ^~~~~~~~~~~~~~~~~~~ xml_reader.c: In function ‘rb_xml_reader_namespaces’: xml_reader.c:151:48: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 151 | xmlSetStructuredErrorFunc((void *)rb_errors, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:16, from /usr/include/libxml2/libxml/parser.h:20, from ./nokogiri.h:35, from xml_reader.c:1: /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_reader.c: In function ‘rb_xml_reader_attribute_hash’: xml_reader.c:235:48: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 235 | xmlSetStructuredErrorFunc((void *)rb_errors, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_reader.c: In function ‘read_more’: xml_reader.c:565:49: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 565 | xmlSetStructuredErrorFunc((void *)error_list, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_reader.c:572:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 572 | error = xmlGetLastError(); | ^ xml_xpath_context.c: In function ‘rb_xml_xpath_context_evaluate’: xml_xpath_context.c:403:45: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 403 | xmlSetStructuredErrorFunc((void *)errors, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:16, from /usr/include/libxml2/libxml/parser.h:20, from ./nokogiri.h:35, from xml_xpath_context.c:1: /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 905 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ make: *** [Makefile:247: xml_reader.o] Error 1 make: *** [Makefile:247: xml_xpath_context.o] Error 1 make failed, exit code 2 Gem files will remain installed in /build/wpscan/src/wpscan-3.8.25/vendor/bundle/ruby/3.2.0/gems/nokogiri-1.15.6 for inspection. Results logged to /build/wpscan/src/wpscan-3.8.25/vendor/bundle/ruby/3.2.0/extensions/riscv64-linux/3.2.0/nokogiri-1.15.6/gem_make.out /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:119:in `run' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:53:in `block in make' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:45:in `each' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:45:in `make' /usr/lib/ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:42:in `build' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:187:in `build_extension' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:221:in `block in build_extensions' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in `each' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in `build_extensions' /usr/lib/ruby/3.2.0/rubygems/installer.rb:846:in `build_extensions' /usr/lib/ruby/3.2.0/bundler/rubygems_gem_installer.rb:76:in `build_extensions' /usr/lib/ruby/3.2.0/bundler/rubygems_gem_installer.rb:28:in `install' /usr/lib/ruby/3.2.0/bundler/source/rubygems.rb:206:in `install' /usr/lib/ruby/3.2.0/bundler/installer/gem_installer.rb:54:in `install' /usr/lib/ruby/3.2.0/bundler/installer/gem_installer.rb:16:in `install_from_spec' /usr/lib/ruby/3.2.0/bundler/installer/parallel_installer.rb:132:in `do_install' /usr/lib/ruby/3.2.0/bundler/installer/parallel_installer.rb:123:in `block in worker_pool' /usr/lib/ruby/3.2.0/bundler/worker.rb:62:in `apply_func' /usr/lib/ruby/3.2.0/bundler/worker.rb:57:in `block in process_queue' /usr/lib/ruby/3.2.0/bundler/worker.rb:54:in `loop' /usr/lib/ruby/3.2.0/bundler/worker.rb:54:in `process_queue' /usr/lib/ruby/3.2.0/bundler/worker.rb:90:in `block (2 levels) in create_threads' An error occurred while installing nokogiri (1.15.6), and Bundler cannot continue. In Gemfile: wpscan was resolved to 3.8.25, which depends on cms_scanner was resolved to 0.13.9, which depends on nokogiri ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix43/build [?25h[?25hreceiving incremental file list wpscan-1:3.8.25-3-riscv64-build.log wpscan-1:3.8.25-3-riscv64-prepare.log sent 62 bytes received 3,986 bytes 2,698.67 bytes/sec total size is 30,877 speedup is 7.63