Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-xmlparser.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672284554.541650/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.szeatflt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.szeatflt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '94ffd82206444bcd9168875d93815997', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672284554.541650/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.szeatflt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-xmlparser.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rubygem-xmlparser-0.7.2.1-35.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-xmlparser.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672284554.541650/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.szeatflt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.szeatflt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd96d92747abc4ad7a4b2c36070c40e18', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672284554.541650/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.szeatflt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-xmlparser.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5yif6Q + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/xmlparser-0.7.2.1.gem Unpacked gem: '/builddir/build/BUILD/xmlparser-0.7.2.1' + cd /builddir/build/BUILD + cd xmlparser-0.7.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/xmlparser-0.7.2.1.gem -l --ruby Patch #0 (rubygem-xmlparser-ftbfs-fix.patch): + echo 'Patch #0 (rubygem-xmlparser-ftbfs-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ext/xmlparser.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UToEz8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xmlparser-0.7.2.1 + gem build xmlparser.gemspec WARNING: licenses is empty, but is recommended. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. WARNING: description and summary are identical WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: xmlparser Version: 0.7.2.1 File: xmlparser-0.7.2.1.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc xmlparser-0.7.2.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/xmlparser-0.7.2.1 Bin dir: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/bin Gem home: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems Plugins dir: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/plugins /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/MANIFEST /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/README /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/README.ja /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext/encoding.h /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext/extconf.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext/xmlparser.c /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/sax.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/saxdriver.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/wget.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom/builder.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom/core.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom/digest.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom/visitor.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/attr.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/cdatasection.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/characterdata.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/comment.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/core.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/document.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/documentfragment.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/documenttype.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/dombuilder.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/dombuilderfilter.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/domentityresolver.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/domentityresolverimpl.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/domexception.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/domimplementation.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/dominputsource.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/element.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/entity.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/entityreference.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/namednodemap.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/node.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/nodelist.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/notation.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/processinginstruction.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/text.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/dom2/xpath.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/parser.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/parserns.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/sax.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/saxdriver.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/xpath.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xml/xpath.ry /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xmldigest.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xmltree.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xmltreebuilder.rb /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/lib/xmltreevisitor.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "extconf.rb"] checking for expat.h... yes checking for XML_ParserCreate() in -lexpat... yes checking for XML_SetNotStandaloneHandler()... yes checking for XML_SetParamEntityParsing()... yes checking for XML_SetDoctypeDeclHandler()... yes checking for XML_ParserReset()... yes checking for XML_SetSkippedEntityHandler()... yes checking for XML_GetFeatureList()... yes checking for XML_UseForeignDTD()... yes checking for XML_GetIdAttributeIndex()... yes checking for ntohl() in -lsocket... no creating Makefile current directory: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20221229-34-3vehla", "sitelibdir=./.gem.20221229-34-3vehla", "clean"] rm -f rm -fr xmlparser.so false *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20221229-34-3vehla", "sitelibdir=./.gem.20221229-34-3vehla"] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_EXPAT_H -DHAVE_XML_SETNOTSTANDALONEHANDLER -DHAVE_XML_SETPARAMENTITYPARSING -DHAVE_XML_SETDOCTYPEDECLHANDLER -DHAVE_XML_PARSERRESET -DHAVE_XML_SETSKIPPEDENTITYHANDLER -DHAVE_XML_GETFEATURELIST -DHAVE_XML_USEFOREIGNDTD -DHAVE_XML_GETIDATTRIBUTEINDEX -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNEW_EXPAT -DXML_DTD -m64 -o xmlparser.o -c xmlparser.c xmlparser.c: In function 'XMLParser_mark': xmlparser.c:185:16: warning: variable 'parent' set but not used [-Wunused-but-set-variable] 185 | XMLParser* parent; | ^~~~~~ xmlparser.c: In function 'taintObject': xmlparser.c:204:5: warning: 'RB_OBJ_TAINT' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 204 | OBJ_TAINT(obj); | ^~~~~~~~~ In file included from /usr/include/ruby/internal/core/rstring.h:30, from /usr/include/ruby/internal/arithmetic/char.h:29, from /usr/include/ruby/internal/arithmetic.h:23, from /usr/include/ruby/ruby.h:27, from /usr/include/ruby.h:38, from xmlparser.c:44: /usr/include/ruby/internal/fl_type.h:858:1: note: declared here 858 | RB_OBJ_TAINT(VALUE obj) | ^~~~~~~~~~~~ In file included from /usr/include/ruby/internal/assume.h:29, from /usr/include/ruby/backward/2/assume.h:24, from /usr/include/ruby/defines.h:72, from /usr/include/ruby/ruby.h:25: xmlparser.c: In function 'iterStartElementHandler': xmlparser.c:231:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 231 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:231:3: note: in expansion of macro 'GET_PARSER' 231 | GET_PARSER(recv, parser); | ^~~~~~~~~~ In file included from /usr/include/ruby/internal/core.h:27, from /usr/include/ruby/ruby.h:28: /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterEndElementHandler': xmlparser.c:257:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 257 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:257:3: note: in expansion of macro 'GET_PARSER' 257 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterCharacterDataHandler': xmlparser.c:272:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 272 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:272:3: note: in expansion of macro 'GET_PARSER' 272 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterProcessingInstructionHandler': xmlparser.c:287:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 287 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:287:3: note: in expansion of macro 'GET_PARSER' 287 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterDefaultHandler': xmlparser.c:303:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 303 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:303:3: note: in expansion of macro 'GET_PARSER' 303 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterUnparsedEntityDeclHandler': xmlparser.c:324:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 324 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:324:3: note: in expansion of macro 'GET_PARSER' 324 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterNotationDeclHandler': xmlparser.c:348:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 348 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:348:3: note: in expansion of macro 'GET_PARSER' 348 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterExternalEntityRefHandler': xmlparser.c:372:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 372 | VALUE ret; | ^~~ xmlparser.c: In function 'iterCommentHandler': xmlparser.c:398:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 398 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:398:3: note: in expansion of macro 'GET_PARSER' 398 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterStartCdataSectionHandler': xmlparser.c:411:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 411 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:411:3: note: in expansion of macro 'GET_PARSER' 411 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterEndCdataSectionHandler': xmlparser.c:423:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 423 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:423:3: note: in expansion of macro 'GET_PARSER' 423 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterStartNamespaceDeclHandler': xmlparser.c:437:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 437 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:437:3: note: in expansion of macro 'GET_PARSER' 437 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterEndNamespaceDeclHandler': xmlparser.c:452:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 452 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:452:3: note: in expansion of macro 'GET_PARSER' 452 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterStartDoctypeDeclHandler': xmlparser.c:479:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 479 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:479:3: note: in expansion of macro 'GET_PARSER' 479 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterEndDoctypeDeclHandler': xmlparser.c:499:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 499 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:499:3: note: in expansion of macro 'GET_PARSER' 499 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterElementDeclHandler': xmlparser.c:551:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 551 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:551:3: note: in expansion of macro 'GET_PARSER' 551 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterAttlistDeclHandler': xmlparser.c:573:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 573 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:573:3: note: in expansion of macro 'GET_PARSER' 573 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterXmlDeclHandler': xmlparser.c:597:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 597 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:597:3: note: in expansion of macro 'GET_PARSER' 597 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterEntityDeclHandler': xmlparser.c:625:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 625 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:625:3: note: in expansion of macro 'GET_PARSER' 625 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'iterSkippedEntityHandler': xmlparser.c:695:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 695 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:695:3: note: in expansion of macro 'GET_PARSER' 695 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myStartElementHandler': xmlparser.c:716:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 716 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:716:3: note: in expansion of macro 'GET_PARSER' 716 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myEndElementHandler': xmlparser.c:737:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 737 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:737:3: note: in expansion of macro 'GET_PARSER' 737 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myCharacterDataHandler': xmlparser.c:748:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 748 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:748:3: note: in expansion of macro 'GET_PARSER' 748 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myProcessingInstructionHandler': xmlparser.c:759:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 759 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:759:3: note: in expansion of macro 'GET_PARSER' 759 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myDefaultHandler': xmlparser.c:771:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 771 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:771:3: note: in expansion of macro 'GET_PARSER' 771 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myDefaultExpandHandler': xmlparser.c:783:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 783 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:783:3: note: in expansion of macro 'GET_PARSER' 783 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myUnparsedEntityDeclHandler': xmlparser.c:798:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 798 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:798:3: note: in expansion of macro 'GET_PARSER' 798 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myNotationDeclHandler': xmlparser.c:815:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 815 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:815:3: note: in expansion of macro 'GET_PARSER' 815 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myExternalEntityRefHandler': xmlparser.c:832:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 832 | VALUE ret; | ^~~ xmlparser.c: In function 'myCommentHandler': xmlparser.c:852:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 852 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:852:3: note: in expansion of macro 'GET_PARSER' 852 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myStartCdataSectionHandler': xmlparser.c:861:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 861 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:861:3: note: in expansion of macro 'GET_PARSER' 861 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c:860:14: warning: variable 'parser' set but not used [-Wunused-but-set-variable] 860 | XMLParser* parser; | ^~~~~~ xmlparser.c: In function 'myEndCdataSectionHandler': xmlparser.c:869:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 869 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:869:3: note: in expansion of macro 'GET_PARSER' 869 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c:868:14: warning: variable 'parser' set but not used [-Wunused-but-set-variable] 868 | XMLParser* parser; | ^~~~~~ xmlparser.c: In function 'myStartNamespaceDeclHandler': xmlparser.c:879:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 879 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:879:3: note: in expansion of macro 'GET_PARSER' 879 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myEndNamespaceDeclHandler': xmlparser.c:890:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 890 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:890:3: note: in expansion of macro 'GET_PARSER' 890 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myNotStandaloneHandler': xmlparser.c:901:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 901 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:901:3: note: in expansion of macro 'GET_PARSER' 901 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c:898:14: warning: variable 'parser' set but not used [-Wunused-but-set-variable] 898 | XMLParser* parser; | ^~~~~~ xmlparser.c: In function 'myStartDoctypeDeclHandler': xmlparser.c:922:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 922 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:922:3: note: in expansion of macro 'GET_PARSER' 922 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myEndDoctypeDeclHandler': xmlparser.c:940:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 940 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:940:3: note: in expansion of macro 'GET_PARSER' 940 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c:939:14: warning: variable 'parser' set but not used [-Wunused-but-set-variable] 939 | XMLParser* parser; | ^~~~~~ xmlparser.c: In function 'myElementDeclHandler': xmlparser.c:955:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 955 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:955:3: note: in expansion of macro 'GET_PARSER' 955 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myAttlistDeclHandler': xmlparser.c:970:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 970 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:970:3: note: in expansion of macro 'GET_PARSER' 970 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myXmlDeclHandler': xmlparser.c:986:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 986 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:986:3: note: in expansion of macro 'GET_PARSER' 986 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myEntityDeclHandler': xmlparser.c:1005:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 1005 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:1005:3: note: in expansion of macro 'GET_PARSER' 1005 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'myUnknownEncodingHandler': xmlparser.c:1299:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 1299 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:1299:3: note: in expansion of macro 'GET_PARSER' 1299 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c:1329:5: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 1329 | if (OBJ_TAINTED(ret)) | ^~ /usr/include/ruby/internal/fl_type.h:828:1: note: declared here 828 | RB_OBJ_TAINTED(VALUE obj) | ^~~~~~~~~~~~~~ xmlparser.c: In function 'mySkippedEntityHandler': xmlparser.c:1355:14: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [-Wint-conversion] 1355 | GET_PARSER(recv, parser); | ^~~~ | | | void * xmlparser.c:1355:3: note: in expansion of macro 'GET_PARSER' 1355 | GET_PARSER(recv, parser); | ^~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:312:26: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'void *' 312 | rb_data_object_get(VALUE obj) | ~~~~~~^~~ xmlparser.c: In function 'XMLParser_parse': xmlparser.c:1765:5: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 1765 | if (OBJ_TAINTED(str)) | ^~ /usr/include/ruby/internal/fl_type.h:828:1: note: declared here 828 | RB_OBJ_TAINTED(VALUE obj) | ^~~~~~~~~~~~~~ xmlparser.c:1771:9: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 1771 | if (OBJ_TAINTED(buf)) | ^~ /usr/include/ruby/internal/fl_type.h:828:1: note: declared here 828 | RB_OBJ_TAINTED(VALUE obj) | ^~~~~~~~~~~~~~ xmlparser.c:1794:5: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 1794 | if (OBJ_TAINTED(str)) | ^~ /usr/include/ruby/internal/fl_type.h:828:1: note: declared here 828 | RB_OBJ_TAINTED(VALUE obj) | ^~~~~~~~~~~~~~ xmlparser.c:1806:16: warning: implicit declaration of function 'ENC_TO_ENCINDEX' [-Wimplicit-function-declaration] 1806 | if ((int)ENC_TO_ENCINDEX(enc) != rb_ascii8bit_encindex()) { | ^~~~~~~~~~~~~~~ xmlparser.c: In function 'XMLParser_setBase': xmlparser.c:1916:3: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 1916 | if (OBJ_TAINTED(base)) | ^~ /usr/include/ruby/internal/fl_type.h:828:1: note: declared here 828 | RB_OBJ_TAINTED(VALUE obj) | ^~~~~~~~~~~~~~ xmlparser.c: In function 'Init_xmlparser': xmlparser.c:2165:3: warning: passing argument 3 of 'rb_define_method_m1' from incompatible pointer type [-Wincompatible-pointer-types] 2165 | rb_define_method(cXMLParser, "initialize", XMLParser_initialize, -1); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} In file included from /usr/include/ruby/ruby.h:26: /usr/include/ruby/internal/anyargs.h:276:1: note: expected 'VALUE (*)(int, union , VALUE)' {aka 'long unsigned int (*)(int, union , long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} 276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ rm -f xmlparser.so gcc -shared -o xmlparser.so xmlparser.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -m64 -lruby -lexpat -lm -lc current directory: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20221229-34-3vehla", "sitelibdir=./.gem.20221229-34-3vehla", "install"] /usr/bin/mkdir -p . ./.gem.20221229-34-3vehla exit > .sitearchdir.time /usr/bin/install -c -m 0755 xmlparser.so ./.gem.20221229-34-3vehla current directory: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext /usr/bin/ruby -I /usr/share/rubygems extconf.rb current directory: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext make DESTDIR\= sitearchdir\=./.gem.20221229-34-3vehla sitelibdir\=./.gem.20221229-34-3vehla clean current directory: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext make DESTDIR\= sitearchdir\=./.gem.20221229-34-3vehla sitelibdir\=./.gem.20221229-34-3vehla current directory: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext make DESTDIR\= sitearchdir\=./.gem.20221229-34-3vehla sitelibdir\=./.gem.20221229-34-3vehla install Successfully installed xmlparser-0.7.2.1 Parsing documentation for xmlparser-0.7.2.1 Parsing sources... 1% [ 1/51] MANIFEST 3% [ 2/51] README 5% [ 3/51] README.ja 7% [ 4/51] ext/Makefile 9% [ 5/51] ext/encoding.h 11% [ 6/51] ext/extconf.rb 13% [ 7/51] ext/xmlparser.c 15% [ 8/51] ext/xmlparser.o 17% [ 9/51] ext/xmlparser.so 19% [10/51] lib/sax.rb 21% [11/51] lib/saxdriver.rb 23% [12/51] lib/wget.rb 25% [13/51] lib/xml/dom/builder.rb 27% [14/51] lib/xml/dom/core.rb 29% [15/51] lib/xml/dom/digest.rb 31% [16/51] lib/xml/dom/visitor.rb 33% [17/51] lib/xml/dom2/attr.rb 35% [18/51] lib/xml/dom2/cdatasection.rb 37% [19/51] lib/xml/dom2/characterdata.rb 39% [20/51] lib/xml/dom2/comment.rb 41% [21/51] lib/xml/dom2/core.rb 43% [22/51] lib/xml/dom2/document.rb 45% [23/51] lib/xml/dom2/documentfragment.rb 47% [24/51] lib/xml/dom2/documenttype.rb 49% [25/51] lib/xml/dom2/dombuilder.rb 50% [26/51] lib/xml/dom2/dombuilderfilter.rb 52% [27/51] lib/xml/dom2/domentityresolver.rb 54% [28/51] lib/xml/dom2/domentityresolverimpl.rb 56% [29/51] lib/xml/dom2/domexception.rb 58% [30/51] lib/xml/dom2/domimplementation.rb 60% [31/51] lib/xml/dom2/dominputsource.rb 62% [32/51] lib/xml/dom2/element.rb 64% [33/51] lib/xml/dom2/entity.rb 66% [34/51] lib/xml/dom2/entityreference.rb 68% [35/51] lib/xml/dom2/namednodemap.rb 70% [36/51] lib/xml/dom2/node.rb 72% [37/51] lib/xml/dom2/nodelist.rb 74% [38/51] lib/xml/dom2/notation.rb 76% [39/51] lib/xml/dom2/processinginstruction.rb 78% [40/51] lib/xml/dom2/text.rb 80% [41/51] lib/xml/dom2/xpath.rb 82% [42/51] lib/xml/parser.rb 84% [43/51] lib/xml/parserns.rb 86% [44/51] lib/xml/sax.rb 88% [45/51] lib/xml/saxdriver.rb 90% [46/51] lib/xml/xpath.rb 92% [47/51] lib/xml/xpath.ry 94% [48/51] lib/xmldigest.rb 96% [49/51] lib/xmltree.rb 98% [50/51] lib/xmltreebuilder.rb 100% [51/51] lib/xmltreevisitor.rb Installing ri documentation for xmlparser-0.7.2.1 Installing darkfish documentation for xmlparser-0.7.2.1 Done installing documentation for xmlparser after 1 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GHBKLc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xmlparser-0.7.2.1 + rm -rf /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64/usr/share/gems + cp -rp ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64/usr/share/gems/ + rm -rf /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64/usr/share/gems/gems/xmlparser-0.7.2.1/ext + mkdir -p /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64/usr/lib64/gems/ruby/xmlparser-0.7.2.1/ + cp -a .//usr/lib64/gems/ruby/xmlparser-0.7.2.1/gem.build_complete .//usr/lib64/gems/ruby/xmlparser-0.7.2.1/xmlparser.so /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64/usr/lib64/gems/ruby/xmlparser-0.7.2.1/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.7.2.1-35.fc38 --unique-debug-suffix -0.7.2.1-35.fc38.x86_64 --unique-debug-src-base rubygem-xmlparser-0.7.2.1-35.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/xmlparser-0.7.2.1 extracting debug info from /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64/usr/lib64/gems/ruby/xmlparser-0.7.2.1/xmlparser.so original debug info size: 308kB, size after compression: 296kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 124 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rubygem-xmlparser-0.7.2.1-35.fc38.x86_64 Provides: rubygem(xmlparser) = 0.7.2.1 rubygem-xmlparser = 0.7.2.1-35.fc38 rubygem-xmlparser(x86-64) = 0.7.2.1-35.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libexpat.so.1()(64bit) libruby.so.3.1()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-xmlparser-debugsource-0.7.2.1-35.fc38.x86_64 Provides: rubygem-xmlparser-debugsource = 0.7.2.1-35.fc38 rubygem-xmlparser-debugsource(x86-64) = 0.7.2.1-35.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-xmlparser-debuginfo-0.7.2.1-35.fc38.x86_64 Provides: debuginfo(build-id) = 280431e7b08e90eb96a0ce52ddc70e00c3f1dc0f rubygem-xmlparser-debuginfo = 0.7.2.1-35.fc38 rubygem-xmlparser-debuginfo(x86-64) = 0.7.2.1-35.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-xmlparser-debugsource(x86-64) = 0.7.2.1-35.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64 Wrote: /builddir/build/RPMS/rubygem-xmlparser-debuginfo-0.7.2.1-35.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-xmlparser-debugsource-0.7.2.1-35.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rf9DrO + umask 022 + cd /builddir/build/BUILD + cd xmlparser-0.7.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-35.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.OsRL6k + umask 022 + cd /builddir/build/BUILD + rm -rf xmlparser-0.7.2.1 xmlparser-0.7.2.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0