#70582 closed defect (duplicate)
mariadb-10.6 installation fails
Reported by: | jasimon9 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | Cc: | ||
Port: | mariadb-10.6 |
Description (last modified by jasimon9)
Some background: every few months, my mariadb-10.6-server refuses to run. I am using that version because it is the version installed on our company servers.
The normal workaround is as follows:
- sudo port install mariadb-10.6-server
- this installation always fails
- however mysqld is now running as seen in the process list using ps aux|grep mysqld
As I said this happens every few months, without any change to my system that I can see a pattern.
This time is cannot get past the issue because it has occurred after updating to macOS 13.6.9. After that installation, mariadb has been removed from the system, as indicated by not showing up in port installed.
I have tried to re-install mariadb-10.6 server several times after performing the following steps:
- upgrade MacPorts
- sudo port upgrade outdated
- sudo port clean mariadb-10.6
- sudo port clean mariadb-10.6-server
I get the error message and log details that are posted in the comment.
Attachments (1)
Change History (9)
comment:2 Changed 3 months ago by jasimon9
Description: | modified (diff) |
---|
comment:3 Changed 3 months ago by jasimon9
Description: | modified (diff) |
---|
comment:4 Changed 3 months ago by jasimon9
Summary: | mariadb-10.6-server fails → mariadb-10.6 installation fails |
---|
comment:5 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)
We need to see the main.log file to be able to speculate what went wrong. Please attach it.
comment:6 Changed 3 months ago by jasimon9
I attached the log. I could try the install again with the -d option if you want more debugging info.
Changed 3 months ago by jmroot (Joshua Root)
Attachment: | main.log.bz2 added |
---|
comment:7 Changed 3 months ago by jmroot (Joshua Root)
Port: | mariadb-10.6 added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.6/mariadb-10.6/work/server-mariadb-10.6.11/storage/connect/libdoc.cpp:368:22: error: assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const _xmlError *') discards qualifiers :info:build } else if ((Xerr = xmlGetLastError())) :info:build ^~~~~~~~~~~~~~~~~
Duplicate of #69428.
comment:8 Changed 3 months ago by jasimon9
What is the plan for a workaround to this issue? Abandon mariadb from Macports?
Here is the console error message:
Here is the tail of the log reference above: