GNOME Bugzilla – Bug 412342
Just Uploaded 3.13.92 Won't Compile
Last modified: 2007-02-27 17:10:44 UTC
Please describe the problem: There's no problem with 3.13.91; i get this message when i try to compile minor bugfix release.. then mv -f ".deps/htmlframeset.Tpo" ".deps/htmlframeset.Plo"; else rm -f ".deps/htmlframeset.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I/usr/include -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libsoup-2.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGNOME_EXPLICIT_TRANSLATION_DOMAIN=\"gtkhtml-3.8\" -DG_LOG_DOMAIN=\"gtkhtml\" -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/share\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DICONDIR=\"/usr/share/gtkhtml-3.8/icons\" -DGTKHTML_DATADIR=\"/usr/share/gtkhtml-3.8\" -DGLADE_DATADIR=\"/usr/share/gtkhtml-3.8\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -mtune=i686 -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -MT htmlframeset.lo -MD -MP -MF .deps/htmlframeset.Tpo -c htmlframeset.c -fPIC -DPIC -o .libs/htmlframeset.o /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -DPREFIX=\""/usr"\" -DLIBDIR=\""/usr/share"\" -DDATADIR=\""/usr/share"\" -DSYSCONFDIR=\""/etc"\" -DICONDIR=\"/usr/share/gtkhtml-3.8/icons\" -DGTKHTML_DATADIR=\""/usr/share/gtkhtml-3.8"\" -DGLADE_DATADIR=\"/usr/share/gtkhtml-3.8\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -mtune=i686 -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -o libgtkhtml-3.8.la -rpath /usr/lib -version-info 19:0:0 -no-undefined gtkhtml-embedded.lo gtkhtml-properties.lo gtkhtml-search.lo gtkhtml-stream.lo gtkhtml.lo gtkhtmldebug.lo gtkhtmlfontstyle.lo htmlanchor.lo htmlbutton.lo htmlcheckbox.lo htmlclue.lo htmlcluealigned.lo htmlclueflow.lo htmlclueh.lo htmlcluev.lo htmlcolor.lo htmlcolorset.lo htmlcursor.lo htmldrawqueue.lo htmlembedded.lo htmlengine-edit.lo htmlengine-edit-clueflowstyle.lo htmlengine-edit-cursor.lo htmlengine-edit-cut-and-paste.lo htmlengine-edit-fontstyle.lo htmlengine-edit-images.lo htmlengine-edit-movement.lo htmlengine-edit-rule.lo htmlengine-edit-selection-updater.lo htmlengine-edit-table.lo htmlengine-edit-tablecell.lo htmlengine-edit-text.lo htmlengine-print.lo htmlengine-save.lo htmlengine-search.lo htmlengine.lo htmlentity.lo htmlenumutils.lo htmlfontmanager.lo htmlform.lo htmlgdkpainter.lo htmlplainpainter.lo htmlhidden.lo htmlimage.lo htmlimageinput.lo htmlinterval.lo htmllist.lo htmlmap.lo htmlmarshal.lo htmlobject.lo htmlpainter.lo htmlprinter.lo htmlradio.lo htmlrule.lo htmlsearch.lo htmlreplace.lo htmlselect.lo htmlselection.lo htmlsettings.lo htmlshape.lo htmlstack.lo htmlstringtokenizer.lo htmlstyle.lo htmltable.lo htmltablecell.lo htmltext.lo htmltextarea.lo htmltextinput.lo htmltextslave.lo htmltokenizer.lo htmltype.lo htmlundo.lo htmlundo-action.lo htmliframe.lo htmlframe.lo htmlframeset.lo -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 ../a11y/libgtkhtml-a11y.la -lgailutil -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 i686-pc-linux-gnu-gcc -shared .libs/gtkhtml-embedded.o .libs/gtkhtml-properties.o .libs/gtkhtml-search.o .libs/gtkhtml-stream.o .libs/gtkhtml.o .libs/gtkhtmldebug.o .libs/gtkhtmlfontstyle.o .libs/htmlanchor.o .libs/htmlbutton.o .libs/htmlcheckbox.o .libs/htmlclue.o .libs/htmlcluealigned.o .libs/htmlclueflow.o .libs/htmlclueh.o .libs/htmlcluev.o .libs/htmlcolor.o .libs/htmlcolorset.o .libs/htmlcursor.o .libs/htmldrawqueue.o .libs/htmlembedded.o .libs/htmlengine-edit.o .libs/htmlengine-edit-clueflowstyle.o .libs/htmlengine-edit-cursor.o .libs/htmlengine-edit-cut-and-paste.o .libs/htmlengine-edit-fontstyle.o .libs/htmlengine-edit-images.o .libs/htmlengine-edit-movement.o .libs/htmlengine-edit-rule.o .libs/htmlengine-edit-selection-updater.o .libs/htmlengine-edit-table.o .libs/htmlengine-edit-tablecell.o .libs/htmlengine-edit-text.o .libs/htmlengine-print.o .libs/htmlengine-save.o .libs/htmlengine-search.o .libs/htmlengine.o .libs/htmlentity.o .libs/htmlenumutils.o .libs/htmlfontmanager.o .libs/htmlform.o .libs/htmlgdkpainter.o .libs/htmlplainpainter.o .libs/htmlhidden.o .libs/htmlimage.o .libs/htmlimageinput.o .libs/htmlinterval.o .libs/htmllist.o .libs/htmlmap.o .libs/htmlmarshal.o .libs/htmlobject.o .libs/htmlpainter.o .libs/htmlprinter.o .libs/htmlradio.o .libs/htmlrule.o .libs/htmlsearch.o .libs/htmlreplace.o .libs/htmlselect.o .libs/htmlselection.o .libs/htmlsettings.o .libs/htmlshape.o .libs/htmlstack.o .libs/htmlstringtokenizer.o .libs/htmlstyle.o .libs/htmltable.o .libs/htmltablecell.o .libs/htmltext.o .libs/htmltextarea.o .libs/htmltextinput.o .libs/htmltextslave.o .libs/htmltokenizer.o .libs/htmltype.o .libs/htmlundo.o .libs/htmlundo-action.o .libs/htmliframe.o .libs/htmlframe.o .libs/htmlframeset.o -Wl,--whole-archive ../a11y/.libs/libgtkhtml-a11y.a -Wl,--no-whole-archive /usr/lib/libgnomeui-2.so -L/usr/lib /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libbonoboui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libbonobo-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-activation.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so /usr/lib/libglade-2.0.so /usr/lib/libxml2.so /usr/lib/libgailutil.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -mtune=i686 -pthread -Wl,-soname -Wl,libgtkhtml-3.8.so.19 -o .libs/libgtkhtml-3.8.so.19.0.0 (cd .libs && rm -f libgtkhtml-3.8.so.19 && ln -s libgtkhtml-3.8.so.19.0.0 libgtkhtml-3.8.so.19) (cd .libs && rm -f libgtkhtml-3.8.so && ln -s libgtkhtml-3.8.so.19.0.0 libgtkhtml-3.8.so) creating libgtkhtml-3.8.la (cd .libs && rm -f libgtkhtml-3.8.la && ln -s ../libgtkhtml-3.8.la libgtkhtml-3.8.la) if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I/usr/include -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libsoup-2.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGNOME_EXPLICIT_TRANSLATION_DOMAIN=\"gtkhtml-3.8\" -DG_LOG_DOMAIN=\"gtkhtml\" -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -DPREFIX=\""/usr"\" -DLIBDIR=\""/usr/share"\" -DDATADIR=\""/usr/share"\" -DSYSCONFDIR=\""/etc"\" -DICONDIR=\"/usr/share/gtkhtml-3.8/icons\" -DGTKHTML_DATADIR=\""/usr/share/gtkhtml-3.8"\" -DGLADE_DATADIR=\"/usr/share/gtkhtml-3.8\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -mtune=i686 -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -MT testgtkhtml.o -MD -MP -MF ".deps/testgtkhtml.Tpo" -c -o testgtkhtml.o testgtkhtml.c; \ then mv -f ".deps/testgtkhtml.Tpo" ".deps/testgtkhtml.Po"; else rm -f ".deps/testgtkhtml.Tpo"; exit 1; fi testgtkhtml.c: In function `draw_page_cb': testgtkhtml.c:330: warning: implicit declaration of function `pango_language_get_default' testgtkhtml.c:330: warning: passing arg 3 of `pango_context_get_metrics' makes pointer from integer without a cast if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I/usr/include -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libsoup-2.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGNOME_EXPLICIT_TRANSLATION_DOMAIN=\"gtkhtml-3.8\" -DG_LOG_DOMAIN=\"gtkhtml\" -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -DPREFIX=\""/usr"\" -DLIBDIR=\""/usr/share"\" -DDATADIR=\""/usr/share"\" -DSYSCONFDIR=\""/etc"\" -DICONDIR=\"/usr/share/gtkhtml-3.8/icons\" -DGTKHTML_DATADIR=\""/usr/share/gtkhtml-3.8"\" -DGLADE_DATADIR=\"/usr/share/gtkhtml-3.8\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -mtune=i686 -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -MT htmlurl.o -MD -MP -MF ".deps/htmlurl.Tpo" -c -o htmlurl.o htmlurl.c; \ then mv -f ".deps/htmlurl.Tpo" ".deps/htmlurl.Po"; else rm -f ".deps/htmlurl.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -DPREFIX=\""/usr"\" -DLIBDIR=\""/usr/share"\" -DDATADIR=\""/usr/share"\" -DSYSCONFDIR=\""/etc"\" -DICONDIR=\"/usr/share/gtkhtml-3.8/icons\" -DGTKHTML_DATADIR=\""/usr/share/gtkhtml-3.8"\" -DGLADE_DATADIR=\"/usr/share/gtkhtml-3.8\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -mtune=i686 -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -o testgtkhtml testgtkhtml.o htmlurl.o libgtkhtml-3.8.la -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lsoup-2.2 -lglib-2.0 -lxml2 -lgnutls i686-pc-linux-gnu-gcc -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/share\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DICONDIR=\"/usr/share/gtkhtml-3.8/icons\" -DGTKHTML_DATADIR=\"/usr/share/gtkhtml-3.8\" -DGLADE_DATADIR=\"/usr/share/gtkhtml-3.8\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -mtune=i686 -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -o .libs/testgtkhtml testgtkhtml.o htmlurl.o -pthread ./.libs/libgtkhtml-3.8.so -L/usr/lib /usr/lib/libgailutil.so /usr/lib/libgnomeui-2.so /usr/lib/libjpeg.so /usr/lib/libbonoboui-2.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libgnome-keyring.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libbonobo-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libdbus-glib-1.so /usr/lib/libdbus-1.so -lssl -lcrypto -lresolv -lutil /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/lib/libpng12.so /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/libgmodule-2.0.so /usr/lib/libsoup-2.2.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -lrt /usr/lib/libxml2.so -ldl -lm /usr/lib/libgnutls.so -lz /usr/lib/libgcrypt.so -lnsl /usr/lib/libgpg-error.so testgtkhtml.o: In function `draw_page_cb': testgtkhtml.c:(.text+0x139): undefined reference to `pango_language_get_default' collect2: ld returned 1 exit status make[2]: *** [testgtkhtml] Hata 1 Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
pango_language_get_default() was added in pango 1.15.2; please add a configure check. I'll attach a patch.
Or, since the dep is only in the test, an alternative to that function could be found?
Created attachment 83407 [details] [review] Patch for compilation issue This bug is my fault. pango_language_get_default() is too new to be using just yet. The patch replaces it with gtk_get_default_language().
Committed to Subversion trunk.