[Debian-astro-maintainers] Bug#893206: CPL not usable with Python on armhf and ppc64el

Aurelien Jarno aurelien at aurel32.net
Sun Jan 19 12:48:12 GMT 2020


On 2018-03-17 10:50, Ole Streicher wrote:
> Package: libcpl-dev
> Version: 7.1-1
> Severity: normal
> 
> On some platforms, notably armhf and ppc64el, one test fails:
> 
> [ ERROR ] Test 292 failed at esorex_json-test.c:808:
> |cpl_parameter_get_default_double(param8) -
> cpl_parameter_get_default_double(parsed_param8)| = |4.4 - 6.36599e-314|
> = |4.4| <= 2.22045e-16 = DBL_EPSILON.
> [ ERROR ] No error(s) to dump
> [ ERROR ] Test 293 failed at esorex_json-test.c:808:
> (cpl_parameter_get_enum_size(param8)) = 3;
> (cpl_parameter_get_enum_size(parsed_param8)) = 1.
> [ ERROR ] No error(s) to dump
> [ ERROR ] Test 294 failed at esorex_json-test.c:808:
> |cpl_parameter_get_enum_double(param8, n) -
> cpl_parameter_get_enum_double(parsed_param8, n)| = |1.1 - 1.97626e-323|
> = |1.1| <= 2.22045e-16 = DBL_EPSILON.
> [ ERROR ] No error(s) to dump
> [ ERROR ] Test 295 failed at esorex_json-test.c:808:
> |cpl_parameter_get_enum_double(param8, n) -
> cpl_parameter_get_enum_double(parsed_param8, n)| = |2.2 - 2.73737e-312|
> = |2.2| <= 2.22045e-16 = DBL_EPSILON.
> [ ERROR ] No error(s) to dump
> [ ERROR ] Test 296 failed at esorex_json-test.c:808:
> |cpl_parameter_get_enum_double(param8, n) -
> cpl_parameter_get_enum_double(parsed_param8, n)| = |4.4 - 1.25873e+93| =
> |-1.25873e+93| <= 2.22045e-16 = DBL_EPSILON.
> [ ERROR ] No error(s) to dump
> [ ERROR ] 5 of 617 test(s) failed
> 
> This happens with libffi as well as with libavcall. I will disable those
> tests, but they basically mean that Python recipes cannot be used with
> CPL on those platforms.

This is actually the same issue than the riscv64 one (#934081). Now that
the patch has been applied, these tests can be re-enabled on armhf and
ppc64el.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                 http://www.aurel32.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-astro-maintainers/attachments/20200119/491cea1f/attachment.sig>


More information about the Debian-astro-maintainers mailing list