[MacPorts] #64264: glib2 fails for PowerPC (ppc, ppc64 and universal)
MacPorts
noreply at macports.org
Thu Dec 23 10:12:51 UTC 2021
#64264: glib2 fails for PowerPC (ppc, ppc64 and universal)
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: PowerPC, Leopard, ppc64
Port: glib2 |
---------------------------+-------------------------------------
Comment (by ryandesign):
I won't be updating glib2 to newer major versions yet after all, since
I've found a comment that doing so might break something about gimp2, but
I haven't found out any more about that yet.
You're reporting two separate issues in this ticket:
1. single-arch ppc and ppc64 builds fail with `dyld: Symbol not found:
_UCNV_TO_U_CALLBACK_STOP_67 Referenced from:
/opt/local/lib/libxml2.2.dylib`. `_UCNV_TO_U_CALLBACK_STOP_67` is supposed
to be provided by icu 67, I think. What's the output of `port -v installed
icu libxml2` and `lipo -info
/opt/local/lib/lib{icudata,icui18n,icuuc,xml2}.dylib` and `otool -L
/opt/local/lib/lib{icudata,icui18n,icuuc,xml2}.dylib`? I want to make sure
that libxml2 and icu are installed for the right architectures and that
libxml2 does link with the icu libraries.
2. universal ppc ppc64 builds fail with `Cannot find specified cross file:
ppc64-darwin`. This relates to the fact that glib2, along with countless
other projects, have decided for some reason to switch to the immature new
meson build system which has some trouble with universal builds. See
#59864, #62498. I don't have a solution for you. Complain to the
developers of glib2 for switching to a build system that doesn't work.
Complain to the developers of meson for introducing a build system that
doesn't work. If you have a solution, please provide it. Maybe it is as
simple as creating a "cross file", whatever that is, for ppc64-darwin, if
you can figure out how and where to do that.
--
Ticket URL: <https://trac.macports.org/ticket/64264#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list