GNOME Bugzilla – Bug 562106
build error on x86_64
Last modified: 2008-11-27 13:35:43 UTC
This is with metacity 2.25.8 on Mandriva Cooker x86_64: gcc -DHAVE_CONFIG_H -I. -I.. -I./include -DMETACITY_LIBEXECDIR=\"/usr/lib64\" -DHOST_ALIAS=\"\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\" -DMETACITY_PKGDATADIR=\"/usr/share/metacity\" -DMETACITY_DATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"metacity\" -DSN_API_NOT_YET_FROZEN=1 -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/startup-notification-1.0 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wall -Werror -ansi -MT xprops.o -MD -MP -MF .deps/xprops.Tpo -c -o xprops.o `test -f 'core/xprops.c' || echo './'`core/xprops.c cc1: warnings being treated as errors core/xprops.c: In function 'wm_hints_from_results': core/xprops.c:729: error: signed and unsigned type in conditional expression core/xprops.c:732: error: signed and unsigned type in conditional expression core/xprops.c:733: error: signed and unsigned type in conditional expression core/xprops.c: In function 'size_hints_from_results': core/xprops.c:853: error: signed and unsigned type in conditional expression core/xprops.c:854: error: signed and unsigned type in conditional expression core/xprops.c:855: error: signed and unsigned type in conditional expression core/xprops.c:856: error: signed and unsigned type in conditional expression core/xprops.c:857: error: signed and unsigned type in conditional expression core/xprops.c:858: error: signed and unsigned type in conditional expression core/xprops.c:859: error: signed and unsigned type in conditional expression core/xprops.c:860: error: signed and unsigned type in conditional expression core/xprops.c:861: error: signed and unsigned type in conditional expression core/xprops.c:862: error: signed and unsigned type in conditional expression core/xprops.c:863: error: signed and unsigned type in conditional expression core/xprops.c:864: error: signed and unsigned type in conditional expression core/xprops.c:865: error: signed and unsigned type in conditional expression core/xprops.c:866: error: signed and unsigned type in conditional expression core/xprops.c:871: error: signed and unsigned type in conditional expression core/xprops.c:872: error: signed and unsigned type in conditional expression core/xprops.c:873: error: signed and unsigned type in conditional expression make[2]: *** [xprops.o] Error 1
I can confirm this: armel: http://launchpadlibrarian.net/19932551/buildlog_ubuntu-jaunty-armel.metacity_1%3A2.25.8-0ubuntu1_FAILEDTOBUILD.txt.gz core/async-getprop.c: In function 'async_get_property_handler': core/async-getprop.c:218: error: cast increases required alignment of target type core/async-getprop.c:280: error: cast increases required alignment of target type core/async-getprop.c:385: error: cast increases required alignment of target type core/async-getprop.c:385: error: cast increases required alignment of target type core/async-getprop.c: In function 'ag_task_create': core/async-getprop.c:539: error: cast increases required alignment of target type make[5]: *** [async-getprop.o] Error 1 ia64: http://launchpadlibrarian.net/19932633/buildlog_ubuntu-jaunty-ia64.metacity_1%3A2.25.8-0ubuntu1_FAILEDTOBUILD.txt.gz cc1: warnings being treated as errors core/async-getprop.c: In function 'async_get_property_handler': core/async-getprop.c:218: error: cast increases required alignment of target type core/async-getprop.c:280: error: cast increases required alignment of target type core/async-getprop.c:385: error: cast increases required alignment of target type core/async-getprop.c:385: error: cast increases required alignment of target type core/async-getprop.c: In function 'ag_task_create': core/async-getprop.c:539: error: cast increases required alignment of target type make[5]: *** [async-getprop.o] Error 1 amd64: http://launchpadlibrarian.net/19932632/buildlog_ubuntu-jaunty-amd64.metacity_1%3A2.25.8-0ubuntu1_FAILEDTOBUILD.txt.gz cc1: warnings being treated as errors core/xprops.c: In function 'wm_hints_from_results': core/xprops.c:729: error: signed and unsigned type in conditional expression core/xprops.c:732: error: signed and unsigned type in conditional expression core/xprops.c:733: error: signed and unsigned type in conditional expression core/xprops.c: In function 'size_hints_from_results': core/xprops.c:853: error: signed and unsigned type in conditional expression core/xprops.c:854: error: signed and unsigned type in conditional expression core/xprops.c:855: error: signed and unsigned type in conditional expression core/xprops.c:856: error: signed and unsigned type in conditional expression core/xprops.c:857: error: signed and unsigned type in conditional expression core/xprops.c:858: error: signed and unsigned type in conditional expression core/xprops.c:859: error: signed and unsigned type in conditional expression core/xprops.c:860: error: signed and unsigned type in conditional expression core/xprops.c:861: error: signed and unsigned type in conditional expression core/xprops.c:862: error: signed and unsigned type in conditional expression core/xprops.c:863: error: signed and unsigned type in conditional expression core/xprops.c:864: error: signed and unsigned type in conditional expression core/xprops.c:865: error: signed and unsigned type in conditional expression core/xprops.c:866: error: signed and unsigned type in conditional expression core/xprops.c:871: error: signed and unsigned type in conditional expression core/xprops.c:872: error: signed and unsigned type in conditional expression core/xprops.c:873: error: signed and unsigned type in conditional expression make[5]: *** [xprops.o] Error 1
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 562196 ***
the failue on armel as quoted above still persists in 2.25.13 (and in fact the patch in 562196 doesnt seem to touch core/async-getprop.c at all so this bug here seems to be only partially a duplicate ...) sparc: https://launchpad.net/ubuntu/+source/metacity/1:2.25.13-0ubuntu1/+build/798025/+files/buildlog_ubuntu-jaunty-sparc.metacity_1:2.25.13-0ubuntu1_FAILEDTOBUILD.txt.gz armel: https://launchpad.net/ubuntu/+source/metacity/1:2.25.13-0ubuntu1/+build/798019/+files/buildlog_ubuntu-jaunty-armel.metacity_1:2.25.13-0ubuntu1_FAILEDTOBUILD.txt.gz ia64: https://launchpad.net/ubuntu/+source/metacity/1:2.25.13-0ubuntu1/+build/798022/+files/buildlog_ubuntu-jaunty-ia64.metacity_1:2.25.13-0ubuntu1_FAILEDTOBUILD.txt.gz