[MacPorts] #63455: mysql8 @8.0.26_0: build fails under trace mode due to too-old libtool
MacPorts
noreply at macports.org
Fri Dec 31 18:32:08 UTC 2021
#63455: mysql8 @8.0.26_0: build fails under trace mode due to too-old libtool
---------------------------+-------------------------
Reporter: chrstphrchvz | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: mysql8 |
---------------------------+-------------------------
Comment (by chrstphrchvz):
I do not believe this issue is due to too-old libtool, because the port
now only supports macOS 10.13 and later, implying that Xcode 9 or later is
used, implying that cctools 900 or later are used. `Error running link
command: Invalid argument` still happens even on macOS 12 with Xcode 13.2
CLT, where /usr/bin/libtool is from cctools 986 (just as new as MacPorts’
cctools).
To avoid confusion, I proposed cleaning up the “allow newer libtool”
patching: [https://github.com/macports/macports-ports/pull/13541], but
that made no difference to this problem. I only notice that it prevents
trace mode from saying:
{{{
Warning: The following existing files were hidden from the build system by
trace mode:
…
/opt/local/bin/libtool
}}}
because [122fca8e4617/macports-ports] was done without specifying cctools
as a build dependency, meaning that using trace mode defeats the purpose
of that change. Similar patching is still done in e.g. mysql56 and
mariadb; should those instead add cctools build dependency and patch to
use `${prefix}/bin/libtool` on older systems?
--
Ticket URL: <https://trac.macports.org/ticket/63455#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list