[MacPorts] #64250: mysql @5.7.36_1: ld: duplicate symbol _thr_set_lock_wait_callback (was: [mysql57][10.6.8] MySQL 5.7.36_1 compile catch-22 hell)

MacPorts noreply at macports.org
Tue Dec 21 05:06:46 UTC 2021


#64250: mysql @5.7.36_1: ld: duplicate symbol _thr_set_lock_wait_callback
-------------------------+-------------------------
  Reporter:  BjarneDMat  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:  snowleopard
      Port:  mysql57     |
-------------------------+-------------------------
Changes (by ryandesign):

 * keywords:   => snowleopard
 * version:   => 2.7.1


Comment:

 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)
 }}}

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


More information about the macports-tickets mailing list