After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 447905 - glom fails to build
glom fails to build
Status: RESOLVED FIXED
Product: glom
Classification: Other
Component: build
1.5.x
Other Linux
: Normal normal
: ---
Assigned To: Murray Cumming
Murray Cumming
Depends on:
Blocks:
 
 
Reported: 2007-06-15 14:54 UTC by Daniel Holbach
Modified: 2007-08-20 08:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Holbach 2007-06-15 14:54:15 UTC
g++ -g -Wall -O2 -Wno-long-long -o .libs/test_sharedptr_layoutitem test_sharedptr_layoutitem.o -pthread -Wl,--export-dynamic --no-undefined  ./.libs/libglom.so -lbakery-2.4 -lgconfmm-2.6 
/usr/lib/libglademm-2.4.so /usr/lib/libglade-2.0.so -lgnomevfsmm-2.6 /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libxslt.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so 
/usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so -lrt -lgdamm-3.0 -lgtksourceviewmm-1.0 -lgtksourceview-1.0 /usr/lib/libgtkmm-2.4.so 
-lgnomeprint-2-2 -lz /usr/lib/libart_lgpl_2.so /usr/lib/libgdkmm-2.4.so /usr/lib/libatkmm-1.6.so /usr/lib/libpangomm-1.4.so /usr/lib/libcairomm-1.0.so /usr/lib/libxml++-2.6.so /usr/lib/libglibmm-2.4.so 
/usr/lib/libsigc-2.0.so /usr/lib/libgda-report-3.0.so /usr/lib/libgda-3.0.so /usr/lib/libgdasql-3.0.so /usr/lib/libxml2.so /usr/lib/libavahi-glib.so -lgoocanvas /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 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage 
/usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lX11 -lXfixes /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lutil
./.libs/libglom.so: undefined reference to `std::numpunct<char>::_M_initialize_numpunct(__locale_struct*)'
collect2: ld returned 1 exit status
make[5]: *** [test_sharedptr_layoutitem] Fehler 1
make[5]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom/libglom'
make[4]: *** [all-recursive] Fehler 1
make[4]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom/libglom'
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2'
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2'
make: *** [debian/stamp-makefile-build] Fehler 2
debuild: fatal error at line 1239:
debian/rules build failed
Comment 1 Murray Cumming 2007-06-16 11:25:25 UTC
Can you build glom 1.5.1?

This is Ubuntu Gutsy, I assume.
Comment 2 Daniel Holbach 2007-06-18 07:15:14 UTC
Yes, it's gutsy.


1.5.1 fails too, but differently:

 g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../ -DPNG_NO_MMX_CODE -DORBIT2=1 -pthread -D_REENTRANT -I/usr/include/bakery-2.4 -I/usr/lib/bakery-2.4/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/gconfmm-2.6 -I/usr/lib/gconfmm-2.6/include -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/gnome-vfsmm-2.6 -I/usr/lib/gnome-vfsmm-2.6/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/pygda-3.0 -I/usr/include/pygtk-2.0 -I/usr/include/libgda-3.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgdamm-3.0 -I/usr/lib/libgdamm-3.0/include -I/usr/include/gtksourceviewmm-1.0 -I/usr/lib/gtksourceviewmm-1.0/include -I/usr/include/gtksourceview-1.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/goocanvas-1.0 -I/usr/include/python2.5 -g -Wall -O2 -Wno-long-long -c py_glom_record.cc  -fPIC -DPIC -o .libs/py_glom_record.o
/usr/include/gtk-2.0/gtk/gtkbuilder.h:63: error: expected ',' or '...' before 'typename'
/usr/include/gtk-2.0/gtk/gtkbuilder.h:106: error: expected ',' or '...' before 'typename'
make[6]: *** [py_glom_record.lo] Fehler 1
make[6]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1/glom/libglom/python_embed'
make[5]: *** [all-recursive] Fehler 1
make[5]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1/glom/libglom/python_embed'
make[4]: *** [all-recursive] Fehler 1
make[4]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1/glom/libglom'
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1/glom'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1'
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1'
make: *** [debian/stamp-makefile-build] Fehler 2
debuild: fatal error at line 1239:
debian/rules build failed
Comment 3 Murray Cumming 2007-06-18 07:30:39 UTC
I suspect that you'll have that gtkbuilder error with any version of Glom now. I guess that GTK+ was updated before your first test.
Comment 4 Daniel Holbach 2007-06-18 07:55:53 UTC
Hum, gtkmm 2.11.3 fails to build now with the same error as in comment 2.
Comment 5 Murray Cumming 2007-06-18 08:13:35 UTC
> /usr/include/gtk-2.0/gtk/gtkbuilder.h:63: error: expected ',' or '...' before
> 'typename'

I don't have that error when building from svn in jhbuild. For me, line 63 is the second line of this:

  GType (* get_type_from_name) (GtkBuilder *builder,
                                const char *type_name);

What is that line for you? Oddly, I dont see any changes to this file in svn.
Comment 6 Murray Cumming 2007-06-18 08:15:20 UTC
Actually, this has been fixed in svn:
http://svn.gnome.org/viewcvs/gtk%2B/trunk/gtk/gtkbuilder.h?r1=18141&r2=18157
Comment 7 Sebastien Bacher 2007-06-18 08:30:22 UTC

*** This bug has been marked as a duplicate of 448193 ***
Comment 8 Daniel Holbach 2007-06-18 08:44:15 UTC
I reopen the bug, as comment 1 is still valid. I'll re-test building glom 1.5.1 and 1.5.2 (and gtkmm 2.11.3) with the fixed gtk.
Comment 9 Daniel Holbach 2007-06-18 13:21:12 UTC
Please disregard everything from comment 2 on.


1.5.2:

g++ -g -Wall -O2 -Wno-long-long -o .libs/test_sharedptr_layoutitem test_sharedptr_layoutitem.o -pthread -Wl,--export-dynamic --no-undefined  ./.libs/libglom.so -lbakery-2.4 -lgconfmm-2.6 /usr/lib/libglademm-2.4.so /usr/lib/libglade-2.0.so -lgnomevfsmm-2.6 /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libxslt.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so -lrt -lgdamm-3.0 -lgtksourceviewmm-1.0 -lgtksourceview-1.0 /usr/lib/libgtkmm-2.4.so -lgnomeprint-2-2 -lz /usr/lib/libart_lgpl_2.so /usr/lib/libgdkmm-2.4.so /usr/lib/libatkmm-1.6.so /usr/lib/libpangomm-1.4.so /usr/lib/libcairomm-1.0.so /usr/lib/libxml++-2.6.so /usr/lib/libglibmm-2.4.so /usr/lib/libsigc-2.0.so /usr/lib/libgda-report-3.0.so /usr/lib/libgda-3.0.so /usr/lib/libgdasql-3.0.so /usr/lib/libxml2.so /usr/lib/libavahi-glib.so -lgoocanvas /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 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lX11 -lXfixes /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lutil
./.libs/libglom.so: undefined reference to `std::numpunct<char>::_M_initialize_numpunct(__locale_struct*)'
collect2: ld returned 1 exit status
make[5]: *** [test_sharedptr_layoutitem] Fehler 1
make[5]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom/libglom'
make[4]: *** [all-recursive] Fehler 1
make[4]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom/libglom'
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2'
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2'
make: *** [debian/stamp-makefile-build] Fehler 2
debuild: fatal error at line 1239:
debian/rules build failed




