New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13350 (closed defect: worksforme)

Opened 7 years ago

Last modified 5 years ago

gail fails to build

Reported by: jwhowse4@… Owned by: rhwood@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc:
Port: gail

Description (last modified by ryandesign@…) (diff)

Running on an Intel based Mac with Tiger 10.4.11 the package gimp2 fails to build with the following error.

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DVERSION=\"1.20.1\" -DXTHREADS -I/opt/macports/include/atk-1.0 -I/opt/macports/include/glib-2.0 -I/opt/macports/lib/glib-2.0/include -I/opt/macports/include -I/opt/macports/include/gtk-2.0 -I/opt/macports/lib/gtk-2.0/include -I/opt/macports/include/cairo -I/opt/macports/include/pango-1.0 -I/opt/macports/include/freetype2 -I/opt/macports/include/libpng12 -I/usr/X11R6/include -I/usr/X11R6/include -I/opt/macports/include -L/opt/macports/lib -O2 -Wall -MT gailtreeview.lo -MD -MP -MF .deps/gailtreeview.Tpo -c gailtreeview.c  -fno-common -DPIC -o .libs/gailtreeview.o
gailtreeview.c:22:22: error: gdk/gdkx.h: No such file or directory
gailtreeview.c: In function 'gail_tree_view_grab_cell_focus':
gailtreeview.c:2231: warning: implicit declaration of function 'gdk_x11_get_server_time'
make[2]: *** [gailtreeview.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for gail): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: libgnomeui libbonoboui libgnomecanvas gail libgtkhtml librsvg libcroco libgsf libwmf poppler poppler-data py25-gtk py25-cairo py25-numeric py25-gobject
Error: Status 1 encountered during processing.

Change History

comment:1 Changed 7 years ago by nox@…

  • Cc nomaintainer@… removed
  • Milestone set to Port Bugs

comment:2 Changed 7 years ago by yves@…

  • Cc yves@… removed
  • Summary changed from gimp2 fails to build to gail fails to build

This is gail failing to build, not gimp2

comment:3 follow-up: ↓ 5 Changed 7 years ago by yves@…

Since you want gimp2, you can workaround gail with

install gimp +without_gnome

That is if you won't miss svg support

comment:4 Changed 7 years ago by nox@…

  • Owner changed from macports-dev@… to rhwood@…

comment:5 in reply to: ↑ 3 Changed 7 years ago by jwhowse4@…

Replying to yves@macports.org:

Since you want gimp2, you can workaround gail with

install gimp +without_gnome

That is if you won't miss svg support

I tried your suggestion of building gimp without gnome. The build still fails, this time while trying to compile the package poppler. Just as with gail the compiler complains about a missing header file gdk/gdkx.h

g++ -Wall -Wno-unused -O2 -o .libs/gtk-splash-test gtk-splash-test.o -Wl,-bind_at_load -L/opt/macports/lib ../poppler/.libs/libpoppler.dylib -L/usr/X11R6/lib /opt/macports/lib/libglade-2.0.dylib /opt/macports/lib/libgtk-quartz-2.0.dylib /opt/macports/lib/libxml2.dylib -lpthread /opt/macports/lib/libgdk-quartz-2.0.dylib /opt/macports/lib/libatk-1.0.dylib /opt/macports/lib/libgdk_pixbuf-2.0.dylib /opt/macports/lib/libtiff.dylib /opt/macports/lib/libjpeg.dylib /opt/macports/lib/libpangocairo-1.0.dylib /opt/macports/lib/libpangoft2-1.0.dylib /opt/macports/lib/libpango-1.0.dylib -lm /opt/macports/lib/libcairo.dylib -lSM -lICE /opt/macports/lib/libgobject-2.0.dylib /opt/macports/lib/libgmodule-2.0.dylib /opt/macports/lib/libglib-2.0.dylib /opt/macports/lib/libintl.dylib -lc /opt/macports/lib/libfontconfig.dylib /opt/macports/lib/libiconv.dylib /opt/macports/lib/libfreetype.dylib /opt/macports/lib/libexpat.dylib /opt/macports/lib/libpng12.dylib /opt/macports/lib/libXrender.dylib -lX11 -lz /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning prebinding disabled because dependent library: /opt/macports/lib/libpoppler.2.dylib is not prebound creating gtk-splash-test if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../poppler -I.. -I../poppler -I../glib -I../glib -DXTHREADS -I/opt/macports/include/cairo -I/opt/macports/include/freetype2 -I/opt/macports/include -I/opt/macports/include/libpng12 -I/usr/X11R6/include -I/opt/macports/include/freetype2 -I/opt/macports/include -DXTHREADS -I/opt/macports/include/gtk-2.0 -I/opt/macports/lib/gtk-2.0/include -I/opt/macports/include/atk-1.0 -I/opt/macports/include/cairo -I/opt/macports/include/pango-1.0 -I/opt/macports/include/glib-2.0 -I/opt/macports/lib/glib-2.0/include -I/opt/macports/include -I/opt/macports/include/freetype2 -I/opt/macports/include/libpng12 -I/usr/X11R6/include -I/opt/macports/include/libglade-2.0 -I/opt/macports/include/libxml2 -I/opt/macports/include -I/opt/macports/include -Wall -Wno-unused -O2 -MT gtk-cairo-test.o -MD -MP -MF ".deps/gtk-cairo-test.Tpo" -c -o gtk-cairo-test.o gtk-cairo-test.cc; \ then mv -f ".deps/gtk-cairo-test.Tpo" ".deps/gtk-cairo-test.Po"; else rm -f ".deps/gtk-cairo-test.Tpo"; exit 1; fi gtk-cairo-test.cc:18:22: error: gdk/gdkx.h: No such file or directory make[2]: * [gtk-cairo-test.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for poppler): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: poppler py25-gtk py25-cairo py25-numeric py25-gobject Error: Status 1 encountered during processing.

