<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Should I expect a +quartz variant to propagate to dependencies,
and overrule existing variants?</p>
<p>I just tried to `install gimp +quartz`. This failed several
times, each time with errors about some recursive dependency of
gimp requiring its own dependency to be installed with a +quartz
variant, but the port was already installed without the +quartz
variant` commands explicitly.</p>
<p>The specific ports in question are:</p>
<p>gimp +quartz, <br>
which depends on gimp-lqr-plugin,<br>
which depends on gimp2 +quartz — but it was installed without
that variant,<br>
which depends on gtk-osx-application-gtk2,<br>
and depends on gtk2 +quartz — but it was installed without
that variant,<br>
and depends on py27-pygtk +quartz — but it was installed
without that variant,<br>
which depends on libglade2,<br>
which also depends on gtk2 +quartz<br>
</p>
<p>So concretely, install gimp +quartz failed because gimp2 was
installed without +quartz. <br>
A manual install gimp2 +quartz failed because gtk2 was installed
without +quartz.<br>
A manual install gtk2 +quartz succeeded, but led to 5 broken
ports. Rebuilding those broken ports failed at py27-pygtk because
an in-progress build of gimp2 had conflicting variants "+python27"
vs "+python27+quartz". <br>
A clean of gimp2, followed by a second manual install gimp2
+quartz succeeded, but led to 4 broken ports. Rebuilding those
broken ports failed at py27-pygtk because gtk2 was installed <b>with</b>
+quartz (actually, without the conflicting variant +x11). <br>
An uninstall py27-pygtk (despite gimp2 depending on it), followed
by a clean py27-pygtk, succeeded.<br>
A manual install py27-pygtk +quartz succeeded, but led to 2 broken
ports. Rebuilding those broken ports succeeded.</p>
<p>Thus I succeeded in fumbling my way through installing gimp
+quartz despite dependencies already present with the wrong
variants, but it was a bit messy and confusing. Should I expect
MacPorts to do a better job with this situation? If so, maybe I
should file a ticket against some of these ports, to see if
portfile changes would avoid the problems.</p>
<p>Thank you for your advice!<br>
—Jim DeLaHunt</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
. --Jim DeLaHunt, Vancouver, Canada</pre>
</body>
</html>