Opened 12 years ago

Closed 12 years ago

#34513 closed defect (fixed)

Can't build py27-gtk with +cairo

Reported by: macports.org@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: py27-gtk, py-gtk, py26-gtk, py25-gtk

Description

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

Change History (3)

comment:1 Changed 12 years ago by macports.org@…

Cc: macports.org@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: macports.org@… removed
Owner: changed from macports-tickets@… to mcalhoun@…

comment:3 Changed 12 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: newclosed

This should be fixed with the unified py-pygtk. Feel free to reopen the ticket if it still does not work!

Note: See TracTickets for help on using tickets.