1.5.1:

g++ -g -Wall -O2 -Wno-long-long -o .libs/test_sharedptr_layoutitem test_sharedptr_layoutitem.o -pthread -Wl,--export-dynamic --no-undefined  ./.libs/libglom.so -lbakery-2.4 -lgconfmm-2.6 /usr/lib/libglademm-2.4.so /usr/lib/libxml++-2.6.so /usr/lib/libglade-2.0.so -lgnomevfsmm-2.6 /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libxslt.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so -lrt -lgdamm-3.0 -lgtksourceviewmm-1.0 -lgtksourceview-1.0 /usr/lib/libgtkmm-2.4.so -lgnomeprint-2-2 -lz /usr/lib/libart_lgpl_2.so /usr/lib/libgdkmm-2.4.so /usr/lib/libatkmm-1.6.so /usr/lib/libpangomm-1.4.so /usr/lib/libcairomm-1.0.so /usr/lib/libglibmm-2.4.so /usr/lib/libsigc-2.0.so /usr/lib/libgda-report-3.0.so /usr/lib/libgda-3.0.so /usr/lib/libgdasql-3.0.so /usr/lib/libxml2.so /usr/lib/libavahi-glib.so -lgoocanvas /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 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lX11 -lXfixes /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lutil
./.libs/libglom.so: undefined reference to `std::numpunct<char>::_M_initialize_numpunct(__locale_struct*)'
collect2: ld returned 1 exit status
make[5]: *** [test_sharedptr_layoutitem] Fehler 1
make[5]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.1/glom/libglom'
make[4]: *** [all-recursive] Fehler 1
make[4]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.1/glom/libglom'
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.1/glom'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.1'
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.1'
make: *** [debian/stamp-makefile-build] Fehler 2
debuild: fatal error at line 1239:
debian/rules build failed
Comment 10 Murray Cumming 2007-07-29 14:44:08 UTC
I just tried building glom 1.5.2 from the tarball in Ubuntu Gutsy in VMWare. I can't reproduce this problem now.

I guess it was a temporary problem with g++. Could you try again, please?
Comment 11 Murray Cumming 2007-08-18 14:04:05 UTC
I really hope that you have a chance to try this again.
Comment 12 Daniel Holbach 2007-08-20 08:28:10 UTC
It works for me now too - I have no idea, what happened in between, but it's ok now.