multiple ports with stdlibc++ mismatches (all on 10.13)...
Joshua Root
jmr at macports.org
Thu May 31 19:24:42 UTC 2018
On 2018-6-1 03:21 , iEFdev wrote:
> Hi,
>
> I have some 5-6 ports that show this (gptfdisk, flac, etc.). Do you have
> an example how to use the cxx_stdlib_overridden.tcl, or are there any
> documentation to read more how to use it. Sorry, if it's obvious, but I
> couldn't find it.
>
> /// Since I'm using 10.7.5 with the CXX-fix
> <https://trac.macports.org/wiki/LibcxxOnOlderSystems#LionandMountainLion>,
> I'm not really sure if it the port(s) or my setup that triggers it.//
cxx_stdlib_overridden.tcl is a script that runs automatically when
MacPorts base is installed. It sets up some metadata in the registry.
The ports that rev-upgrade is newly finding to be broken are those that
have configure.cxx_stdlib set to libc++ but in fact link with libstdc++,
or vice versa. These need to be fixed by either making them link with
the selected stdlib (preferred), or changing configure.cxx_stdlib to
match what they are actually using.
Please open tickets or better yet PRs for affected ports.
- Josh
More information about the macports-dev
mailing list