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 444289 - evolution-test-component.c:178: error: no 'createControls'
evolution-test-component.c:178: error: no 'createControls'
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
2.12.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
: 345676 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-06-05 10:24 UTC by Tobias Mueller
Modified: 2013-09-13 00:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch which removes createControls stuff (1.83 KB, patch)
2007-06-14 22:28 UTC, Tobias Mueller
accepted-commit_now Details | Review

Description Tobias Mueller 2007-06-05 10:24:10 UTC
Hi.

Evolution does not compile, if test-component is enabled.

Steps to reproduce:
1. Check out evolution
2. configure with --enable-test-component
3. make

It fails with following error:

make[3]: Entering directory `/home/muelli/svn/gnome2/evolution/shell'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../widgets -I../widgets/misc -I.. -I../shell -I../shell -DEVOLUTION_IMAGESDIR=\""/opt/gnome2//share/evolution/2.12/images"\" -DEVOLUTION_LOCALEDIR=\""/opt/gnome2//share/locale"\" -DEVOLUTION_DATADIR=\""/opt/gnome2//share"\" -DEVOLUTION_GLADEDIR=\""/opt/gnome2//share/evolution/2.12/glade"\" -DEVOLUTION_HELPDIR=\""/opt/gnome2//share/evolution/2.12/help"\" -DEVOLUTION_UIDIR=\""/opt/gnome2//share/evolution/2.12/ui"\" -DEVOLUTION_TOOLSDIR=\""/opt/gnome2//libexec/evolution/2.12"\" -DPREFIX=\""/opt/gnome2/"\" -DSYSCONFDIR=\""/opt/gnome2//etc"\" -DDATADIR=\""/opt/gnome2//share"\" -DLIBDIR=\""/opt/gnome2//share"\" -DG_LOG_DOMAIN=\"evolution-shell\" -DORBIT2=1 -pthread -I/opt/gnome2//include/evolution-data-server-1.12 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2    -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libglade-2.0     -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -DDBUS_API_SUBJECT_TO_CHANGE -I/opt/gnome2//include/libgtkhtml-3.14 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -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/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/NetworkManager     -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -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/libpng12 -I/usr/include/libxml2        -g -O2 -Wall -Wmissing-prototypes  -Wno-sign-compare -MT evolution-test-component.lo -MD -MP -MF ".deps/evolution-test-component.Tpo" -c -o evolution-test-component.lo evolution-test-component.c; \
        then mv -f ".deps/evolution-test-component.Tpo" ".deps/evolution-test-component.Plo"; else rm -f ".deps/evolution-test-component.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../widgets -I../widgets/misc -I.. -I../shell -I../shell -DEVOLUTION_IMAGESDIR=\"/opt/gnome2//share/evolution/2.12/images\" -DEVOLUTION_LOCALEDIR=\"/opt/gnome2//share/locale\" -DEVOLUTION_DATADIR=\"/opt/gnome2//share\" -DEVOLUTION_GLADEDIR=\"/opt/gnome2//share/evolution/2.12/glade\" -DEVOLUTION_HELPDIR=\"/opt/gnome2//share/evolution/2.12/help\" -DEVOLUTION_UIDIR=\"/opt/gnome2//share/evolution/2.12/ui\" -DEVOLUTION_TOOLSDIR=\"/opt/gnome2//libexec/evolution/2.12\" -DPREFIX=\"/opt/gnome2/\" -DSYSCONFDIR=\"/opt/gnome2//etc\" -DDATADIR=\"/opt/gnome2//share\" -DLIBDIR=\"/opt/gnome2//share\" -DG_LOG_DOMAIN=\"evolution-shell\" -DORBIT2=1 -pthread -I/opt/gnome2//include/evolution-data-server-1.12 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libglade-2.0 -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -DDBUS_API_SUBJECT_TO_CHANGE -I/opt/gnome2//include/libgtkhtml-3.14 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -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/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/NetworkManager -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -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/libpng12 -I/usr/include/libxml2 -g -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -MT evolution-test-component.lo -MD -MP -MF .deps/evolution-test-component.Tpo -c evolution-test-component.c  -fPIC -DPIC -o .libs/evolution-test-component.o
evolution-test-component.c: In function ‘evolution_test_component_class_init’:
evolution-test-component.c:177: warning: assignment from incompatible pointer type
evolution-test-component.c:178: error: ‘POA_GNOME_Evolution_Component__epv’ has no member named ‘createControls’
make[3]: *** [evolution-test-component.lo] Error 1
make[3]: Leaving directory `/home/muelli/svn/gnome2/evolution/shell'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/muelli/svn/gnome2/evolution/shell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/muelli/svn/gnome2/evolution'
make: *** [all] Error 2


After disabling the test-component, it compiles.
Comment 1 André Klapper 2007-06-05 10:54:53 UTC
funny, i just wanted to file this myself.

i think line 177 is not the problem (it's only a warning like evo 2.11.2 had thousands of it - cleaned up in 2.11.3), but line 178 is the real error, because somebody changed code and did not update the test component for that.
Comment 2 Tobias Mueller 2007-06-14 22:27:53 UTC
This createControls stuff seems to be removed, as it was used with an "exchange" button which has been removed.

Hence one might to apply following patch which just removes the createComponents stuff.
Comment 3 Tobias Mueller 2007-06-14 22:28:46 UTC
Created attachment 89976 [details] [review]
Patch which removes createControls stuff
Comment 4 André Klapper 2007-06-14 22:40:20 UTC
nice patch, and a build blocker.
Comment 5 Srinivasa Ragavan 2007-06-15 03:42:13 UTC
The patch looks fine. Please commit.
Comment 6 Tobias Mueller 2007-06-17 14:00:06 UTC
commited in 33683. Closing.
Comment 7 André Klapper 2007-06-17 16:13:50 UTC
*** Bug 345676 has been marked as a duplicate of this bug. ***