[MacPorts] #68321: apache2 @2.4.57 mod_proxy_html build failure on sonoma
MacPorts
noreply at macports.org
Sun Oct 1 21:37:00 UTC 2023
#68321: apache2 @2.4.57 mod_proxy_html build failure on sonoma
-----------------------+---------------------
Reporter: dazzlee69 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: apache2
-----------------------+---------------------
Migrating ports to sonoma, port install apache2, fails when trying to
build mod_proxy_html. Reports the following errors:
{{{
:info:build mod_proxy_html.c:425:51: error: no member named 'attrs_req' in
'struct _htmlElemDesc'
:info:build if ((enforce > 0) && (desc != NULL) && (desc->attrs_req !=
NULL))
:info:build ~~~~ ^
:info:build mod_proxy_html.c:426:24: error: no member named 'attrs_req' in
'struct _htmlElemDesc'
:info:build for (a = desc->attrs_req; *a; a++)
:info:build ~~~~ ^
:info:build mod_proxy_html.c:433:25: error: call to undeclared function
'htmlAttrAllowed'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
:info:build switch (htmlAttrAllowed(desc, (xmlChar*)*a,
2-enforce)) {
:info:build ^
:info:build mod_proxy_html.c:434:22: error: use of undeclared identifier
'HTML_INVALID'
:info:build case HTML_INVALID:
:info:build ^
:info:build mod_proxy_html.c:439:22: error: use of undeclared identifier
'HTML_DEPRECATED'
:info:build case HTML_DEPRECATED:
:info:build ^
:info:build mod_proxy_html.c:444:22: error: use of undeclared identifier
'HTML_REQUIRED'
:info:build case HTML_REQUIRED:
:info:build ^
:info:build /opt/local/share/apr-1/build/libtool --silent --mode=link
--tag=CC /usr/bin/clang -I/usr/local/include/libxml2 -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64
-L/opt/local/lib/db48 -L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
-arch arm64 -o mod_ratelimit.la -rpath /opt/local/lib/apache2/modules
-module -avoid-version mod_ratelimit.lo
:info:build mod_proxy_html.c:894:19: error: use of undeclared identifier
'XML_PARSE_RECOVER'
:info:build int xmlopts = XML_PARSE_RECOVER | XML_PARSE_NONET |
:info:build ^
:info:build mod_proxy_html.c:894:39: error: use of undeclared identifier
'XML_PARSE_NONET'
:info:build int xmlopts = XML_PARSE_RECOVER | XML_PARSE_NONET |
:info:build ^
:info:build mod_proxy_html.c:895:19: error: use of undeclared identifier
'XML_PARSE_NOBLANKS'
:info:build XML_PARSE_NOBLANKS | XML_PARSE_NOERROR |
XML_PARSE_NOWARNING;
:info:build ^
:info:build mod_proxy_html.c:895:40: error: use of undeclared identifier
'XML_PARSE_NOERROR'
:info:build XML_PARSE_NOBLANKS | XML_PARSE_NOERROR |
XML_PARSE_NOWARNING;
:info:build ^
:info:build mod_proxy_html.c:895:60: error: use of undeclared identifier
'XML_PARSE_NOWARNING'
:info:build XML_PARSE_NOBLANKS | XML_PARSE_NOERROR |
XML_PARSE_NOWARNING;
:info:build ^
:info:build mod_proxy_html.c:998:31: error: call to undeclared function
'xmlCtxtUseOptions'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
:info:build if (xmlopts = xmlCtxtUseOptions(ctxt->parser,
xmlopts), xmlopts)
:info:build ^
:info:build 12 errors generated.
}}}
This is with Xcode 15 on OSX 14.0 Sonoma
If there is a temporary way to build without that module, happy to try
that. Other modules appear to compile fine before it gets to that one.
Thanks, Darren
--
Ticket URL: <https://trac.macports.org/ticket/68321>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list