[MacPorts] #17918: gtk2 2.14.7: X11 dependency issues on Tiger
MacPorts
noreply at macports.org
Thu Jan 8 11:52:47 PST 2009
#17918: gtk2 2.14.7: X11 dependency issues on Tiger
---------------------------------+------------------------------------------
Reporter: devans@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: gtk2
---------------------------------+------------------------------------------
I just upgraded gtk2 from gtk2 @2.14.5_0+darwin_8+x11 to gtk2
@2.14.7_0+darwin_8+x11 on 10.4.11, XCode 2.5 using MacPorts trunk.
The build completed successfully but when running a gtk2 based application
(gimp in this case), the program died with the now
well known
{{{
_X11TransSocketUNIXConnect: Cannot connect to non-local host ???D
XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0"
}}}
error that is described in #17558.
After reviewing the ports dependencies, I manually installed the
following ports which were not required nor installed for the previous
version of the port
{{{
% port installed xorg-libXrandr xorg-libXcursor xorg-libXinerama
The following ports are currently installed:
xorg-libXcursor @1.1.9_0 (active)
xorg-libXinerama @1.0.3_0 (active)
xorg-libXrandr @1.2.3_0 (active)
}}}
and then rebuilt the port.
The resulting gtk2 allowed gimp to run properly although the program emits
the following non-fatal warning periodically
{{{
Xlib: extension "RANDR" missing on display ":0.0"
}}}
when using the default 10.4.11 X11.app server.
Note that I am not using the +system_x11 variant.
Looks like this is the result of the lib style of dependency
for these libraries coupled with the fact that gtk2 is apparently the only
port that expresses a dependency upon them and they exist
in the default Tiger X11 implementation.
{{{
% port dependents xorg-libXrandr xorg-libXcursor xorg-libXinerama
gtk2 depends on xorg-libXrandr
gtk2 depends on xorg-libXcursor
gtk2 depends on xorg-libXinerama
}}}
The lib dependencies allow the Tiger X11 libraries to satisfy
the dependency even though the rest of the X11 libraries come
from ${prefix}/lib.
Perhaps the dependencies should be changed to port style in
the default +x11 case (use xorg) and changed to lib style only
for the +system_x11 case (use Tiger X11).
Assigning to Jeremy as this looks like
something in his area of
expertise with cc to maintainer
--
Ticket URL: <http://trac.macports.org/ticket/17918>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list