[MacPorts] #59073: [mysql57] compile failure on 10.6.8 x86_64

MacPorts noreply at macports.org
Tue Dec 21 00:44:42 UTC 2021


#59073: [mysql57] compile failure on 10.6.8 x86_64
-------------------------+-------------------------
  Reporter:  BjarneDMat  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  snowleopard
      Port:  mysql57     |
-------------------------+-------------------------

Comment (by kencu):

 the correct fix is to stop mysql from forcing the old
 {{{/usr/bin/libtool}}}, for example:
 {{{
 --- cmake/merge_archives.cmake.in.orig  2021-12-20 15:38:08.000000000
 -0800
 +++ cmake/merge_archives.cmake.in       2021-12-20 15:38:41.000000000
 -0800
 @@ -106,7 +106,7 @@
  ELSEIF(APPLE)
    # libtool handles it for us
    EXECUTE_PROCESS(
 -    COMMAND /usr/bin/libtool -static -o ${TARGET_LOC} ${LIB_LOCATIONS}
 +    COMMAND libtool -static -o ${TARGET_LOC} ${LIB_LOCATIONS}
      )
  ELSEIF(LINUX)
    # First create a "thin" archive, then convert it to a normal one.
 }}}
 or some other more specific hardcoded patch-and-reinplace effort if you
 want to be really definitive about the libtool used.

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


More information about the macports-tickets mailing list