[MacPorts] #67234: rb-libxml2 @2.3.4: error: use of undeclared identifier 'xlinkType'
MacPorts
noreply at macports.org
Fri Apr 14 04:07:12 UTC 2023
#67234: rb-libxml2 @2.3.4: error: use of undeclared identifier 'xlinkType'
-------------------------+------------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: rb-libxml2
-------------------------+------------------------
{{{
/usr/bin/clang -I. -I. -I/opt/local/lib/ruby/1.8/x86_64-darwin20
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_ruby_rb-libxml2/rb-libxml2/work
/libxml-ruby-2.3.4/ext/libxml -I/usr/local/include
-DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/libexec/openssl10/include
-isystem/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/libexec/openssl10/include
-isystem/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common
-pipe -I/opt/local/libexec/openssl10/include -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
-fno-common -pipe -fno-common -I/opt/local/include/libxml2 -I.
-I/opt/local/lib/ruby/1.8/x86_64-darwin20
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_ruby_rb-libxml2/rb-libxml2/work
/libxml-ruby-2.3.4/ext/libxml -I/usr/local/include -arch x86_64 -c
ruby_xml_node.c
ruby_xml_node.c:815:3: error: use of undeclared identifier 'xlinkType'
xlinkType xlt;
^
ruby_xml_node.c:818:3: error: use of undeclared identifier 'xlt'
xlt = xlinkIsLink(xnode->doc, xnode);
^
ruby_xml_node.c:818:9: error: implicit declaration of function
'xlinkIsLink' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
xlt = xlinkIsLink(xnode->doc, xnode);
^
ruby_xml_node.c:820:7: error: use of undeclared identifier 'xlt'
if (xlt == XLINK_TYPE_NONE)
^
ruby_xml_node.c:820:14: error: use of undeclared identifier
'XLINK_TYPE_NONE'
if (xlt == XLINK_TYPE_NONE)
^
ruby_xml_node.c:837:3: error: use of undeclared identifier 'xlinkType'
xlinkType xlt;
^
ruby_xml_node.c:840:3: error: use of undeclared identifier 'xlt'
xlt = xlinkIsLink(xnode->doc, xnode);
^
ruby_xml_node.c:840:9: error: implicit declaration of function
'xlinkIsLink' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
xlt = xlinkIsLink(xnode->doc, xnode);
^
ruby_xml_node.c:842:7: error: use of undeclared identifier 'xlt'
if (xlt == XLINK_TYPE_NONE)
^
ruby_xml_node.c:842:14: error: use of undeclared identifier
'XLINK_TYPE_NONE'
if (xlt == XLINK_TYPE_NONE)
^
ruby_xml_node.c:845:21: error: use of undeclared identifier 'xlt'
return (INT2NUM(xlt));
^
ruby_xml_node.c:859:3: error: use of undeclared identifier 'xlinkType'
xlinkType xlt;
^
ruby_xml_node.c:862:3: error: use of undeclared identifier 'xlt'
xlt = xlinkIsLink(xnode->doc, xnode);
^
ruby_xml_node.c:862:9: error: implicit declaration of function
'xlinkIsLink' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
xlt = xlinkIsLink(xnode->doc, xnode);
^
ruby_xml_node.c:864:11: error: use of undeclared identifier 'xlt'
switch (xlt)
^
ruby_xml_node.c:866:8: error: use of undeclared identifier
'XLINK_TYPE_NONE'
case XLINK_TYPE_NONE:
^
ruby_xml_node.c:868:8: error: use of undeclared identifier
'XLINK_TYPE_SIMPLE'
case XLINK_TYPE_SIMPLE:
^
ruby_xml_node.c:870:8: error: use of undeclared identifier
'XLINK_TYPE_EXTENDED'
case XLINK_TYPE_EXTENDED:
^
ruby_xml_node.c:872:8: error: use of undeclared identifier
'XLINK_TYPE_EXTENDED_SET'
case XLINK_TYPE_EXTENDED_SET:
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [ruby_xml_node.o] Error 1
setup.rb:655:in `command': system("make") failed (RuntimeError)
from setup.rb:664:in `make'
from setup.rb:1258:in `setup_dir_ext'
from setup.rb:1532:in `__send__'
from setup.rb:1532:in `traverse'
from setup.rb:1549:in `dive_into'
from setup.rb:1530:in `traverse'
from setup.rb:1534:in `traverse'
from setup.rb:1533:in `each'
from setup.rb:1533:in `traverse'
from setup.rb:1549:in `dive_into'
from setup.rb:1530:in `traverse'
from setup.rb:1524:in `exec_task_traverse'
from setup.rb:1519:in `each'
from setup.rb:1519:in `exec_task_traverse'
from setup.rb:1246:in `exec_setup'
from setup.rb:996:in `exec_setup'
from setup.rb:826:in `__send__'
from setup.rb:826:in `invoke'
from setup.rb:773:in `invoke'
from setup.rb:1578
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_ruby_rb-libxml2/rb-libxml2/work
/libxml-ruby-2.3.4" && /opt/local/bin/ruby1.8 -rvendor-specific setup.rb
setup
Exit code: 1
Error: Failed to build rb-libxml2: command execution failed
DEBUG: Error code: CHILDSTATUS 24130 1
}}}
I'm on Big Sur with Xcode 13.
--
Ticket URL: <https://trac.macports.org/ticket/67234>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list