Opened 3 years ago
Last modified 18 months ago
#64250 reopened defect
mysql57 @5.7.36_1: ld: duplicate symbol _thr_set_lock_wait_callback
Reported by: | BjarneDMat | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | snowleopard | Cc: | |
Port: | mysql57 |
Description
#=> port outdated The following installed ports are outdated: mysql57 5.7.35_0 < 5.7.36_1 root@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
Attachments (4)
Change History (22)
comment:2 Changed 3 years ago by BjarneDMat
2nd Attempt ----------- DEBUG: Registry error: protobuf-cpp not registered as installed & active. root@MiniWeb 14:24:01 ~ #=> port clean --work mysql57 ---> Cleaning mysql57 root@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@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
comment:3 Changed 3 years ago by BjarneDMat
3rd attempt ----------- root@MiniWeb 14:36:29 ~ #=> port -f deactivate protobuf-cpp ---> Deactivating protobuf-cpp @2.6.1_0 ---> Cleaning protobuf-cpp root@MiniWeb 14:36:37 ~ #=> port -cuNp install protobuf3-cpp ---> Computing dependencies for protobuf3-cpp ---> Fetching archive for protobuf3-cpp ---> Attempting to fetch protobuf3-cpp-3.17.3_0.darwin_10.x86_64.tbz2 from http://cph.dk.packages.macports.org/protobuf3-cpp ---> Attempting to fetch protobuf3-cpp-3.17.3_0.darwin_10.x86_64.tbz2.rmd160 from http://cph.dk.packages.macports.org/protobuf3-cpp ---> Installing protobuf3-cpp @3.17.3_0 ---> Activating protobuf3-cpp @3.17.3_0 ---> Cleaning protobuf3-cpp ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found. root@MiniWeb 14:37:10 ~ #=> port clean --work mysql57 ---> Cleaning mysql57 root@MiniWeb 14:37:38 ~ #=> port -d -cuNp upgrade mysql57 DEBUG: configure phase started at Mon Dec 20 14:39:17 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 protobuf3-cpp is active. Error: Please forcibly deactivate protobuf3-cpp, e.g. by running: Error: Error: sudo port -f deactivate protobuf3-cpp Error: Error: Then try again. You can reactivate protobuf3-cpp again later. Error: Failed to configure mysql57: protobuf3-cpp is active DEBUG: Error code: NONE DEBUG: Backtrace: protobuf3-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: boost not registered as installed & active.
comment:4 Changed 3 years ago by BjarneDMat
4th attempt ----------- root@MiniWeb 14:41:16 ~ #=> port -f deactivate protobuf3-cpp ---> Deactivating protobuf3-cpp @3.17.3_0 ---> Cleaning protobuf3-cpp root@MiniWeb 14:41:27 ~ #=> port -cuNp install boost ---> Computing dependencies for boost ---> Dependencies to be installed: boost176 lzma ---> Fetching archive for lzma ---> Attempting to fetch lzma-4.65_1.darwin_10.x86_64.tbz2 from http://cph.dk.packages.macports.org/lzma ---> Attempting to fetch lzma-4.65_1.darwin_10.x86_64.tbz2.rmd160 from http://cph.dk.packages.macports.org/lzma ---> Installing lzma @4.65_1 ---> Activating lzma @4.65_1 ---> Cleaning lzma ---> Fetching archive for boost176 ---> Attempting to fetch boost176-1.76.0_2+no_single+no_static+python39.darwin_10.x86_64.tbz2 from http://cph.dk.packages.macports.org/boost176 ---> Attempting to fetch boost176-1.76.0_2+no_single+no_static+python39.darwin_10.x86_64.tbz2.rmd160 from http://cph.dk.packages.macports.org/boost176 ---> Installing boost176 @1.76.0_2+no_single+no_static+python39 ---> Activating boost176 @1.76.0_2+no_single+no_static+python39 ---> Cleaning boost176 ---> Fetching archive for boost ---> Attempting to fetch boost-1.76_0.darwin_10.x86_64.tbz2 from http://cph.dk.packages.macports.org/boost ---> Attempting to fetch boost-1.76_0.darwin_10.x86_64.tbz2.rmd160 from http://cph.dk.packages.macports.org/boost ---> Installing boost @1.76_0 ---> Activating boost @1.76_0 ---> Cleaning boost ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found. ---> Some of the ports you installed have notes: lzma has the following notes: The LZMA SDK program is installed as "lzma_alone", to avoid conflict with LZMA Utils root@MiniWeb 14:42:48 ~ #=> port clean --work mysql57 ---> Cleaning mysql57 root@MiniWeb 14:43:20 ~ #=> port -d -cuNp upgrade mysql57 DEBUG: configure phase started at Mon Dec 20 14:44:46 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 boost is active. Error: Please forcibly deactivate boost, e.g. by running: Error: Error: sudo port -f deactivate boost Error: Error: Then try again. You can reactivate boost again later. Error: Failed to configure mysql57: boost is active DEBUG: Error code: NONE DEBUG: Backtrace: boost is active
comment:5 Changed 3 years ago by BjarneDMat
5th attempt ----------- root@MiniWeb 14:46:03 ~ #=> port -f deactivate boost ---> Deactivating boost @1.76_0 ---> Cleaning boost root@MiniWeb 14:46:14 ~ #=> port clean --work mysql57 ---> Cleaning mysql57 root@MiniWeb 14:46:32 ~ #=> port -d -cuNp upgrade mysql57 [ 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. root@MiniWeb 14:54:32 ~ #=> port installed protobuf-cpp The following ports are currently installed: protobuf-cpp @2.6.1_0 So, now we are in a catch22 situation And this is as far as I've been able to get
Changed 3 years ago by BjarneDMat
Attachment: | attempt_1_main.log added |
---|
Changed 3 years ago by BjarneDMat
Attachment: | attempt_2_main.log added |
---|
Changed 3 years ago by BjarneDMat
Attachment: | attempt_4_main.log added |
---|
Changed 3 years ago by BjarneDMat
Attachment: | attempt_5_main.log added |
---|
comment:6 Changed 3 years ago by kencu (Ken)
$ port -v installed | grep active autoconf @2.71_1 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-10-17T17:21:15-0700' automake @1.16.5_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-12-20T15:08:45-0800' boehmgc @8.0.6_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-10-17T17:18:56-0700' bzip2 @1.0.8_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:31:15-0700' cctools @949.0.1_1+llvm34 (active) requested_variants='+llvm34' platform='darwin 10' archs='x86_64' date='2021-08-19T21:31:28-0700' clang-3.7 @3.7.1_9 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-10-17T17:22:44-0700' clang-9.0 @9.0.1_4+defaultlibcxx+emulated_tls+libstdcxx (active) requested_variants='+defaultlibcxx+emulated_tls+libstdcxx' platform='darwin 10' archs='x86_64' date='2021-06-07T12:53:40-0700' clang_select @2.2_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2020-05-09T17:49:38-0700' cmake @3.22.1_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:10:18-0800' curl @7.80.0_0+ssl (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:09:52-0800' curl-ca-bundle @7.80.0_1 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-12-20T15:09:50-0800' cyrus-sasl2 @2.1.27_5+kerberos (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:21:25-0800' db48 @4.8.30_4+java (active) requested_variants='+java' platform='darwin 10' archs='x86_64' date='2020-06-04T08:28:17-0700' expat @2.4.2_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:09:55-0800' gdb @11.1_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-10-17T17:19:11-0700' gdbm @1.22_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:10:27-0800' gettext @0.21_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:09:18-0800' gettext-runtime @0.21_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:09:04-0800' gettext-tools-libs @0.21_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:09:09-0800' git @2.34.1_1+credential_osxkeychain+diff_highlight+doc+pcre+perl5_28 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:13:07-0800' gmp @6.2.1_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-01-24T16:03:11-0800' icu @67.1_4 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-04-05T20:06:13-0700' kerberos5 @1.19.2_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:11:38-0800' ld64 @3_4+ld64_127 (active) requested_variants='+ld64_127' platform='darwin 10' archs='x86_64' date='2021-12-20T15:11:25-0800' ld64-127 @127.2_14+llvm34 (active) requested_variants='+llvm34' platform='darwin 10' archs='x86_64' date='2020-06-03T09:13:38-0700' legacy-support @1.0.4_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-10-17T17:21:04-0700' libarchive @3.5.2_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:09:59-0800' libb2 @0.98.1_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:09:58-0800' libcomerr @1.45.6_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:44:50-0700' libcxx @5.0.1_4+emulated_tls+universal (active) requested_variants='+emulated_tls+universal' platform='darwin 10' archs='i386 x86_64' date='2021-09-26T16:41:47-0700' libedit @20210910-3.1_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:10:32-0800' libevent @2.1.12_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:21:27-0800' libffi @3.4.2_2 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:10:34-0800' libiconv @1.16_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2020-07-22T22:53:25-0700' libidn @1.38_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:45:18-0700' libidn2 @2.3.2_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:42:49-0700' libomp @13.0.0_0+universal (active) requested_variants='+universal' platform='darwin 10' archs='i386 x86_64' date='2021-12-20T15:10:31-0800' libpsl @0.21.1-20210726_2 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:42:50-0700' libtextstyle @0.21_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:09:02-0800' libtool @2.4.6_13 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:13:17-0800' libunistring @0.9.10_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:42:47-0700' libuv @1.42.0_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-10-17T17:23:17-0700' libxml2 @2.9.12_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-06-07T12:51:45-0700' llvm-3.4 @3.4.2_15 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:30:56-0700' llvm-3.7 @3.7.1_7 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-10-17T17:22:02-0700' llvm-9.0 @9.0.1_2+emulated_tls (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:33:18-0700' llvm_select @2_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2020-05-09T17:49:40-0700' lmdb @0.9.29_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:44:51-0700' lz4 @1.9.3_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-06-07T12:54:21-0700' lzo2 @2.10_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:42:54-0700' m4 @1.4.19_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-10-17T17:21:13-0700' mysql_select @0.1.2_4 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-12-20T15:21:28-0800' ncurses @6.3_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:08:56-0800' ncurses-bootstrap @6.3_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:11:19-0800' openssl @3_2 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:09:40-0800' openssl3 @3.0.1_0+legacy (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:09:33-0800' openssl11 @1.1.1l_5 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-10-17T17:19:23-0700' p5.28-authen-sasl @2.160.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:44:55-0700' p5.28-cgi @4.530.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:45:09-0700' p5.28-clone @0.450.0_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:44:56-0700' p5.28-digest-hmac @1.40.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:44:48-0700' p5.28-digest-sha1 @2.130.0_4 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:44:47-0700' p5.28-encode @3.160.0_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:11:48-0800' p5.28-encode-locale @1.50.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:45:00-0700' p5.28-error @0.170.290_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:45:10-0700' p5.28-gssapi @0.280.0_3 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:44:54-0700' p5.28-html-parser @3.760.0_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:45:08-0700' p5.28-html-tagset @3.200.0_4 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:44:56-0700' p5.28-http-date @6.50.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:45:03-0700' p5.28-http-message @6.350.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-12-20T15:11:52-0800' p5.28-io-html @1.4.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:45:04-0700' p5.28-io-socket-ssl @2.72.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:45:21-0700' p5.28-lwp-mediatypes @6.40.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:45:05-0700' p5.28-mozilla-ca @20211001_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-12-20T15:11:40-0800' p5.28-net-libidn @0.120.0_5 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:45:19-0700' p5.28-net-smtp-ssl @1.40.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:45:22-0700' p5.28-net-ssleay @1.900.0_4 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:11:43-0800' p5.28-term-readkey @2.380.0_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:45:22-0700' p5.28-time-local @1.300.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:45:01-0700' p5.28-timedate @2.330.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-09-26T16:45:02-0700' p5.28-uri @5.100.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-12-20T15:11:51-0800' pcre @8.45_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-08-19T21:33:51-0700' pcre2 @10.39_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:11:29-0800' perl5.28 @5.28.3_4 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-08-19T21:31:15-0700' pkgconfig @0.29.2_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-10-17T17:21:21-0700' popt @1.18_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:45:26-0700' posix-macos-addons @20211014_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-10-17T17:23:32-0700' python2_select @0.0_3 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2020-05-09T18:05:28-0700' python27 @2.7.18_5 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:11:02-0800' python_select @0.3_9 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2021-01-24T15:19:38-0800' readline @8.1.000_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-02-21T12:21:01-0800' rsync @3.2.3_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:11:33-0800' sqlite3 @3.37.0_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:10:41-0800' the_silver_searcher @2.2.0_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2020-08-24T23:00:05-0700' xar @1.8.0.452_2 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:10:36-0800' xxhashlib @0.8.1_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:11:32-0800' xz @5.2.5_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2020-05-09T18:13:52-0700' xz-bootstrap @5.2.5_1+universal (active) requested_variants='+universal' platform='darwin 10' archs='i386 x86_64' date='2021-09-26T16:40:04-0700' zlib @1.2.11_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-09-26T16:30:34-0700' zstd @1.5.0_0 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-06-07T12:54:24-0700'
then
$ sudo port -v install mysql57 Password: ---> Computing dependencies for mysql57.... The following dependencies will be installed: cyrus-sasl2 libevent mysql_select
and away we go. I think it will fail, but we'll see where:
--> Verifying checksums for mysql57 ---> Checksumming mysql-5.7.36.tar.gz ---> Checksumming boost_1_59_0.tar.gz ---> Extracting mysql57 ---> Extracting mysql-5.7.36.tar.gz Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/mysql57/mysql-5.7.36.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - ---> Extracting boost_1_59_0.tar.gz Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql57/mysql57/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/mysql57/boost_1_59_0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - ---> Applying patches to mysql57 ---> Applying patch-cmake-install_layout.cmake.diff and so...
comment:7 Changed 3 years ago by kencu (Ken)
It died with this strange error:
make[2]: *** No rule to make target `archive_output_directory/libmysqlclient.a', needed by `rapid/plugin/x/mysqlxtest'. Stop. make[2]: *** Waiting for unfinished jobs....
at the moment, I have no idea why.
comment:8 Changed 3 years ago by kencu (Ken)
Oh, yes, I do remember why. mysql
likes to force the use of /usr/bin/libtool
, and that does not work well for the older-systems-with-newer-compilers crowd.
Fixed that with a quick patch, and let's see ...
comment:9 Changed 3 years ago by kencu (Ken)
that was all it needed:
$ port -v installed mysql57 The following ports are currently installed: mysql57 @5.7.36_1 (active) requested_variants='' platform='darwin 10' archs='x86_64' date='2021-12-20T15:48:04-0800'
comment:10 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | snowleopard added |
---|---|
Summary: | [mysql57][10.6.8] MySQL 5.7.36_1 compile catch-22 hell → mysql @5.7.36_1: ld: duplicate symbol _thr_set_lock_wait_callback |
Version: | → 2.7.1 |
Bjarne, I don't see any catch-22. mysql57 cannot be built while boost, protobuf-cpp or protobuf3-cpp are active; you have to deactivate them first. Once you do, we see in your logs that the first error (which you can usually find by looking in the log for the first occurrence of error:
following any errors about failing to download archives) is:
ld: duplicate symbol _thr_set_lock_wait_callback in ../archive_output_directory/libmysys.a(thr_lock.c.o) and CMakeFiles/thr_lock.dir/thr_lock.c.o for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
comment:12 Changed 3 years ago by BjarneDMat
I just simply don't know enough about c & c++ etc to be good at debugging / reading logs ;-) I'm primarily a php man ;-)
So, this is more-or-less a duplicate of 59073. I had implemented my workaround from that from 59073; and so far it had been enough to get mysql57 to compile.
The catch-22 is that it was looping around demanding (attempt 1), then not demanding (attempt 2), and then demanding again (attempt 5) protobuf-cpp
comment:13 Changed 3 years ago by kencu (Ken)
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
well I felt so, but come to think of it, we'll let Ryan decide
comment:14 Changed 3 years ago by kencu (Ken)
I think you should undo all those symlinks you put in to the newer tools, and try to get your 10.6 systems back to virginal state. Then try rebuilding mysql57.
Having those symlinks can work around a problem sometimes for a single build, but leaving them there all the time causes unknown effects on the build system that we simply can't work around.
If we put the /usr/bin/libtool -> ${prefix}/bin/libtool
fix into the ports tree, then the buildbot will build mysql57 and you can just download it, which gets you moving again at least. But you should get your system into a state where it can build it directly of course, and having a system that is as stock as possible is the first, best, way to make sure that you can build things.
comment:15 Changed 3 years ago by BjarneDMat
I've
1) removed my symlinks
2) re-installed XCode 4.0.1
3) I've tried on both of my macmini
And I'm still getting the Attempt 1 error :-(
Seems as if I'll have to wait for the BuildBot to offer a pre-compiled install :-(
As I offered to Ryan in another trac, I can give you ssh access to an un-priviledged account on my server, if you should so desire
comment:16 Changed 3 years ago by kencu (Ken)
Why would you be using Xcode 4.0.1, I wonder?
I have one system set up with Xcode 3.2.6 (the last free one, which is MacPorts standard Xcode for ports building, and the only Xcode that macports supports on 10.6.8, really), and I have one system set up with Xcode 4.2 (the last paid one for 10.6.8) for my own use, but Xcode 4.01 is a middling Xcode version that not many people would be using on MacPorts or anywhere else, really, I think.
Frankly, who knows what kind of troubles that may be causing for you? It could be a lot of trouble, to be honest.
comment:17 Changed 3 years ago by BjarneDMat
I remember, there once was a thread, in which it was discussed, that Xcode 4.2 gave problems. & I had Xcode 4.2 installed and the issues described. Downgrading to 3.2.6 / 4.0.1 solved my problems. I've got Xcode 4.2 in stock on one of my backups. & so far 4.0.1 hasn't given me any problems [praying]
I can downgrade to Xcode 3.2.6 -or- upgrade to Xcode 4.2 if that's advisable at present.
comment:18 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | mysql @5.7.36_1: ld: duplicate symbol _thr_set_lock_wait_callback → mysql57 @5.7.36_1: ld: duplicate symbol _thr_set_lock_wait_callback |
---|