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 622870 - Can't build due to gtk.c:30466: error: void value not ignored as it ought to be
Can't build due to gtk.c:30466: error: void value not ignored as it ought to be
Status: RESOLVED FIXED
Product: pygtk
Classification: Bindings
Component: gtk
Git Master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
: 623333 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-06-27 10:17 UTC by Tobias Mueller
Modified: 2010-09-27 05:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tobias Mueller 2010-06-27 10:17:31 UTC
*** Building pygtk *** [24/66]
make  
ln -s .libs/atk.so atk.so || true
ln -s .libs/pango.so pango.so || true
ln -s .libs/pangocairo.so pangocairo.so || true
ln: creating symbolic link `atk.so': File existsln: 
creating symbolic link `pango.so': File exists
ln: creating symbolic link `pangocairo.so': File exists
make  all-recursive
make[1]: Entering directory `/home/muelli/svn/gnome2/pygtk'
Making all in .
make[2]: Entering directory `/home/muelli/svn/gnome2/pygtk'
make[2]: Leaving directory `/home/muelli/svn/gnome2/pygtk'
Making all in gtk
make[2]: Entering directory `/home/muelli/svn/gnome2/pygtk/gtk'
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -fno-strict-aliasing -std=c9x  -L/opt/gnome2/lib64 -Wl,-O0 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -o gtkunixprint.la -rpath /opt/gnome2/lib64/python2.5/site-packages/gtk-2.0 -module -avoid-version  -export-symbols-regex initgtkunixprint gtkunixprint_la-gtkunixprintmodule.lo gtkunixprint_la-gtkunixprint.lo -pthread -L/opt/gnome2/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/gnome2/include/python2.5 -I/opt/gnome2/include/python2.5 -pthread -I/opt/gnome2/include/pygtk-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -I/usr/lib64/libffi-3.0.9/include   -I./gtk   -I/opt/gnome2/include/pycairo -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/lib64/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -I/opt/gnome2/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT _gtk_la-gtk.lo -MD -MP -MF ".deps/_gtk_la-gtk.Tpo" -c -o _gtk_la-gtk.lo `test -f 'gtk.c' || echo './'`gtk.c; \
	then mv -f ".deps/_gtk_la-gtk.Tpo" ".deps/_gtk_la-gtk.Plo"; else rm -f ".deps/_gtk_la-gtk.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -fno-strict-aliasing -std=c9x  -L/opt/gnome2/lib64 -Wl,-O0 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -o glade.la -rpath /opt/gnome2/lib64/python2.5/site-packages/gtk-2.0/gtk -module -avoid-version  -export-symbols-regex initglade glade_la-libglademodule.lo glade_la-libglade.lo -pthread -L/opt/gnome2/lib64 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/gnome2/include/python2.5 -I/opt/gnome2/include/python2.5 -pthread -I/opt/gnome2/include/pygtk-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -I/usr/lib64/libffi-3.0.9/include -I./gtk -I/opt/gnome2/include/pycairo -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/lib64/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -I/opt/gnome2/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT _gtk_la-gtk.lo -MD -MP -MF .deps/_gtk_la-gtk.Tpo -c gtk.c  -fPIC -DPIC -o .libs/_gtk_la-gtk.o
libtool: link: rm -fr  .libs/gtkunixprint.exp .libs/gtkunixprint.la .libs/gtkunixprint.lai .libs/gtkunixprint.so .libs/gtkunixprint.ver
libtool: link: /usr/bin/nm -B  .libs/gtkunixprint_la-gtkunixprintmodule.o .libs/gtkunixprint_la-gtkunixprint.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/gtkunixprint.exp
libtool: link: rm -fr  .libs/glade.exp .libs/glade.la .libs/glade.lai .libs/glade.so .libs/glade.ver
libtool: link: /usr/bin/nm -B  .libs/glade_la-libglademodule.o .libs/glade_la-libglade.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/glade.exp
libtool: link: /bin/grep -E -e "initgtkunixprint" ".libs/gtkunixprint.exp" > ".libs/gtkunixprint.expT"
libtool: link: mv -f ".libs/gtkunixprint.expT" ".libs/gtkunixprint.exp"
libtool: link: echo "{ global:" > .libs/gtkunixprint.ver
libtool: link:  cat .libs/gtkunixprint.exp | sed -e "s/\(.*\)/\1;/" >> .libs/gtkunixprint.ver
libtool: link: /bin/grep -E -e "initglade" ".libs/glade.exp" > ".libs/glade.expT"
libtool: link: mv -f ".libs/glade.expT" ".libs/glade.exp"
libtool: link:  echo "local: *; };" >> .libs/gtkunixprint.ver
libtool: link:  gcc -shared  .libs/gtkunixprint_la-gtkunixprintmodule.o .libs/gtkunixprint_la-gtkunixprint.o   -Wl,-rpath -Wl,/opt/gnome2/lib64 -Wl,-rpath -Wl,/opt/gnome2/lib64 -L/opt/gnome2/lib64 /opt/gnome2/lib64/libgtk-x11-2.0.so /opt/gnome2/lib64/libgdk-x11-2.0.so /opt/gnome2/lib64/libatk-1.0.so /opt/gnome2/lib64/libgdk_pixbuf-2.0.so /opt/gnome2/lib64/libgio-2.0.so -lresolv -lselinux /opt/gnome2/lib64/libpangocairo-1.0.so /opt/gnome2/lib64/libpangoft2-1.0.so /opt/gnome2/lib64/libcairo.so /opt/gnome2/lib64/libpixman-1.so -lpng12 -lXrender -lX11 -lz /opt/gnome2/lib64/libpango-1.0.so -lm /opt/gnome2/lib64/libfontconfig.so -lfreetype /opt/gnome2/lib64/libexpat.so /opt/gnome2/lib64/libgobject-2.0.so /opt/gnome2/lib64/libgmodule-2.0.so -ldl /opt/gnome2/lib64/libgthread-2.0.so -lpthread -lrt /opt/gnome2/lib64/libglib-2.0.so  -Wl,-O0 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -pthread   -pthread -Wl,-soname -Wl,gtkunixprint.so -Wl,-version-script -Wl,.libs/gtkunixprint.ver -o .libs/gtkunixprint.so
libtool: link: echo "{ global:" > .libs/glade.ver
libtool: link:  cat .libs/glade.exp | sed -e "s/\(.*\)/\1;/" >> .libs/glade.ver
libtool: link:  echo "local: *; };" >> .libs/glade.ver
libtool: link:  gcc -shared  .libs/glade_la-libglademodule.o .libs/glade_la-libglade.o   -Wl,-rpath -Wl,/opt/gnome2/lib64 -Wl,-rpath -Wl,/opt/gnome2/lib64 -L/opt/gnome2/lib64 /opt/gnome2/lib64/libglade-2.0.so /opt/gnome2/lib64/libgtk-x11-2.0.so /opt/gnome2/lib64/libxml2.so /opt/gnome2/lib64/libgdk-x11-2.0.so /opt/gnome2/lib64/libatk-1.0.so /opt/gnome2/lib64/libgdk_pixbuf-2.0.so /opt/gnome2/lib64/libgio-2.0.so -lresolv -lselinux /opt/gnome2/lib64/libpangocairo-1.0.so /opt/gnome2/lib64/libpangoft2-1.0.so /opt/gnome2/lib64/libcairo.so /opt/gnome2/lib64/libpixman-1.so -lpng12 -lXrender -lX11 -lz /opt/gnome2/lib64/libpango-1.0.so -lm /opt/gnome2/lib64/libfontconfig.so -lfreetype /opt/gnome2/lib64/libexpat.so /opt/gnome2/lib64/libgobject-2.0.so /opt/gnome2/lib64/libgmodule-2.0.so -ldl /opt/gnome2/lib64/libgthread-2.0.so -lpthread -lrt /opt/gnome2/lib64/libglib-2.0.so  -Wl,-O0 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -pthread   -pthread -Wl,-soname -Wl,glade.so -Wl,-version-script -Wl,.libs/glade.ver -o .libs/glade.so
libtool: link: ( cd ".libs" && rm -f "gtkunixprint.la" && ln -s "../gtkunixprint.la" "gtkunixprint.la" )
ln -s .libs/gtkunixprint.so gtkunixprint.so || true
ln: creating symbolic link `gtkunixprint.so': File exists
libtool: link: ( cd ".libs" && rm -f "glade.la" && ln -s "../glade.la" "glade.la" )
ln -s .libs/glade.so glade.so || true
ln: creating symbolic link `glade.so': File exists
./gtk.override: In function ‘_wrap_gtk_recent_info_get_application_info’:
./gtk.override:7546: warning: passing argument 3 of ‘gtk_recent_info_get_application_info’ from incompatible pointer type
/opt/gnome2/include/gtk-2.0/gtk/gtkrecentmanager.h:187: note: expected ‘const gchar **’ but argument is of type ‘gchar **’
gtk.c: In function ‘_wrap_gtk_calendar_select_month’:
gtk.c:30466: error: void value not ignored as it ought to be
gtk.c: In function ‘_wrap_gtk_calendar_mark_day’:
gtk.c:30519: error: void value not ignored as it ought to be
gtk.c: In function ‘_wrap_gtk_calendar_unmark_day’:
gtk.c:30546: error: void value not ignored as it ought to be
./gtk.override: In function ‘pygtk_main_watch_prepare’:
./gtk.override:1132: error: called object ‘_PyGObject_API->threads_enabled’ is not a function
make[2]: *** [_gtk_la-gtk.lo] Error 1
make[2]: Leaving directory `/home/muelli/svn/gnome2/pygtk/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/muelli/svn/gnome2/pygtk'
make: *** [all] Error 2
*** Error during phase build of pygtk: ########## Error running make   *** [24/66]

According to http://library.gnome.org/devel/gtk/unstable/GtkCalendar.html#gtk-calendar-select-month it does indeed return void. So let's just assume it went alright and return TRUE.
Comment 1 John Stowers 2010-08-13 13:11:17 UTC
*** Bug 623333 has been marked as a duplicate of this bug. ***
Comment 2 John Stowers 2010-09-27 05:25:39 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.