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

MacPorts noreply at macports.org
Mon Dec 20 21:13:46 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:
 Keywords:              |       Port:  mysql57
------------------------+---------------------
 {{{
 #=> port outdated
 The following installed ports are outdated:
 mysql57                        5.7.35_0 < 5.7.36_1
 root at MiniWeb 14:04:24 ~
 #=> port -d -cuNp upgrade mysql57

 version:1
 :debug:clean Starting logging for mysql57 @5.7.36_1
 :debug:sysinfo Mac OS X 10.6.8 (darwin/10.8.0) arch i386
 :debug:sysinfo MacPorts 2.7.1
 :debug:sysinfo Xcode 4.0
 :debug:sysinfo SDK 10.6
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.6

 When attempting this upgrade, the compilation process complains about
 DEBUG: Registry error: protobuf-cpp not registered as installed & active.
 DEBUG: Registry error: protobuf3-cpp not registered as installed & active.
 DEBUG: Registry error: protobuf3-cpp not registered as installed & active.

 And in || with that, one gets :

 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: mysql57 cannot be built while protobuf3-cpp is active.
 Error: Please forcibly deactivate protobuf3-cpp, e.g. by running:
 Error:
 Error:     sudo port -f deactivate protobuf3-cpp

 Error: mysql57 cannot be built while boost is active.
 Error: Please forcibly deactivate boost, e.g. by running:
 Error:
 Error:     sudo port -f deactivate boost

 which eventually leads to :

 [ 17%] Built target base64_test
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work/build"
 && /usr/bin/make -j2 -w all VERBOSE=ON
 Exit code: 2
 Error: Failed to build mysql57: command execution failed
 DEBUG: Error code: CHILDSTATUS 12856 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
     invoked from within
 "command_exec -callback portprogress::target_progress_callback build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $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: protobuf-cpp not registered as installed & active.

 And one is back where one started
 }}}

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


More information about the macports-tickets mailing list