comment:6 follow-up: ↓ 7 Changed 7 years ago by rhwood@…

  • Status changed from new to assigned

Try building gimp with gnome, but first try:

sudo port install gail +quartz sudo port install poppler +quartz

Or see also: Gimp without X11

comment:7 in reply to: ↑ 6 Changed 7 years ago by jwhowse4@…

Replying to rhwood@macports.org:

Try building gimp with gnome, but first try:

sudo port install gail +quartz sudo port install poppler +quartz

Or see also: Gimp without X11

Both the gail and poppler builds crash in exactly the same ways as before.

comment:8 follow-ups: ↓ 9 ↓ 10 Changed 7 years ago by rhwood@…

I'm sorry, I should have had you try:

sudo port clean --all gail sudo port install gail +quartz

comment:9 in reply to: ↑ 8 Changed 7 years ago by jwhowse4@…

Replying to rhwood@macports.org:

I'm sorry, I should have had you try:

sudo port clean --all gail sudo port install gail +quartz

Now I get the following very cryptic error messages

Error: Variant with_quartz conflicts with without_quartz Error: Unable to execute port: Error evaluating variants

comment:10 in reply to: ↑ 8 Changed 7 years ago by jwhowse4@…

Replying to rhwood@macports.org:

I'm sorry, I should have had you try:

sudo port clean --all gail sudo port install gail +quartz

I tried the following approach. I uninstalled and then cleaned every package that both 'gail' and 'poppler' depend upon. I also cleaned 'gail' and 'poppler'. I then installed 'gtk2' explicitly using the variants '+with_x11 +without_quartz'. After all this 'gail' installs properly. Apparently, using these variants with 'gtk2' installs the header file 'gdkx.h' while using the '+with_quartz' option does not install this file. However 'poppler' still fails, but with a different error message. Any suggestions?

Making all in tests /bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -Wno-unused -O2 -L/opt/macports/lib -o test-poppler-qt4 test-poppler-qt4.o ../../poppler/libpoppler.la ../../qt4/src/libpoppler-qt4.la -L/opt/macports/lib -lfontconfig -lexpat -framework ApplicationServices -framework Carbon -framework AppKit -L/opt/macports/lib -L/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.3.2/lib -lQtGui -lpng -lQtXml -lQtTest -lQtCore -lz -lm -liconv -lz libtool: link: cannot find the library ' or unhandled argument Carbon' make[3]: * [test-poppler-qt4] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for poppler): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.

comment:11 Changed 7 years ago by ryandesign@…

Has duplicate #13429.

comment:12 Changed 6 years ago by rhwood@…

  • Status changed from assigned to closed
  • Resolution set to worksforme

I think that this ticket is OBE, and I can not replicate it.

comment:13 Changed 6 years ago by ryandesign@…

  • Description modified (diff)
  • Port set to gail

comment:14 Changed 5 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.