+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/rubygem-xmlparser.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: bogus date in %changelog: Wed Jul 12 2011 Ulrich Schwickerath - 0.6.81-6 warning: bogus date in %changelog: Wed Jul 12 2011 Ulrich Schwickerath - 0.6.81-5 warning: bogus date in %changelog: Tue Jul 11 2011 Ulrich Schwickerath - 0.6.81-4 warning: bogus date in %changelog: Mon Jul 10 2011 Ulrich Schwickerath - 0.6.81-3 warning: bogus date in %changelog: Sat Jul 08 2011 Ulrich Schwickerath - 0.6.81-2 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y7JgTU + 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 + echo 'Patch #0 (rubygem-xmlparser-ftbfs-fix.patch):' Patch #0 (rubygem-xmlparser-ftbfs-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ext/xmlparser.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a7HTkY + umask 022 + cd /builddir/build/BUILD + 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 http://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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 '\'' ' + 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 /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 -r ./siteconf20180326-256-166oudt.rb extconf.rb sh: perl: command not found 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=" clean rm -f rm -f xmlparser.so *.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=" 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DNEW_EXPAT -DXML_DTD -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] XMLParser* parent; ^~~~~~ In file included from /usr/include/ruby.h:33:0, from xmlparser.c:44: 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] GET_PARSER(recv, parser); ^ xmlparser.c:231:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:257:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:272:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:287:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:303:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:324:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:348:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] VALUE ret; ^~~ In file included from /usr/include/ruby.h:33:0, from xmlparser.c:44: 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] GET_PARSER(recv, parser); ^ xmlparser.c:398:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:411:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:423:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:437:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:452:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:479:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:499:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:551:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:573:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:597:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:625:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:695:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:716:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:737:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:748:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:759:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:771:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:783:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:798:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:815:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] VALUE ret; ^~~ In file included from /usr/include/ruby.h:33:0, from xmlparser.c:44: 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] GET_PARSER(recv, parser); ^ xmlparser.c:852:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:861:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' rb_data_object_get(VALUE obj) ^~~~~~~~~~~~~~~~~~ xmlparser.c:860:14: warning: variable 'parser' set but not used [-Wunused-but-set-variable] XMLParser* parser; ^~~~~~ In file included from /usr/include/ruby.h:33:0, from xmlparser.c:44: 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] GET_PARSER(recv, parser); ^ xmlparser.c:869:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' rb_data_object_get(VALUE obj) ^~~~~~~~~~~~~~~~~~ xmlparser.c:868:14: warning: variable 'parser' set but not used [-Wunused-but-set-variable] XMLParser* parser; ^~~~~~ In file included from /usr/include/ruby.h:33:0, from xmlparser.c:44: 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] GET_PARSER(recv, parser); ^ xmlparser.c:879:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:890:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:901:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' rb_data_object_get(VALUE obj) ^~~~~~~~~~~~~~~~~~ xmlparser.c:898:14: warning: variable 'parser' set but not used [-Wunused-but-set-variable] XMLParser* parser; ^~~~~~ In file included from /usr/include/ruby.h:33:0, from xmlparser.c:44: 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] GET_PARSER(recv, parser); ^ xmlparser.c:922:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:940:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' rb_data_object_get(VALUE obj) ^~~~~~~~~~~~~~~~~~ xmlparser.c:939:14: warning: variable 'parser' set but not used [-Wunused-but-set-variable] XMLParser* parser; ^~~~~~ In file included from /usr/include/ruby.h:33:0, from xmlparser.c:44: 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] GET_PARSER(recv, parser); ^ xmlparser.c:955:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:970:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:986:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:1005:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' 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] GET_PARSER(recv, parser); ^ xmlparser.c:1299:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' rb_data_object_get(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] GET_PARSER(recv, parser); ^ xmlparser.c:1355:3: note: in expansion of macro 'GET_PARSER' GET_PARSER(recv, parser); ^~~~~~~~~~ /usr/include/ruby/ruby.h:1354:1: note: expected 'VALUE {aka long unsigned int}' but argument is of type 'void *' rb_data_object_get(VALUE obj) ^~~~~~~~~~~~~~~~~~ xmlparser.c: In function 'XMLParser_parse': xmlparser.c:1806:16: warning: implicit declaration of function 'ENC_TO_ENCINDEX'; did you mean 'ENC_CODERANGE'? [-Wimplicit-function-declaration] if ((int)ENC_TO_ENCINDEX(enc) != rb_ascii8bit_encindex()) { ^~~~~~~~~~~~~~~ ENC_CODERANGE rm -f xmlparser.so gcc -shared -o xmlparser.so xmlparser.o -L. -L/usr/lib64 -L. -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lruby -lexpat -lpthread -ldl -lcrypt -lm -lc current directory: /builddir/build/BUILD/xmlparser-0.7.2.1/usr/share/gems/gems/xmlparser-0.7.2.1/ext make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20180326-256-6hm99x exit > .sitearchdir.time /usr/bin/install -c -m 0755 xmlparser.so ./.gem.20180326-256-6hm99x 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 129 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5MQ0lq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-18.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-18.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-18.fc28.riscv64 + cd xmlparser-0.7.2.1 + rm -rf /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-18.fc28.riscv64/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/specifications /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-18.fc28.riscv64/usr/share/gems/ + rm -rf /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-18.fc28.riscv64/usr/share/gems/gems/xmlparser-0.7.2.1/ext + mkdir -p /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-18.fc28.riscv64/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-18.fc28.riscv64/usr/lib64/gems/ruby/xmlparser-0.7.2.1/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rubygem-xmlparser-0.7.2.1-18.fc28.riscv64 Provides: rubygem(xmlparser) = 0.7.2.1-1 rubygem-xmlparser = 0.7.2.1-18.fc28 rubygem-xmlparser(riscv-64) = 0.7.2.1-18.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypt.so.1()(64bit) libdl.so.2()(64bit) libexpat.so.1()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libruby.so.2.5()(64bit) rtld(GNU_HASH) ruby(rubygems) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-xmlparser-0.7.2.1-18.fc28.riscv64 Wrote: /builddir/build/SRPMS/rubygem-xmlparser-0.7.2.1-18.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/rubygem-xmlparser-0.7.2.1-18.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FQaynf + 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-18.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff