Bug#799888: libfont-freetype-perl: FTBFS on many architectures

Niko Tyni ntyni at debian.org
Wed Sep 23 20:16:58 UTC 2015


On Wed, Sep 23, 2015 at 07:41:09PM +0100, Edmund Grimley Evans wrote:
> Source: libfont-freetype-perl
> Version: 0.06-1
 
> It's failing to build on architectures with plain char unsigned:

> https://sources.debian.net/src/libfont-freetype-perl/0.06-1/FreeType.xs/
> might be the implementation of how the char is converted:
> 
> char_code = *str;
> 
> If that's it, it's no surprise that it doesn't work on non-ASCII
> characters. Presumably the tests pass by accident on architectures
> where plain char is signed.

Indeed, I can confirm this. Changing str to an explicit signed char * makes
the test suite pass on ppc64el, but that does seem accidental to me too.

> You could just disable the failing tests, though it probably wouldn't
> be hard to make glyph_from_char work properly.

Agreed.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list