Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 883383 Details for
Bug 923107
dev-ruby/nokogiri-1.15.5 - html4_document.c: error: passing argument 2 of xmlSetStructuredErrorFunc from incompatible pointer type [-Wincompatible-poi
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-ruby:nokogiri-1.15.5:20240127-231747.log
dev-ruby:nokogiri-1.15.5:20240127-231747.log (text/plain), 14.34 KB, created by
Toralf Förster
on 2024-01-28 09:51:58 UTC
(
hide
)
Description:
dev-ruby:nokogiri-1.15.5:20240127-231747.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-01-28 09:51:58 UTC
Size:
14.34 KB
patch
obsolete
> * Package: dev-ruby/nokogiri-1.15.5:0 > * Repository: gentoo > * Maintainer: ruby@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby31 ruby_targets_ruby32 ruby_targets_ruby33 > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... > * Running unpack phase for all >>>> Unpacking nokogiri-1.15.5-git.tgz to /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/all >>>> Source unpacked in /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work >>>> Preparing source in /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work ... > * Running prepare phase for all > * Running prepare phase for all > * Running source copy phase for ruby31 > * Running source copy phase for ruby32 > * Running source copy phase for ruby33 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work ... > * Running configure phase for ruby31 >checking for whether -O3 is accepted as CFLAGS... yes >checking for whether -pipe is accepted as CFLAGS... yes >checking for whether -march=native is accepted as CFLAGS... yes >checking for whether -fno-diagnostics-color is accepted as CFLAGS... yes >checking for whether -Wl,-O1 is accepted as LDFLAGS... yes >checking for whether -Wl,--as-needed is accepted as LDFLAGS... yes >checking for whether -Wl,--defsym=__gentoo_check_ldflags__=0 is accepted as LDFLAGS... yes >checking for whether -std=c99 is accepted as CFLAGS... yes >checking for whether -Wno-declaration-after-statement is accepted as CFLAGS... yes >checking for whether -O2 is accepted as CFLAGS... yes >checking for whether -g is accepted as CFLAGS... yes >checking for whether -Winline is accepted as CFLAGS... yes >checking for whether -Wmissing-noreturn is accepted as CFLAGS... yes >checking for whether -Wconversion -Wno-sign-conversion is accepted as CFLAGS... yes >Building nokogiri using system libraries. >checking for gzdopen() in -lz... yes >checking for xmlParseDoc() in -lxml2... yes >checking for xsltParseStylesheetDoc() in -lxslt... yes >checking for exsltFuncRegister() in -lexslt... yes >Using mini_portile version 2.8.5 >---------- IMPORTANT NOTICE ---------- >Building Nokogiri with a packaged version of libgumbo-1.0.0-nokogiri. >Configuration options: --enable-shared --disable-static >Copying gumbo-parser files into tmp/x86_64-pc-linux-gnu/ports/libgumbo/1.0.0-nokogiri/gumbo-parser... >Running 'compile' for libgumbo 1.0.0-nokogiri... OK >Activating libgumbo 1.0.0-nokogiri (from ports/x86_64-linux/libgumbo/1.0.0-nokogiri)... >checking for whether -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include is accepted as CPPFLAGS... yes >checking for gumbo_parse_with_options() in nokogiri_gumbo.h... yes >checking for xmlHasFeature()... yes >checking for xmlFirstElementChild()... yes >checking for xmlRelaxNGSetParserStructuredErrors()... yes >checking for xmlRelaxNGSetValidStructuredErrors()... yes >checking for xmlSchemaSetValidStructuredErrors()... yes >checking for xmlSchemaSetParserStructuredErrors()... yes >checking for rb_gc_location()... yes >checking for rb_category_warning()... yes >checking for whether -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" is accepted as CPPFLAGS... yes >creating Makefile > * Running configure phase for ruby32 >checking for whether -O3 is accepted as CFLAGS... yes >checking for whether -pipe is accepted as CFLAGS... yes >checking for whether -march=native is accepted as CFLAGS... yes >checking for whether -fno-diagnostics-color is accepted as CFLAGS... yes >checking for whether -Wl,-O1 is accepted as LDFLAGS... yes >checking for whether -Wl,--as-needed is accepted as LDFLAGS... yes >checking for whether -Wl,--defsym=__gentoo_check_ldflags__=0 is accepted as LDFLAGS... yes >checking for whether -std=c99 is accepted as CFLAGS... yes >checking for whether -Wno-declaration-after-statement is accepted as CFLAGS... yes >checking for whether -O2 is accepted as CFLAGS... yes >checking for whether -g is accepted as CFLAGS... yes >checking for whether -Winline is accepted as CFLAGS... yes >checking for whether -Wmissing-noreturn is accepted as CFLAGS... yes >checking for whether -Wconversion -Wno-sign-conversion is accepted as CFLAGS... yes >Building nokogiri using system libraries. >checking for gzdopen() in -lz... yes >checking for xmlParseDoc() in -lxml2... yes >checking for xsltParseStylesheetDoc() in -lxslt... yes >checking for exsltFuncRegister() in -lexslt... yes >Using mini_portile version 2.8.5 >---------- IMPORTANT NOTICE ---------- >Building Nokogiri with a packaged version of libgumbo-1.0.0-nokogiri. >Configuration options: --enable-shared --disable-static >Copying gumbo-parser files into tmp/x86_64-pc-linux/ports/libgumbo/1.0.0-nokogiri/gumbo-parser... >Running 'compile' for libgumbo 1.0.0-nokogiri... OK >Activating libgumbo 1.0.0-nokogiri (from ports/x86_64-linux/libgumbo/1.0.0-nokogiri)... >checking for whether -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby32/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include is accepted as CPPFLAGS... yes >checking for gumbo_parse_with_options() in nokogiri_gumbo.h... yes >checking for xmlHasFeature()... yes >checking for xmlFirstElementChild()... yes >checking for xmlRelaxNGSetParserStructuredErrors()... yes >checking for xmlRelaxNGSetValidStructuredErrors()... yes >checking for xmlSchemaSetValidStructuredErrors()... yes >checking for xmlSchemaSetParserStructuredErrors()... yes >checking for rb_gc_location()... yes >checking for rb_category_warning()... yes >checking for whether -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" is accepted as CPPFLAGS... yes >creating Makefile > * Running configure phase for ruby33 >checking for whether -O3 is accepted as CFLAGS... yes >checking for whether -pipe is accepted as CFLAGS... yes >checking for whether -march=native is accepted as CFLAGS... yes >checking for whether -fno-diagnostics-color is accepted as CFLAGS... yes >checking for whether -Wl,-O1 is accepted as LDFLAGS... yes >checking for whether -Wl,--as-needed is accepted as LDFLAGS... yes >checking for whether -Wl,--defsym=__gentoo_check_ldflags__=0 is accepted as LDFLAGS... yes >checking for whether -std=c99 is accepted as CFLAGS... yes >checking for whether -Wno-declaration-after-statement is accepted as CFLAGS... yes >checking for whether -O2 is accepted as CFLAGS... yes >checking for whether -g is accepted as CFLAGS... yes >checking for whether -Winline is accepted as CFLAGS... yes >checking for whether -Wmissing-noreturn is accepted as CFLAGS... yes >checking for whether -Wconversion -Wno-sign-conversion is accepted as CFLAGS... yes >Building nokogiri using system libraries. >checking for gzdopen() in -lz... yes >checking for xmlParseDoc() in -lxml2... yes >checking for xsltParseStylesheetDoc() in -lxslt... yes >checking for exsltFuncRegister() in -lexslt... yes >Using mini_portile version 2.8.5 >---------- IMPORTANT NOTICE ---------- >Building Nokogiri with a packaged version of libgumbo-1.0.0-nokogiri. >Configuration options: --enable-shared --disable-static >Copying gumbo-parser files into tmp/x86_64-pc-linux/ports/libgumbo/1.0.0-nokogiri/gumbo-parser... >Running 'compile' for libgumbo 1.0.0-nokogiri... OK >Activating libgumbo 1.0.0-nokogiri (from ports/x86_64-linux/libgumbo/1.0.0-nokogiri)... >checking for whether -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby33/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include is accepted as CPPFLAGS... yes >checking for gumbo_parse_with_options() in nokogiri_gumbo.h... yes >checking for xmlHasFeature()... yes >checking for xmlFirstElementChild()... yes >checking for xmlRelaxNGSetParserStructuredErrors()... yes >checking for xmlRelaxNGSetValidStructuredErrors()... yes >checking for xmlSchemaSetValidStructuredErrors()... yes >checking for xmlSchemaSetParserStructuredErrors()... yes >checking for rb_gc_location()... yes >checking for rb_category_warning()... yes >checking for whether -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" is accepted as CPPFLAGS... yes >creating Makefile >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-ruby/nokogiri-1.15.5/work ... > * Running compile phase for ruby31 >make -j4 -Cext/nokogiri V=1 'CFLAGS=-O3 -pipe -march=native -fno-diagnostics-color -fPIC' 'archflag=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' >make: Entering directory '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri' >x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O3 -pipe -march=native -fno-diagnostics-color -fPIC -o html4_document.o -c html4_document.c >x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O3 -pipe -march=native -fno-diagnostics-color -fPIC -o gumbo.o -c gumbo.c >x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O3 -pipe -march=native -fno-diagnostics-color -fPIC -o html4_entity_lookup.o -c html4_entity_lookup.c >x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -DHAVE_GUMBO_PARSE_WITH_OPTIONS -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -DHAVE_RB_GC_LOCATION -DHAVE_RB_CATEGORY_WARNING -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" -O3 -pipe -march=native -fno-diagnostics-color -fPIC -o html4_element_description.o -c html4_element_description.c >html4_document.c: In function 'rb_html_document_s_read_io': >html4_document.c:49:52: error: passing argument 2 of 'xmlSetStructuredErrorFunc' from incompatible pointer type [-Wincompatible-pointer-types] > 49 | xmlSetStructuredErrorFunc((void *)rb_error_list, Nokogiri_error_array_pusher); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} >In file included from /usr/include/libxml2/libxml/valid.h:15, > from /usr/include/libxml2/libxml/parser.h:19, > from ./nokogiri.h:35, > from html4_document.c:1: >/usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected 'xmlStructuredErrorFunc' {aka 'void (*)(void *, const struct _xmlError *)'} but argument is of type 'void (*)(void *, xmlError *)' {aka 'void (*)(void *, struct _xmlError *)'} > 898 | xmlStructuredErrorFunc handler); > | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ >html4_document.c: In function 'rb_html_document_s_read_memory': >html4_document.c:109:52: error: passing argument 2 of 'xmlSetStructuredErrorFunc' from incompatible pointer type [-Wincompatible-pointer-types] > 109 | xmlSetStructuredErrorFunc((void *)rb_error_list, Nokogiri_error_array_pusher); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} >/usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected 'xmlStructuredErrorFunc' {aka 'void (*)(void *, const struct _xmlError *)'} but argument is of type 'void (*)(void *, xmlError *)' {aka 'void (*)(void *, struct _xmlError *)'} > 898 | xmlStructuredErrorFunc handler); > | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ >make: *** [Makefile:247: html4_document.o] Error 1 >make: *** Waiting for unfinished jobs.... >make: Leaving directory '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/ext/nokogiri' > * ERROR: dev-ruby/nokogiri-1.15.5::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-ruby/nokogiri-1.15.5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-ruby/nokogiri-1.15.5::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-ruby:nokogiri-1.15.5:20240127-231747.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/temp/environment'. > * Working directory: '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5' > * S: '/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 923107
:
883382
| 883383 |
883384
|
883385
|
883386
|
883387
|
883388
|
883389