#59505 closed defect (fixed)
Failed to upgrade from mariadb-10.2-10.2.25_0 to mariadb-10.2-10.2.27_0
Reported by: | jvmyers | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | mariadb-10.2 |
Description (last modified by jmroot (Joshua Root))
MacBook Pro (Mid 2009): OS X El Capitan, version 10.11.6.
Tried several different ways, but all attempts to upgrade mariadb-10.2 failed as noted below.
sh-3.2# port installed | grep maria mariadb-10.2 @10.2.25_0 (active) mariadb-10.2-server @10.2.25_0 (active) sh-3.2# port install mariadb-10.2 ---> Computing dependencies for mariadb-10.2 ---> Fetching archive for mariadb-10.2 ---> Attempting to fetch mariadb-10.2-10.2.27_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/mariadb-10.2 ---> Attempting to fetch mariadb-10.2-10.2.27_0.darwin_15.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/mariadb-10.2 ---> Attempting to fetch mariadb-10.2-10.2.27_0.darwin_15.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/mariadb-10.2 ---> Building mariadb-10.2 Error: Failed to build mariadb-10.2: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port mariadb-10.2 failed
Attachments (3)
Change History (18)
Changed 5 years ago by jvmyers
comment:1 Changed 5 years ago by jmroot (Joshua Root)
Cc: | ryandesign added |
---|---|
Description: | modified (diff) |
Owner: | set to michaelld |
Port: | mariadb-10.2 added |
Status: | new → assigned |
Looks very similar to #59499.
comment:2 Changed 5 years ago by michaelld (Michael Dickens)
Same basic issue as #59499 ... yes indeed! Looks like libxml & icu are quite the pair!
comment:3 Changed 5 years ago by michaelld (Michael Dickens)
... and looks like there's very little choice, too: the libxml header include/libxml2/libxml/xmlversion.h
with ICU enabled shows:
/** * LIBXML_ICU_ENABLED: * * Whether icu support is available */ #if 1 #define LIBXML_ICU_ENABLED #endif
... so can't even disable the chain-inclusion from libxml to icu ... ouch!
comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign removed |
---|
comment:5 Changed 5 years ago by dehart (Michael)
If for some reason someone is (like me) looking at a mariadb that will no longer start or build. This is my workaround:
git clone --single-branch https://github.com/macports/macports-ports.git cd macports-ports git checkout 010b501ffbfcdcf6b5716cc71802f4448e73216a cd textproc/libxml2 sudo port install sudo port install mariadb-10.2
the commit "010b501ffbfcdcf6b5716cc71802f4448e73216a" is before icu was added to libxml2
comment:6 Changed 5 years ago by michaelld (Michael Dickens)
Cc: | ryandesign added |
---|
Has duplicate #59520
comment:7 Changed 5 years ago by michaelld (Michael Dickens)
@dehart : that's always an option to revert back to some prior commit ... of course you don't get updates going forward! but as a temporary fix until this broader issue is worked out, it's a perfectly fine solution.
comment:8 Changed 5 years ago by GreggGreen (Gregg Green)
Mariadb-10.1 won't compile either, if you uninstall and reinstall.
comment:10 Changed 5 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Changed 5 years ago by GreggGreen (Gregg Green)
Attachment: | main.2.log added |
---|
comment:11 Changed 5 years ago by michaelld (Michael Dickens)
@GreggGreen : Please update your ports tree again. There's a subsequent commit (after the update to 10.2.28) that should fix this issue. Please "sudo port clean mariadb-10.2" before trying again ...
comment:12 Changed 5 years ago by GreggGreen (Gregg Green)
macOS 10.8.5 doesn't work
sudo port install mariadb-10.2 ---> Computing dependencies for mariadb-10.2 ---> Fetching archive for mariadb-10.2 ---> Attempting to fetch mariadb-10.2-10.2.28_2.darwin_12.x86_64.tbz2 from https://packages.macports.org/mariadb-10.2 ---> Attempting to fetch mariadb-10.2-10.2.28_2.darwin_12.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/mariadb-10.2 ---> Attempting to fetch mariadb-10.2-10.2.28_2.darwin_12.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/mariadb-10.2 ---> Building mariadb-10.2 Error: Failed to build mariadb-10.2: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port mariadb-10.2 failed
Changed 5 years ago by GreggGreen (Gregg Green)
Attachment: | main.3.log added |
---|
comment:14 Changed 5 years ago by GreggGreen (Gregg Green)
I have multiple Mac servers running different versions of macOS. If you want I can do some testing for you if you need.
mariadb main.log