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 562106 - build error on x86_64
build error on x86_64
Status: RESOLVED DUPLICATE of bug 562196
Product: metacity
Classification: Other
Component: general
2.25.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2008-11-24 10:24 UTC by Götz Waschk
Modified: 2008-11-27 13:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Götz Waschk 2008-11-24 10:24:26 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
Comment 1 Pedro Fragoso 2008-11-25 14:01:51 UTC
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
Comment 2 Thomas Thurman 2008-11-25 21:36:41 UTC
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 ***