Opened 5 weeks ago

Last modified 5 weeks ago

#71062 assigned defect

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 (8.7 MB) - added by lukazavrl 5 weeks ago.

Change History (3)

Changed 5 weeks ago by lukazavrl

Attachment: log.txt added

comment:1 Changed 5 weeks 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 5 weeks 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 :)

Note: See TracTickets for help on using tickets.