Package: libpolyxmass
Version: 0.8.7-1
Severity: normal
Tags: patch
When building 'libpolyxmass' 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 `/libpolyxmass-0.8.7/intl'
This happens because gcc-4.0 has some stricter warnings and '-Werror' is
specified in debian/rules. This causes the 'uintmax_t' detection in the
'configure' script to fail as follows:
configure:21231: result: no
configure:21242: checking for stdint.h
configure:21264: x86_64-linux-gcc -c -g -Wall -Werror -D_REENTRANT -O2
conftest.c >&5
cc1: warnings being treated as errors
conftest.c: In function 'main':
conftest.c:39: warning: unused variable 'i'
configure:21270: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "libpolyxmass"
[...]
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <stdint.h>
| int
| main ()
| {
| uintmax_t i = (uintmax_t) -1;
| ;
| return 0;
| }
There are also some warnings about pointer types in the sources which
cause the compilation to fail.
Please disable '-Werror' until those warnings have been fixed.
Regards
Andreas Jochens
diff -urN ../tmp-orig/libpolyxmass-0.8.7/debian/rules ./debian/rules
--- ../tmp-orig/libpolyxmass-0.8.7/debian/rules 2005-04-09 09:45:29.655265711
+0200
+++ ./debian/rules 2005-04-09 09:44:39.936906649 +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]