Created
August 6, 2025 13:27
-
-
Save mayorova/01537bfd7590b6bf7ef95f172dd54129 to your computer and use it in GitHub Desktop.
bundle install log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
current directory: /home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/libxml-ruby-5.0.3/ext/libxml | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/bin/ruby extconf.rb | |
checking for libxml/xmlversion.h in /opt/include/libxml2,/opt/local/include/libxml2,/opt/homebrew/opt/libxml2/include/libxml2,/usr/local/include/libxml2,/usr/include/libxml2,/usr/local/include,/usr/local/opt/libxml2/include/libxml2... yes | |
checking for xmlParseDoc() in -lxml2... yes | |
creating extconf.h | |
creating Makefile | |
current directory: /home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/libxml-ruby-5.0.3/ext/libxml | |
make DESTDIR\= sitearchdir\=./.gem.20250806-1075672-cw5dee sitelibdir\=./.gem.20250806-1075672-cw5dee clean | |
current directory: /home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/libxml-ruby-5.0.3/ext/libxml | |
make DESTDIR\= sitearchdir\=./.gem.20250806-1075672-cw5dee sitelibdir\=./.gem.20250806-1075672-cw5dee | |
compiling libxml.c | |
compiling ruby_xml.c | |
compiling ruby_xml_attr.c | |
compiling ruby_xml_attr_decl.c | |
compiling ruby_xml_attributes.c | |
compiling ruby_xml_cbg.c | |
compiling ruby_xml_document.c | |
compiling ruby_xml_dtd.c | |
compiling ruby_xml_encoding.c | |
compiling ruby_xml_error.c | |
compiling ruby_xml_html_parser.c | |
compiling ruby_xml_html_parser_context.c | |
compiling ruby_xml_html_parser_options.c | |
compiling ruby_xml_input_cbg.c | |
compiling ruby_xml_io.c | |
compiling ruby_xml_namespace.c | |
compiling ruby_xml_namespaces.c | |
compiling ruby_xml_node.c | |
compiling ruby_xml_parser.c | |
compiling ruby_xml_parser_context.c | |
compiling ruby_xml_parser_options.c | |
compiling ruby_xml_reader.c | |
compiling ruby_xml_relaxng.c | |
compiling ruby_xml_sax2_handler.c | |
compiling ruby_xml_sax_parser.c | |
compiling ruby_xml_schema.c | |
compiling ruby_xml_schema_attribute.c | |
compiling ruby_xml_schema_element.c | |
compiling ruby_xml_schema_facet.c | |
compiling ruby_xml_schema_type.c | |
compiling ruby_xml_writer.c | |
ruby_xml_writer.c: In function ‘numeric_rxml_writer_va_strings’: | |
ruby_xml_writer.c:349:19: error: too many arguments to function ‘fn’; expected 0, have 1 | |
349 | ret = fn(rwo->writer); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c:352:19: error: too many arguments to function ‘fn’; expected 0, have 2 | |
352 | ret = fn(rwo->writer, argv[0]); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c:355:19: error: too many arguments to function ‘fn’; expected 0, have 3 | |
355 | ret = fn(rwo->writer, argv[0], argv[1]); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c:358:19: error: too many arguments to function ‘fn’; expected 0, have 4 | |
358 | ret = fn(rwo->writer, argv[0], argv[1], argv[2]); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c:361:19: error: too many arguments to function ‘fn’; expected 0, have 5 | |
361 | ret = fn(rwo->writer, argv[0], argv[1], argv[2], argv[3]); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c:364:19: error: too many arguments to function ‘fn’; expected 0, have 6 | |
364 | ret = fn(rwo->writer, argv[0], argv[1], argv[2], argv[3], argv[4]); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c:378:19: error: too many arguments to function ‘fn’; expected 0, have 2 | |
378 | ret = fn(rwo->writer, xpe); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c:381:19: error: too many arguments to function ‘fn’; expected 0, have 3 | |
381 | ret = fn(rwo->writer, xpe, argv[0]); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c:384:19: error: too many arguments to function ‘fn’; expected 0, have 4 | |
384 | ret = fn(rwo->writer, xpe, argv[0], argv[1]); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c:387:19: error: too many arguments to function ‘fn’; expected 0, have 5 | |
387 | ret = fn(rwo->writer, xpe, argv[0], argv[1], argv[2]); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c:390:19: error: too many arguments to function ‘fn’; expected 0, have 6 | |
390 | ret = fn(rwo->writer, xpe, argv[0], argv[1], argv[2], argv[3]); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c:393:19: error: too many arguments to function ‘fn’; expected 0, have 7 | |
393 | ret = fn(rwo->writer, xpe, argv[0], argv[1], argv[2], argv[3], argv[4]); | |
| ^~ ~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_set_indent_string’: | |
ruby_xml_writer.c:446:58: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
446 | return numeric_rxml_writer_string(self, indentation, xmlTextWriterSetIndentString); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *)} | |
ruby_xml_writer.c:299:52: note: in definition of macro ‘numeric_rxml_writer_string’ | |
299 | numeric_rxml_writer_va_strings(obj, Qundef, 1, fn, name_or_content) | |
| ^~ | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
In file included from ruby_xml_writer.c:5: | |
/usr/include/libxml2/libxml/xmlwriter.h:470:9: note: ‘xmlTextWriterSetIndentString’ declared here | |
470 | xmlTextWriterSetIndentString(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_comment’: | |
ruby_xml_writer.c:462:54: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
462 | return numeric_rxml_writer_string(self, content, xmlTextWriterWriteComment); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *)} | |
ruby_xml_writer.c:299:52: note: in definition of macro ‘numeric_rxml_writer_string’ | |
299 | numeric_rxml_writer_va_strings(obj, Qundef, 1, fn, name_or_content) | |
| ^~ | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:78:19: note: ‘xmlTextWriterWriteComment’ declared here | |
78 | XMLPUBFUN int xmlTextWriterWriteComment(xmlTextWriterPtr | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_cdata’: | |
ruby_xml_writer.c:473:54: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
473 | return numeric_rxml_writer_string(self, content, xmlTextWriterWriteCDATA); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *)} | |
ruby_xml_writer.c:299:52: note: in definition of macro ‘numeric_rxml_writer_string’ | |
299 | numeric_rxml_writer_va_strings(obj, Qundef, 1, fn, name_or_content) | |
| ^~ | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:295:9: note: ‘xmlTextWriterWriteCDATA’ declared here | |
295 | xmlTextWriterWriteCDATA(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_element’: | |
ruby_xml_writer.c:502:64: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
502 | return numeric_rxml_writer_va_strings(self, Qundef, 2, xmlTextWriterWriteElement, name, content); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:114:19: note: ‘xmlTextWriterWriteElement’ declared here | |
114 | XMLPUBFUN int xmlTextWriterWriteElement(xmlTextWriterPtr | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_element_ns’: | |
ruby_xml_writer.c:540:64: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
540 | return numeric_rxml_writer_va_strings(self, Qundef, 4, xmlTextWriterWriteElementNS, prefix, name, namespaceURI, content); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *, const | |
unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char | |
*, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:134:19: note: ‘xmlTextWriterWriteElementNS’ declared here | |
134 | XMLPUBFUN int xmlTextWriterWriteElementNS(xmlTextWriterPtr | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_attribute’: | |
ruby_xml_writer.c:552:60: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
552 | return numeric_rxml_writer_va_strings(self, Qundef, 2, xmlTextWriterWriteAttribute, name, content); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:213:19: note: ‘xmlTextWriterWriteAttribute’ declared here | |
213 | XMLPUBFUN int xmlTextWriterWriteAttribute(xmlTextWriterPtr | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_attribute_ns’: | |
ruby_xml_writer.c:575:60: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
575 | return numeric_rxml_writer_va_strings(self, Qundef, 4, xmlTextWriterWriteAttributeNS, prefix, name, namespaceURI, content); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *, const unsigned | |
char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char | |
*, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:233:19: note: ‘xmlTextWriterWriteAttributeNS’ declared here | |
233 | XMLPUBFUN int xmlTextWriterWriteAttributeNS(xmlTextWriterPtr | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_pi’: | |
ruby_xml_writer.c:586:60: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
586 | return numeric_rxml_writer_va_strings(self, Qundef, 2, xmlTextWriterWritePI, target, content); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:266:9: note: ‘xmlTextWriterWritePI’ declared here | |
266 | xmlTextWriterWritePI(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_string’: | |
ruby_xml_writer.c:600:54: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
600 | return numeric_rxml_writer_string(self, content, xmlTextWriterWriteString); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *)} | |
ruby_xml_writer.c:299:52: note: in definition of macro ‘numeric_rxml_writer_string’ | |
299 | numeric_rxml_writer_va_strings(obj, Qundef, 1, fn, name_or_content) | |
| ^~ | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:172:19: note: ‘xmlTextWriterWriteString’ declared here | |
172 | XMLPUBFUN int xmlTextWriterWriteString(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_raw’: | |
ruby_xml_writer.c:612:54: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
612 | return numeric_rxml_writer_string(self, content, xmlTextWriterWriteRaw); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *)} | |
ruby_xml_writer.c:299:52: note: in definition of macro ‘numeric_rxml_writer_string’ | |
299 | numeric_rxml_writer_va_strings(obj, Qundef, 1, fn, name_or_content) | |
| ^~ | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:159:9: note: ‘xmlTextWriterWriteRaw’ declared here | |
159 | xmlTextWriterWriteRaw(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_start_attribute’: | |
ruby_xml_writer.c:622:51: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
622 | return numeric_rxml_writer_string(self, name, xmlTextWriterStartAttribute); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *)} | |
ruby_xml_writer.c:299:52: note: in definition of macro ‘numeric_rxml_writer_string’ | |
299 | numeric_rxml_writer_va_strings(obj, Qundef, 1, fn, name_or_content) | |
| ^~ | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:186:9: note: ‘xmlTextWriterStartAttribute’ declared here | |
186 | xmlTextWriterStartAttribute(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_start_attribute_ns’: | |
ruby_xml_writer.c:641:60: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
641 | return numeric_rxml_writer_va_strings(self, Qundef, 3, xmlTextWriterStartAttributeNS, prefix, name, namespaceURI); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:188:19: note: ‘xmlTextWriterStartAttributeNS’ declared here | |
188 | XMLPUBFUN int xmlTextWriterStartAttributeNS(xmlTextWriterPtr | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_start_element’: | |
ruby_xml_writer.c:685:51: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
685 | return numeric_rxml_writer_string(self, name, xmlTextWriterStartElement); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *)} | |
ruby_xml_writer.c:299:52: note: in definition of macro ‘numeric_rxml_writer_string’ | |
299 | numeric_rxml_writer_va_strings(obj, Qundef, 1, fn, name_or_content) | |
| ^~ | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:87:9: note: ‘xmlTextWriterStartElement’ declared here | |
87 | xmlTextWriterStartElement(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_start_element_ns’: | |
ruby_xml_writer.c:704:60: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
704 | return numeric_rxml_writer_va_strings(self, Qundef, 3, xmlTextWriterStartElementNS, prefix, name, namespaceURI); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:89:19: note: ‘xmlTextWriterStartElementNS’ declared here | |
89 | XMLPUBFUN int xmlTextWriterStartElementNS(xmlTextWriterPtr | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_start_pi’: | |
ruby_xml_writer.c:814:53: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
814 | return numeric_rxml_writer_string(self, target, xmlTextWriterStartPI); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *)} | |
ruby_xml_writer.c:299:52: note: in definition of macro ‘numeric_rxml_writer_string’ | |
299 | numeric_rxml_writer_va_strings(obj, Qundef, 1, fn, name_or_content) | |
| ^~ | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:248:9: note: ‘xmlTextWriterStartPI’ declared here | |
248 | xmlTextWriterStartPI(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_start_dtd’: | |
ruby_xml_writer.c:838:60: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
838 | return numeric_rxml_writer_va_strings(self, Qundef, 3, xmlTextWriterStartDTD, name, pubid, sysid); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:302:9: note: ‘xmlTextWriterStartDTD’ declared here | |
302 | xmlTextWriterStartDTD(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_start_dtd_element’: | |
ruby_xml_writer.c:848:51: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
848 | return numeric_rxml_writer_string(self, name, xmlTextWriterStartDTDElement); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *)} | |
ruby_xml_writer.c:299:52: note: in definition of macro ‘numeric_rxml_writer_string’ | |
299 | numeric_rxml_writer_va_strings(obj, Qundef, 1, fn, name_or_content) | |
| ^~ | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:343:9: note: ‘xmlTextWriterStartDTDElement’ declared here | |
343 | xmlTextWriterStartDTDElement(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_start_dtd_entity’: | |
ruby_xml_writer.c:866:56: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
866 | return numeric_rxml_writer_va_strings(self, pe, 1, xmlTextWriterStartDTDEntity, name); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, int, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, int, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, int, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, int, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:403:9: note: ‘xmlTextWriterStartDTDEntity’ declared here | |
403 | xmlTextWriterStartDTDEntity(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_start_dtd_attlist’: | |
ruby_xml_writer.c:876:51: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
876 | return numeric_rxml_writer_string(self, name, xmlTextWriterStartDTDAttlist); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *)} | |
ruby_xml_writer.c:299:52: note: in definition of macro ‘numeric_rxml_writer_string’ | |
299 | numeric_rxml_writer_va_strings(obj, Qundef, 1, fn, name_or_content) | |
| ^~ | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:373:9: note: ‘xmlTextWriterStartDTDAttlist’ declared here | |
373 | xmlTextWriterStartDTDAttlist(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_dtd’: | |
ruby_xml_writer.c:944:60: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
944 | return numeric_rxml_writer_va_strings(self, Qundef, 4, xmlTextWriterWriteDTD, name, pubid, sysid, subset); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *, const unsigned | |
char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char | |
*, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:326:9: note: ‘xmlTextWriterWriteDTD’ declared here | |
326 | xmlTextWriterWriteDTD(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_dtd_attlist’: | |
ruby_xml_writer.c:956:60: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
956 | return numeric_rxml_writer_va_strings(self, Qundef, 2, xmlTextWriterWriteDTDAttlist, name, content); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:392:19: note: ‘xmlTextWriterWriteDTDAttlist’ declared here | |
392 | XMLPUBFUN int xmlTextWriterWriteDTDAttlist(xmlTextWriterPtr | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_dtd_element’: | |
ruby_xml_writer.c:968:60: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
968 | return numeric_rxml_writer_va_strings(self, Qundef, 2, xmlTextWriterWriteDTDElement, name, content); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:362:19: note: ‘xmlTextWriterWriteDTDElement’ declared here | |
362 | XMLPUBFUN int xmlTextWriterWriteDTDElement(xmlTextWriterPtr | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_dtd_entity’: | |
ruby_xml_writer.c:978:56: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
978 | return numeric_rxml_writer_va_strings(self, pe, 5, xmlTextWriterWriteDTDEntity, name, pubid, sysid, ndataid, content); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, int, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, int, const unsigned char *, const unsigned char *, const | |
unsigned char *, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, int, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, int, const unsigned char *, const unsigned | |
char *, const unsigned char *, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:443:19: note: ‘xmlTextWriterWriteDTDEntity’ declared here | |
443 | XMLPUBFUN int xmlTextWriterWriteDTDEntity(xmlTextWriterPtr | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_dtd_external_entity’: | |
ruby_xml_writer.c:995:56: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
995 | return numeric_rxml_writer_va_strings(self, pe, 4, xmlTextWriterWriteDTDExternalEntity, name, pubid, sysid, ndataid); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, int, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, int, const unsigned char *, const unsigned char *, const unsigned char *, const | |
unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, int, const xmlChar *, const xmlChar *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, int, const unsigned char *, const unsigned char *, const | |
unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:430:9: note: ‘xmlTextWriterWriteDTDExternalEntity’ declared here | |
430 | xmlTextWriterWriteDTDExternalEntity(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_dtd_external_entity_contents’: | |
ruby_xml_writer.c:1005:60: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
1005 | return numeric_rxml_writer_va_strings(self, Qundef, 3, xmlTextWriterWriteDTDExternalEntityContents, pubid, sysid, ndataid); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:437:9: note: ‘xmlTextWriterWriteDTDExternalEntityContents’ declared here | |
437 | xmlTextWriterWriteDTDExternalEntityContents(xmlTextWriterPtr | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_dtd_internal_entity’: | |
ruby_xml_writer.c:1021:56: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
1021 | return numeric_rxml_writer_va_strings(self, pe, 2, xmlTextWriterWriteDTDInternalEntity, name, content); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, int, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, int, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, int, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, int, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:425:9: note: ‘xmlTextWriterWriteDTDInternalEntity’ declared here | |
425 | xmlTextWriterWriteDTDInternalEntity(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ruby_xml_writer.c: In function ‘rxml_writer_write_dtd_notation’: | |
ruby_xml_writer.c:1031:60: error: passing argument 4 of ‘numeric_rxml_writer_va_strings’ from incompatible pointer type [-Wincompatible-pointer-types] | |
1031 | return numeric_rxml_writer_va_strings(self, Qundef, 3, xmlTextWriterWriteDTDNotation, name, pubid, sysid); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *) {aka int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *)} | |
ruby_xml_writer.c:310:94: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(xmlTextWriter *, const xmlChar *, const xmlChar *, const xmlChar *)’ {aka ‘int (*)(struct _xmlTextWriter *, const unsigned char *, const unsigned char *, const unsigned char *)’} | |
310 | static VALUE numeric_rxml_writer_va_strings(VALUE obj, VALUE pe, size_t strings_count, int (*fn)(ANYARGS), ...) | |
| ~~~~~~^~~~~~~~~~~~ | |
/usr/include/libxml2/libxml/xmlwriter.h:459:9: note: ‘xmlTextWriterWriteDTDNotation’ declared here | |
459 | xmlTextWriterWriteDTDNotation(xmlTextWriterPtr writer, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
At top level: | |
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics | |
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics | |
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics | |
make: *** [Makefile:248: ruby_xml_writer.o] Error 1 | |
make failed, exit code 2 | |
Gem files will remain installed in /home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/libxml-ruby-5.0.3 for inspection. | |
Results logged to /home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/extensions/x86_64-linux/3.3.0/libxml-ruby-5.0.3/gem_make.out | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:126:in `run' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:52:in `block in make' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:44:in `each' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:44:in `make' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/ext_conf_builder.rb:44:in `build' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:195:in `build_extension' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:229:in `block in build_extensions' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:226:in `each' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:226:in `build_extensions' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/installer.rb:844:in `build_extensions' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/rubygems_gem_installer.rb:72:in `build_extensions' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/rubygems_gem_installer.rb:28:in `install' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/source/rubygems.rb:207:in `install' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/installer/gem_installer.rb:54:in `install' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/installer/parallel_installer.rb:186:in `do_install' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/worker.rb:62:in `apply_func' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/worker.rb:57:in `block in process_queue' | |
<internal:kernel>:187:in `loop' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/worker.rb:54:in `process_queue' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads' | |
An error occurred while installing libxml-ruby (5.0.3), and Bundler cannot continue. | |
In Gemfile: | |
libxml-ruby | |
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
current directory: /home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/prometheus-client-mmap-0.28.0/ext/fast_mmaped_file | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/bin/ruby extconf.rb | |
creating Makefile | |
current directory: /home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/prometheus-client-mmap-0.28.0/ext/fast_mmaped_file | |
make DESTDIR\= sitearchdir\=./.gem.20250806-1075672-pqs6j3 sitelibdir\=./.gem.20250806-1075672-pqs6j3 clean | |
current directory: /home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/prometheus-client-mmap-0.28.0/ext/fast_mmaped_file | |
make DESTDIR\= sitearchdir\=./.gem.20250806-1075672-pqs6j3 sitelibdir\=./.gem.20250806-1075672-pqs6j3 | |
compiling fast_mmaped_file.c | |
fast_mmaped_file.c: In function ‘Init_fast_mmaped_file’: | |
fast_mmaped_file.c:96:6: warning: old-style function definition [-Wold-style-definition] | |
96 | void Init_fast_mmaped_file() { | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
At top level: | |
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics | |
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics | |
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics | |
compiling file_format.c | |
compiling file_parsing.c | |
compiling file_reading.c | |
compiling hashmap.c | |
compiling jsmn.c | |
compiling mmap.c | |
mmap.c: In function ‘mm_recycle’: | |
mmap.c:90:5: warning: ‘rb_gc_force_recycle’ is deprecated: this is now a no-op function [-Wdeprecated-declarations] | |
90 | rb_gc_force_recycle(str); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/dmayorov/.asdf/installs/ruby/3.3.1/include/ruby-3.3.0/ruby/internal/core/rarray.h:32, | |
from /home/dmayorov/.asdf/installs/ruby/3.3.1/include/ruby-3.3.0/ruby/internal/core.h:23, | |
from /home/dmayorov/.asdf/installs/ruby/3.3.1/include/ruby-3.3.0/ruby/ruby.h:29, | |
from /home/dmayorov/.asdf/installs/ruby/3.3.1/include/ruby-3.3.0/ruby.h:38, | |
from mmap.h:4, | |
from mmap.c:1: | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/include/ruby-3.3.0/ruby/internal/gc.h:226:6: note: declared here | |
226 | void rb_gc_force_recycle(VALUE obj); | |
| ^~~~~~~~~~~~~~~~~~~ | |
mmap.c: In function ‘mm_i_bang’: | |
mmap.c:133:14: warning: old-style function definition [-Wold-style-definition] | |
133 | static VALUE mm_i_bang(bang_st) mm_bang *bang_st; | |
| ^~~~~~~~~ | |
mmap.c:145:25: error: passing argument 1 of ‘rb_ensure’ from incompatible pointer type [-Wincompatible-pointer-types] | |
145 | res = rb_ensure(mm_protect_bang, (VALUE)tmp, mm_recycle, str); | |
| ^~~~~~~~~~~~~~~ | |
| | | |
| VALUE (*)(VALUE *) {aka long unsigned int (*)(long unsigned int *)} | |
In file included from /home/dmayorov/.asdf/installs/ruby/3.3.1/include/ruby-3.3.0/ruby/ruby.h:41: | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/include/ruby-3.3.0/ruby/internal/iterator.h:425:25: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(VALUE *)’ {aka ‘long unsigned int (*)(long unsigned int *)’} | |
425 | VALUE rb_ensure(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*e_proc)(VALUE), VALUE data2); | |
| ~~~~~~~~^~~~~~~~~~~~~~ | |
mmap.c:87:14: note: ‘mm_protect_bang’ declared here | |
87 | static VALUE mm_protect_bang(VALUE *t) { return rb_funcall2(t[0], (ID)t[1], (int)t[2], (VALUE *)t[3]); } | |
| ^~~~~~~~~~~~~~~ | |
At top level: | |
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics | |
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics | |
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics | |
make: *** [Makefile:248: mmap.o] Error 1 | |
make failed, exit code 2 | |
Gem files will remain installed in /home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/prometheus-client-mmap-0.28.0 for inspection. | |
Results logged to /home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/extensions/x86_64-linux/3.3.0/prometheus-client-mmap-0.28.0/gem_make.out | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:126:in `run' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:52:in `block in make' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:44:in `each' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:44:in `make' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/ext_conf_builder.rb:44:in `build' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:195:in `build_extension' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:229:in `block in build_extensions' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:226:in `each' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:226:in `build_extensions' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/site_ruby/3.3.0/rubygems/installer.rb:844:in `build_extensions' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/rubygems_gem_installer.rb:72:in `build_extensions' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/rubygems_gem_installer.rb:28:in `install' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/source/rubygems.rb:207:in `install' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/installer/gem_installer.rb:54:in `install' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/installer/parallel_installer.rb:186:in `do_install' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/worker.rb:62:in `apply_func' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/worker.rb:57:in `block in process_queue' | |
<internal:kernel>:187:in `loop' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/worker.rb:54:in `process_queue' | |
/home/dmayorov/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bundler-2.3.27/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads' | |
An error occurred while installing prometheus-client-mmap (0.28.0), and Bundler cannot continue. | |
In Gemfile: | |
yabeda-prometheus-mmap was resolved to 0.1.1, which depends on | |
prometheus-client-mmap | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment