[10.6.8] MySQL 5.7.36_1 compile hell

Bjarne D Mathiesen macintosh at mathiesen.info
Mon Dec 20 13:34:54 UTC 2021

2nd Attempt

DEBUG: Registry error: protobuf-cpp not registered as installed & active.

root at MiniWeb 14:24:01 ~
#=> port clean --work mysql57
--->  Cleaning mysql57

root at MiniWeb 14:26:05 ~
#=> port -cuNp install protobuf-cpp
--->  Computing dependencies for protobuf-cpp
--->  Dependencies to be installed: autoconf automake
--->  Fetching archive for autoconf
--->  Attempting to fetch autoconf-2.71_1.darwin_10.noarch.tbz2 from
--->  Attempting to fetch autoconf-2.71_1.darwin_10.noarch.tbz2.rmd160
from http://cph.dk.packages.macports.org/autoconf
--->  Installing autoconf @2.71_1
--->  Activating autoconf @2.71_1
--->  Cleaning autoconf
--->  Fetching archive for automake
--->  Attempting to fetch automake-1.16.5_0.darwin_10.noarch.tbz2 from
--->  Attempting to fetch automake-1.16.5_0.darwin_10.noarch.tbz2.rmd160
from http://cph.dk.packages.macports.org/automake
--->  Installing automake @1.16.5_0
--->  Activating automake @1.16.5_0
--->  Cleaning automake
--->  Fetching archive for protobuf-cpp
--->  Attempting to fetch protobuf-cpp-2.6.1_0.darwin_10.x86_64.tbz2
from http://cph.dk.packages.macports.org/protobuf-cpp
--->  Attempting to fetch
protobuf-cpp-2.6.1_0.darwin_10.x86_64.tbz2.rmd160 from
--->  Installing protobuf-cpp @2.6.1_0
--->  Activating protobuf-cpp @2.6.1_0
--->  Cleaning protobuf-cpp

root at MiniWeb 14:27:10 ~
#=> port -d -cuNp upgrade mysql57

DEBUG: configure phase started at Mon Dec 20 14:29:08 CET 2021
--->  Configuring mysql57
DEBUG: Preferred compilers: macports-clang-9.0 macports-clang-8.0
macports-clang-7.0 macports-clang-6.0 macports-clang-5.0
macports-clang-11 macports-clang-10 macports-clang-3.7 macports-clang-3.4
DEBUG: Using compiler 'MacPorts Clang 9.0'
DEBUG: Executing proc-pre-org.macports.configure-configure-0
Error: mysql57 cannot be built while protobuf-cpp is active.
Error: Please forcibly deactivate protobuf-cpp, e.g. by running:
Error:     sudo port -f deactivate protobuf-cpp
Error: Then try again. You can reactivate protobuf-cpp again later.
Error: Failed to configure mysql57: protobuf-cpp is active
DEBUG: Error code: NONE
DEBUG: Backtrace: protobuf-cpp is active
    while executing
"$pre $targetname"
Error: See
for details.
DEBUG: Registry error: protobuf3-cpp not registered as installed & active.

So, now I've got :

1) It can see protobuf-cpp;
   but complains about it being active
   which contradicts the original error-message somewhat
2) and now it furthermore complains about protobuf3-cpp

Bjarne D Mathiesen
Korsør ; Danmark ; Europa
denne besked er skrevet i et totalt M$-frit miljø
MacPro 2010 ; OpenCore + macOS 10.15.7 Catalina
2 x 3,46 GHz 6-Core Intel Xeon ; 256 GB 1333 MHz DDR3 ECC RDIMM
ATI Radeon RX 590 8 GB

More information about the macports-dev mailing list