Opened 8 months ago

Closed 8 months ago

#69504 closed defect (fixed)

apache2 @2.4.58: error: unknown type name 'xmlChar'

Reported by: ArtKoKo Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc:
Port: apache2

Description

With apache2-2.4.58_0+brotli+eventmpm+http2, the module mod_xml2enc.c fails to build :

Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64    -o mod_brotli.la -rpath /opt/local/lib/apache2/modules -module -avoid-version  mod_brotli.lo -L/opt/local/lib -lbrotlienc -lbrotlicommon -export-symbols-regex brotli_module
:info:build mod_xml2enc.c:212:53: error: unknown type name 'xmlChar'
:info:build         ctx->xml2enc = xmlDetectCharEncoding((const xmlChar*)ctx->buf,
:info:build                                                     ^
:info:build 1 error generated.

Change History (3)

comment:1 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mojave added; apache2 brotli removed

Oh great, probably something else broken by the libxml2 2.12.x update.

comment:2 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mojave removed
Status: assignedaccepted
Summary: apache2 with brotli fails to build on Mojave 10.14apache2 @2.4.58: error: unknown type name 'xmlChar'

Confirmed build failure on Monterey with no special variants.

comment:3 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In c7516343ffbb34309d2300016e20b82a1ddba00f/macports-ports (master):

apache2: Fix build with libxml2 2.12.x

Closes: #69504

Note: See TracTickets for help on using tickets.