On 6/28/18, 12:17 PM, "Ryan Schmidt" <[email protected]> wrote:
On Jun 28, 2018, at 11:02, Langer, Stephen A. (Fed) wrote:
> In any case, thanks to all of your suggestions, I can now build and
install using the Portfile. I can create an mpkg and install from it.
However, the contents of the mpkg are incorrect. There are missing symbols in
libgio-2.0.dylib, which is installed by the glib2 port, so I suspect it has
something to do with with
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftrac.macports.org%2Fticket%2F54981&data=02%7C01%7Cstephen.langer%40nist.gov%7Cfd2f55278e2146cc452008d5dd12a3f3%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C1%7C636657994483797873&sdata=mz08XDFBBXvwOwIXwHWLvNgpg2EjFUOrpNcjUlHGH%2Fg%3D&reserved=0.
I installed glib2 with +x11 and installed everything else with +quartz,
which is the only way to get gtk2 working on quartz.
This is surprising to me and probably not what we intended. If you want
quartz, you're supposed to have to use the quartz variant for everything, and
if you instead want x11, you're supposed to have to use the x11 variant for
everything. I don't use the quartz variants so I don't have personal experience
with them.
> Would mpkg have somehow pulled in the +quartz version?
It sounds like maybe it did. How did you invoke sudo port mpkg -- what
arguments? Did any of its output show that it deactivated your x11 version of
glib2 and activated the quartz version?
It *is* rebuilding glib2 when I run "port mpkg oof3d". I have -x11 +no_x11
+quartz in variants.conf, but glib2 is installed with +x11. Is mpkg noticing
that the installed variant isn't the default variant and thinking that it has
to rebuild?
-- Steve