[MacPorts] #64250: [mysql57][10.6.8] MySQL 5.7.36_1 compile catch-22 hell

MacPorts noreply at macports.org
Mon Dec 20 21:18:51 UTC 2021


#64250: [mysql57][10.6.8] MySQL 5.7.36_1 compile catch-22 hell
-------------------------+--------------------
  Reporter:  BjarneDMat  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  mysql57     |
-------------------------+--------------------

Comment (by BjarneDMat):

 {{{
 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
 http://cph.dk.packages.macports.org/autoconf
 --->  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
 http://cph.dk.packages.macports.org/automake
 --->  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
 http://cph.dk.packages.macports.org/protobuf-cpp
 --->  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:
 Error:     sudo port -f deactivate protobuf-cpp
 Error:
 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
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/main.log
 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

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64250#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list