[MacPorts] #34513: Can't build py27-gtk with +cairo
MacPorts
noreply at macports.org
Sat May 19 05:56:16 PDT 2012
#34513: Can't build py27-gtk with +cairo
----------------------------------------+-----------------------------------
Reporter: macports.org@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: py27-gtk, py-gtk, py26-gtk, py25-gtk
----------------------------------------+-----------------------------------
It appears you have to build gtk2 +quartz without X11 (+no_x11), see for
example ticket #14305. But this means building py27-gtk (and by extension
presumably the other py*-gtk variants) fails with:
{{{
:info:build /bin/sh ../libtool --tag=CC --mode=link /usr/bin/clang
-D_REENTRANT -I/opt/local/include/libglade-2.0
-I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2
-I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0
-I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng14 -pipe -O2 -arch x86_64 -Wall -fno-strict-
aliasing -std=c9x -module -avoid-version -export-symbols-regex initglade
-L/opt/local/lib -arch x86_64 -o glade.la -rpath
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/gtk-2.0/gtk glade_la-libglademodule.lo glade_la-libglade.lo
-framework Cocoa -L/opt/local/lib -lglade-2.0 -lgtk-quartz-2.0 -lxml2
-lgdk-quartz-2.0 -latk-1.0 -lpangocairo-1.0 -lgio-2.0 -lgdk_pixbuf-2.0
-lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lcairo
-lgobject-2.0 -lglib-2.0 -lintl
:info:build grep: /opt/local/lib/libgtk-x11-2.0.la: No such file or
directory
:info:build /opt/local/bin/gsed: can't read
/opt/local/lib/libgtk-x11-2.0.la: No such file or directory
:info:build libtool: link: `/opt/local/lib/libgtk-x11-2.0.la' is not a
valid libtool archive
:info:build make[2]: *** [glade.la] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build 338 warnings generated.
:info:build mv -f .deps/_gtk_la-gtk.Tpo .deps/_gtk_la-gtk.Plo
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-gtk/py27-gtk/work/pygtk-2.22.0/gtk'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-gtk/py27-gtk/work/pygtk-2.22.0'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-gtk/py27-gtk/work/pygtk-2.22.0'
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-gtk/py27-gtk/work/pygtk-2.22.0"
&& /usr/bin/make -j2 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for py27-gtk):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Log for py27-gtk is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-gtk/py27-gtk/main.log
}}}
--
Ticket URL: <https://trac.macports.org/ticket/34513>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list