Package: polyxmass-bin
Version: 0.8.7-1
Severity: normal
Tags: patch

When building 'polyxmass-bin' on amd64/unstable with gcc-4.0,
I get the following error:

x86_64-linux-gcc -c -DLOCALEDIR=\"/usr/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DIN_LIBINTL 
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/lib\" -DNO_XMALLOC 
-Dset_relocation_prefix=libintl_set_relocation_prefix 
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. 
-I..  -g -Wall -Werror -D_REENTRANT -O2  loadmsgcat.c
In file included from /usr/include/inttypes.h:28,
                 from loadmsgcat.c:84:
/usr/include/stdint.h:136: error: duplicate 'unsigned'
/usr/include/stdint.h:136: error: 'long long long' is too long for GCC
make[3]: *** [loadmsgcat.o] Error 1
make[3]: Leaving directory `/polyxmass-bin-0.8.7/intl'


This is due to the use of '-Werror' which makes the configure check
for 'uintmax_t' fail because of an 'unused variable' warning.

There are also a lot of warnings which prevent compilation with gcc-4.0,
e.g. 

cc1: warnings being treated as errors
polyxedit-ui-seqed-wnd.c: In function 'polyxedit_seqed_wnd_setup':
polyxedit-ui-seqed-wnd.c:76: warning: passing argument 4 of 'g_assert_warning' 
discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:79: warning: passing argument 4 of 'g_assert_warning' 
discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:128: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:143: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:151: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:159: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:175: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:183: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:198: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:228: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:241: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:247: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:253: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:289: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:320: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:410: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:473: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 'polyxedit_seqed_wnd_render_polseq':
polyxedit-ui-seqed-wnd.c:615: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:618: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 
'polyxedit_seqed_wnd_update_LR_end_modif_state':
polyxedit-ui-seqed-wnd.c:691: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:694: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:708: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:731: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 
'polyxedit_seqed_wnd_render_polseq_monicons':
polyxedit-ui-seqed-wnd.c:786: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:790: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:793: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:841: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 
'polyxedit_seqed_wnd_set_polymer_modified':
polyxedit-ui-seqed-wnd.c:936: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:939: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 
'polyxedit_seqed_wnd_ensure_region_visible':
polyxedit-ui-seqed-wnd.c:977: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:980: warning: passing argument 4 of 
'g_assert_warning'discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 
'polyxedit_seqed_wnd_ensure_select_cursor_visible':
polyxedit-ui-seqed-wnd.c:1082: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:1092: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 'polyxedit_seqed_wnd_redraw_sequence':
polyxedit-ui-seqed-wnd.c:1241: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:1243: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:1266: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 'polyxedit_seqed_wnd_draw_cursor':
polyxedit-ui-seqed-wnd.c:1443: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 'polyxedit_seqed_wnd_draw_sel_polygon':
polyxedit-ui-seqed-wnd.c:1510: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 'polyxedit_seqed_wnd_update_sel_polygon':
polyxedit-ui-seqed-wnd.c:1788: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 'polyxedit_seqed_wnd_setup_monomer_flag':
polyxedit-ui-seqed-wnd.c:2052: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:2063: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 'polyxedit_seqed_wnd_update_monomer_flag':
polyxedit-ui-seqed-wnd.c:2170: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:2173: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:2218: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:2229: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 
'polyxedit_seqed_wnd_monicon_get_pixel_coord':
polyxedit-ui-seqed-wnd.c:2493: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:2495: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c:2496: warning: passing argument 4 of 
'g_assert_warning' discards qualifiers from pointer target type
polyxedit-ui-seqed-wnd.c: In function 'polyxedit_seqed_wnd_get_mnm_idx_with_xy':
polyxedit-ui-seqed-wnd.c:2647: warn
[...]

Please remove '-Werror' from CFLAGS in debian/rules until these warnings
have been fixed.

Regards
Andreas Jochens

diff -urN ../tmp-orig/polyxmass-bin-0.8.7/debian/rules ./debian/rules
--- ../tmp-orig/polyxmass-bin-0.8.7/debian/rules        2005-04-09 
10:34:05.049632414 +0200
+++ ./debian/rules      2005-04-09 10:33:08.758681446 +0200
@@ -6,7 +6,7 @@
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 
-CFLAGS = -g -Wall -Werror -D_REENTRANT
+CFLAGS = -g -Wall -D_REENTRANT
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to