Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/23.0, gcc-13, glibc-2.38-r11, 6.8.2-arch2-1 x86_64) ================================================================= System uname: Linux-6.8.2-arch2-1-x86_64-AMD_Ryzen_7_4800H_with_Radeon_Graphics-with-glibc2.38 KiB Mem: 32214832 total, 11960372 free KiB Swap: 12582908 total, 12582908 free Timestamp of repository gentoo: Thu, 11 Apr 2024 21:34:13 +0000 sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.41 p5) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-build/autoconf: 2.71-r6::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.28.3::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.3.2::gentoo dev-lang/perl: 5.38.2-r2::gentoo dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo dev-lang/rust-bin: 1.75.0::gentoo sys-apps/baselayout: 2.14-r2::gentoo sys-apps/openrc: 0.54::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.41-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo sys-devel/gcc: 13.2.1_p20240210::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/llvm: 17.0.6::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r11::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-max-age: 3 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes Binary Repositories: gentoobinhost priority: 1 sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d" CXXFLAGS="-O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--autounmask --autounmask-continue --autounmask-backtrack=y --complete-graph --usepkg --getbinpkg --backtrack=300 --usepkg-exclude dev-perl/Mozilla-CA" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j8" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="acl amd64 bzip2 cet crypt gdbm iconv ipv6 libtirpc multilib ncurses nls openmp pam pcre readline seccomp ssl test-rust unicode xattr zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS * Package: dev-ruby/nokogiri-1.15.5:0 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby31 test * FEATURES: keeptemp network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... * Running unpack phase for all >>> Unpacking nokogiri-1.15.5-git.tgz to /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/all >>> Source unpacked in /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work >>> Preparing source in /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work ... * Running prepare phase for all * Running prepare phase for all * Running source copy phase for ruby31 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work ... * Running configure phase for ruby31 checking for whether -O2 is accepted as CFLAGS... yes checking for whether -pipe is accepted as CFLAGS... yes checking for whether -Wl,-O1 is accepted as LDFLAGS... yes checking for whether -Wl,--as-needed is accepted as LDFLAGS... yes checking for whether -Wl,-z,pack-relative-relocs 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.4 ---------- 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/x86_64-pc-linux-gnu/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/x86_64-linux/libgumbo/1.0.0-nokogiri)... checking for whether -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-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 >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work ... * Running compile phase for ruby31 make -j8 -Cext/nokogiri V=1 'CFLAGS=-O2 -pipe -fPIC' 'archflag=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs' make: Entering directory '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri' x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o html4_document.o -c html4_document.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o gumbo.o -c gumbo.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o html4_element_description.o -c html4_element_description.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o html4_entity_lookup.o -c html4_entity_lookup.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o html4_sax_parser_context.o -c html4_sax_parser_context.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o html4_sax_push_parser.o -c html4_sax_push_parser.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o nokogiri.o -c nokogiri.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o libxml2_backwards_compat.o -c libxml2_backwards_compat.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o test_global_handlers.o -c test_global_handlers.c html4_sax_push_parser.c: In function ‘native_write’: html4_sax_push_parser.c:35:21: warning: initialization discards �-Wdiscarded-qualifiers][]] 35 | xmlErrorPtr e = xmlCtxtGetLastError(ctx); | ^~~~~~~~~~~~~~~~~~~ html4_document.c: In function ‘rb_html_document_s_read_io’: html4_document.c:49:52: warning: passing argument 2 of �-Wincompatible-pointer-types][]] 49 | xmlSetStructuredErrorFunc((void *)rb_error_list, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:15, from /usr/include/libxml2/libxml/parser.h:19, from ./nokogiri.h:35, from html4_document.c:1: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ html4_document.c: In function ‘rb_html_document_s_read_memory’: html4_document.c:109:52: warning: passing argument 2 of �-Wincompatible-pointer-types][]] 109 | xmlSetStructuredErrorFunc((void *)rb_error_list, Nokogiri_error_array_pusher); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ test_global_handlers.c: In function ‘rb_foreign_error_handler’: test_global_handlers.c:24:35: warning: passing argument 2 of �-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:15, from /usr/include/libxml2/libxml/parser.h:19, from ./nokogiri.h:35, from test_global_handlers.c:1: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_attr.o -c xml_attr.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_attribute_decl.o -c xml_attribute_decl.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_cdata.o -c xml_cdata.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_comment.o -c xml_comment.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_document.o -c xml_document.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_document_fragment.o -c xml_document_fragment.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_dtd.o -c xml_dtd.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_element_content.o -c xml_element_content.c xml_document.c: In function ‘read_io’: xml_document.c:327:49: warning: passing argument 2 of �-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:15, from /usr/include/libxml2/libxml/parser.h:19, from ./nokogiri.h:35, from xml_document.c:1: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_document.c:344:11: warning: assignment discards �-Wdiscarded-qualifiers][]] 344 | error = xmlGetLastError(); | ^ xml_document.c: In function ‘read_memory’: xml_document.c:381:49: warning: passing argument 2 of �-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:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_document.c:390:11: warning: assignment discards �-Wdiscarded-qualifiers][]] 390 | error = xmlGetLastError(); | ^ x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_element_decl.o -c xml_element_decl.c xml_document.c: In function ‘create_entity’: xml_document.c:540:25: warning: initialization discards �-Wdiscarded-qualifiers][]] 540 | xmlErrorPtr error = xmlGetLastError(); | ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_encoding_handler.o -c xml_encoding_handler.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_entity_decl.o -c xml_entity_decl.c xml_dtd.c: In function ‘validate’: xml_dtd.c:147:49: warning: passing argument 2 of �-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:15, from /usr/include/libxml2/libxml/parser.h:19, from ./nokogiri.h:35, from xml_dtd.c:1: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_entity_reference.o -c xml_entity_reference.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_namespace.o -c xml_namespace.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_node.o -c xml_node.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_node_set.o -c xml_node_set.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_processing_instruction.o -c xml_processing_instruction.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_reader.o -c xml_reader.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_relax_ng.o -c xml_relax_ng.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_sax_parser.o -c xml_sax_parser.c xml_node.c: In function ‘process_xincludes’: xml_node.c:2136:49: warning: passing argument 2 of �-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:15, from /usr/include/libxml2/libxml/parser.h:19, from ./nokogiri.h:35, from xml_node.c:1: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_node.c:2143:11: warning: assignment discards �-Wdiscarded-qualifiers][]] 2143 | error = xmlGetLastError(); | ^ xml_node.c: In function ‘in_context’: xml_node.c:2173:42: warning: passing argument 2 of �-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:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_sax_parser_context.o -c xml_sax_parser_context.c xml_reader.c: In function ‘rb_xml_reader_namespaces’: xml_reader.c:151:48: warning: passing argument 2 of �-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:15, from /usr/include/libxml2/libxml/parser.h:19, from ./nokogiri.h:35, from xml_reader.c:1: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_reader.c: In function ‘rb_xml_reader_attribute_hash’: xml_reader.c:235:48: warning: passing argument 2 of �-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:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_reader.c: In function ‘read_more’: xml_reader.c:565:49: warning: passing argument 2 of �-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:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_reader.c:572:9: warning: assignment discards �-Wdiscarded-qualifiers][]] 572 | error = xmlGetLastError(); | ^ x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_sax_push_parser.o -c xml_sax_push_parser.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_schema.o -c xml_schema.c xml_relax_ng.c: In function ‘validate_document’: xml_relax_ng.c:49:5: warning: passing argument 2 of �-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: warning: passing argument 2 of �-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:15, from /usr/include/libxml2/libxml/parser.h:19, from ./nokogiri.h:35: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_relax_ng.c:85:5: warning: passing argument 2 of �-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 �-Wdiscarded-qualifiers][]] 96 | xmlErrorPtr error = xmlGetLastError(); | ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_syntax_error.o -c xml_syntax_error.c xml_schema.c: In function ‘validate_document’: xml_schema.c:49:5: warning: passing argument 2 of �-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: warning: passing argument 2 of �-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: warning: passing argument 2 of �-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:15, from /usr/include/libxml2/libxml/parser.h:19, from ./nokogiri.h:35: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xml_schema.c:128:5: warning: passing argument 2 of �-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 �-Wdiscarded-qualifiers][]] 149 | xmlErrorPtr error = xmlGetLastError(); | ^~~~~~~~~~~~~~~ xml_sax_push_parser.c: In function ‘native_write’: xml_sax_push_parser.c:62:23: warning: initialization discards �-Wdiscarded-qualifiers][]] 62 | xmlErrorPtr e = xmlCtxtGetLastError(ctx); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_text.o -c xml_text.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xml_xpath_context.o -c xml_xpath_context.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O2 -pipe -fPIC -o xslt_stylesheet.o -c xslt_stylesheet.c xml_xpath_context.c: In function ‘rb_xml_xpath_context_evaluate’: xml_xpath_context.c:403:45: warning: passing argument 2 of �-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:15, from /usr/include/libxml2/libxml/parser.h:19, from ./nokogiri.h:35, from xml_xpath_context.c:1: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rm -f nokogiri.so x86_64-pc-linux-gnu-gcc -shared -o nokogiri.so gumbo.o html4_document.o html4_element_description.o html4_entity_lookup.o html4_sax_parser_context.o html4_sax_push_parser.o libxml2_backwards_compat.o nokogiri.o test_global_handlers.o xml_attr.o xml_attribute_decl.o xml_cdata.o xml_comment.o xml_document.o xml_document_fragment.o xml_dtd.o xml_element_content.o xml_element_decl.o xml_encoding_handler.o xml_entity_decl.o xml_entity_reference.o xml_namespace.o xml_node.o xml_node_set.o xml_processing_instruction.o xml_reader.o xml_relax_ng.o xml_sax_parser.o xml_sax_parser_context.o xml_sax_push_parser.o xml_schema.o xml_syntax_error.o xml_text.o xml_xpath_context.o xslt_stylesheet.o -L. -L/usr/lib64 -L/usr/lib64 -L/lib64 -L/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/lib -L. -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -lruby31 -lexslt -lxslt -lxml2 -lz /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/lib/libgumbo.a -lm -lc /usr/bin/ruby31 ./extconf.rb --clean --disable-static Cleaning files only used during build. rm -rf /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports rm -rf /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ports/archives make: Leaving directory '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri' * Running compile phase for all >>> Source compiled. >>> Test phase: dev-ruby/nokogiri-1.15.5 * Running test phase for ruby31 /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/test/helper.rb:54: version info: --- warnings: [] nokogiri: version: 1.15.5 cppflags: - "-I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri" ldflags: [] ruby: version: 3.1.4 platform: x86_64-linux gem_platform: x86_64-linux description: ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux] engine: ruby libxml: source: system memory_management: ruby iconv_enabled: true compiled: 2.12.5 loaded: 2.12.5 libxslt: source: system datetime_enabled: true compiled: 1.1.39 loaded: 1.1.39 other_libraries: libgumbo: 1.0.0-nokogiri Run options: --seed 29303 # Running: /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/test/helper.rb:162: NOKOGIRI_TEST_GC_LEVEL: normal ....S.........................................................................................................................................................................................................................................................................................................S...................................................................S..........................................................................................................................................................................................................................S.......S..................SS......S..............S..............S..........S...............S....S............................................................................................S.............................F.......................F.....................................................................................................................................................................................SSSSSSSS..................................S..............................................................................................................................................................................................................................................................................................................................................................................S.........................S...................................................................................................................................................................................................................................................................................................................................................................................................................................................F......................................S...............................................................................................................................................................................................................................S........................................SSS...........................................................................................................................................................................................................................S...................................................................... Finished in 3.282033s, 756.5432 runs/s, 2735.8040 assertions/s. 1) Failure: Nokogiri::XML::TestReader#test_broken_markup_namespaces [/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/test/xml/test_reader.rb:799]: Expected "2:1: FATAL: Premature end of data in tag foo line 1" to include "FATAL: Extra content at the end of the document". 2) Failure: Nokogiri::XML::TestReader#test_broken_markup_attribute_hash [/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/test/xml/test_reader.rb:768]: Expected "2:1: FATAL: Premature end of data in tag foo line 1" to include "FATAL: Extra content at the end of the document". 3) Failure: Nokogiri::XML::SAX::PushParser#test_0017_test_broken_encoding [/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/test/xml/sax/test_push_parser.rb:190]: --- expected +++ actual @@ -1,3 +1 @@ -# encoding: UTF-8 -# valid: false -"Gau\xDF" +"Gau�" 2483 runs, 8979 assertions, 3 failures, 0 errors, 31 skips You have skipped tests. Run with --verbose for details. * ERROR: dev-ruby/nokogiri-1.15.5::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_test * environment, line 2187: Called ruby-ng_src_test * environment, line 1797: Called _ruby_each_implementation 'each_ruby_test' * environment, line 570: Called _ruby_invoke_environment 'ruby31' 'each_ruby_test' * environment, line 677: Called each_ruby_test * environment, line 954: Called die * The specific snippet of code: * MT_NO_PLUGINS=1 ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die * * If you need support, post the output of `emerge --info '=dev-ruby/nokogiri-1.15.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/nokogiri-1.15.5::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5' * S: '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5'