#71062 closed defect (fixed)

mariadb-10.2 @10.2.44: error: assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const _xmlError *') discards qualifiers

Reported by: lukazavrl Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.10.2
Keywords: sequoia Cc:
Port: mariadb-10.2

Description

I am migrating Macports from MacOS Sonoma to Sequoia using the sudo port migrate command. The port mariadb-10.2 fails to build each time. I checked the log, and there are supposedly 2 errors:

:info:build make[2]: *** [storage/connect/CMakeFiles/connect.dir/libdoc.cpp.o] Error 1

and

:info:build make[1]: *** [storage/connect/CMakeFiles/connect.dir/all] Error 2

but I am not sure what the actual problem could be. Any kind of help is very much appreciated.

Attachments (1)

log.txt.bz2 (172.1 KB) - added by jmroot (Joshua Root) 16 months ago.

Download all attachments as: .zip

Change History (4)

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

Cc: michaelld removed
Keywords: sequoia added; mariadb-10.2 Sequoia removed
Owner: set to michaelld
Status: newassigned
Summary: mariadb-10.2 @10.2.44: Build fails on MacOS Sequoiamariadb-10.2 @10.2.44: error: assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const _xmlError *') discards qualifiers

The relevant error in the log seems to be:

libdoc.cpp:406:22: error: assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const _xmlError *') discards qualifiers

This is a repeat of #69428 which was closed without fixing all affected versions. But the ones that weren't fixed are EOL. Can you use a newer mariadb port instead?

comment:2 Changed 20 months ago by lukazavrl

Right, I was reading about this issue a while back, but I didn't know this is also affected. Alright, I'll try to use a newer version of mariadb in this case, maybe 10.5. Thanks for the quick reply :)

Changed 16 months ago by jmroot (Joshua Root)

Attachment: log.txt.bz2 added

comment:3 Changed 16 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 514e0920cb31112c848e4d7513b3b772c5ad7cee/macports-ports (master):

mariadb-10.{0,1,2}: mark obsolete

These have been EOL for several years now, and are also failing to
build. Marking as replaced_by mariadb-10.5 which is the next currently
LTS version.

Closes: #71062
Closes: #66168
Closes: #55915
Closes: #55909

Note: See TracTickets for help on using tickets.