[Pkg-e-devel] Bug#672985: FTBFS: test suite makes assumptions of signed char

shawn shawn at jengr.tk
Tue May 15 08:47:48 UTC 2012


Source: eina
Version: 1.2.0
Severity: serious
Tags: upstream patch
Justification: fails to build from source (but built successfully in the past)

This package makes a few assumptions which prevent it from being built on architectures
which have an unsigned char.

I am attaching a patch to fix one of these, but this second one, I am not positive what
is being attempted. This test is failing on the cast from a EINA_VALUE_TYPE_TIMEVAL
to EINA_VALUE_TYPE_CHAR:

START_TEST(eina_value_test_timeval)
{
   Eina_Value *value, other;
   struct timeval itv, otv;
   char c;
   char *str;

   eina_init();

   value = eina_value_new(EINA_VALUE_TYPE_TIMEVAL);
   fail_unless(value != NULL);

....

   fail_unless(eina_value_setup(&other, EINA_VALUE_TYPE_CHAR));
   fail_unless(eina_value_convert(value, &other));
   fail_unless(eina_value_get(&other, &c));
   fail_unless(c == 2);
   eina_value_flush(&other);


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable-grip
  APT policy: (200, 'unstable-grip'), (101, 'unstable'), (100, 'experimental')
Architecture: armel (armv5tel)

Kernel: Linux 3.4.0-rc4-tomoyo-00002-gf203d42 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-signed-char-assumption-in-test-suite.patch
Type: text/x-diff
Size: 881 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-e-devel/attachments/20120515/870d8677/attachment.patch>


More information about the Pkg-e-devel mailing list