Package: uim
Severity: serious

Hi

Your package fails to build (on a couple of architectures, one of them
being alpha) with:

In file included from uim-scm.c:57:
slib.c: In function 'get_user_type_hooks':
slib.c:548: warning: cast increases required alignment of target type
slib.c: In function 'gc_protect_n':
slib.c:2313: warning: cast increases required alignment of target type
slib.c: In function 'init_storage_1':
slib.c:2580: warning: cast increases required alignment of target type
slib.c:2583: warning: cast increases required alignment of target type
slib.c:2591: warning: cast increases required alignment of target type
slib.c:2621: warning: cast increases required alignment of target type
slib.c: In function 'allocate_aheap':
slib.c:2742: warning: cast increases required alignment of target type
slib.c: In function 'gc_mark_and_sweep':
slib.c:2976: warning: cast increases required alignment of target type

This is because of the CFLAGS '-Wcast-align -Werror' and must_malloc
that returns a char* that gets casted to the type one wants to allocate
memory for.

One of the solutions (tested on escher.debian.org) to make it build
again is to remove the --enable-debug in debian/rules as that option
introduces -Werror in the CFLAGS. I'm not sure it will run ok if you
have this warnings in the build process though?

Cheers

Luk

-- 
Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D
Fingerprint:   D5AF 25FB 316B 53BB 08E7   F999 E544 DE07 9B7C 328D

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to