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

MacPorts noreply at macports.org
Wed Jul 20 21:33:52 UTC 2022


#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 chrstphrchvz):

 Replying to [comment:4 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.

 PR opened for this: https://github.com/macports/macports-ports/pull/15432

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


More information about the macports-tickets mailing list