Build (actually tests) failure on arm
1/28 babl_class_name OK 0.17s
2/28 cmyk OK 0.16s
3/28 chromaticities OK 0.16s
4/28 extract OK 0.15s
5/28 cairo_cmyk_hack FAIL 0.17s (exit status 255 or signal 127 SIGinvalid)
>>> BABL_PATH=/home/iurt/rpmbuild/BUILD/babl-0.1.90/build/extensions MALLOC_PERTURB_=92 /home/iurt/rpmbuild/BUILD/babl-0.1.90/build/tests/cairo_cmyk_hack
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
../babl/babl-internal.h:222 babl_fatal()
babl_format("cairo-ACYK32"): not found
sh: line 1: gdb: command not found
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
6/28 cairo-RGB24 FAIL 0.17s (exit status 255 or signal 127 SIGinvalid)
>>> MALLOC_PERTURB_=87 BABL_PATH=/home/iurt/rpmbuild/BUILD/babl-0.1.90/build/extensions /home/iurt/rpmbuild/BUILD/babl-0.1.90/build/tests/cairo-RGB24
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
../babl/babl-internal.h:222 babl_fatal()
babl_format("cairo-RGB24"): not found
sh: line 1: gdb: command not found
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
7/28 floatclamp OK 0.15s
8/28 format_with_space FAIL 0.15s (exit status 255 or signal 127 SIGinvalid)
>>> BABL_PATH=/home/iurt/rpmbuild/BUILD/babl-0.1.90/build/extensions MALLOC_PERTURB_=166 /home/iurt/rpmbuild/BUILD/babl-0.1.90/build/tests/format_with_space
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
../babl/babl-internal.h:222 babl_fatal()
babl_format("CIE Lab float"): not found
sh: line 1: gdb: command not found
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
9/28 hsl OK 0.14s
10/28 hsva OK 0.14s
11/28 grayscale_to_rgb OK 0.16s
12/28 n_components_cast OK 0.14s
13/28 models OK 0.15s
14/28 nop OK 0.14s
15/28 rgb_to_bgr OK 0.14s
16/28 rgb_to_ycbcr OK 0.14s
17/28 sanity OK 0.14s
18/28 float-to-8bit OK 0.21s
19/28 transparent OK 0.14s
20/28 srgb_to_lab_u8 FAIL 0.15s (exit status 255 or signal 127 SIGinvalid)
>>> BABL_PATH=/home/iurt/rpmbuild/BUILD/babl-0.1.90/build/extensions MALLOC_PERTURB_=167 /home/iurt/rpmbuild/BUILD/babl-0.1.90/build/tests/srgb_to_lab_u8
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
../babl/babl-internal.h:222 babl_fatal()
babl_format("CIE Lab u8"): not found
sh: line 1: gdb: command not found
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
21/28 alpha_symmetric_transform OK 0.14s
22/28 types OK 0.14s
23/28 concurrency-stress-test OK 0.14s
24/28 xyz_to_lab FAIL 0.15s (exit status 255 or signal 127 SIGinvalid)
>>> BABL_PATH=/home/iurt/rpmbuild/BUILD/babl-0.1.90/build/extensions MALLOC_PERTURB_=67 /home/iurt/rpmbuild/BUILD/babl-0.1.90/build/tests/xyz_to_lab
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
../babl/babl-internal.h:222 babl_fatal()
babl_format("CIE XYZ float"): not found
sh: line 1: gdb: command not found
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
25/28 conversions FAIL 0.39s (exit status 255 or signal 127 SIGinvalid)
>>> BABL_PATH=/home/iurt/rpmbuild/BUILD/babl-0.1.90/build/extensions MALLOC_PERTURB_=234 /home/iurt/rpmbuild/BUILD/babl-0.1.90/build/tests/conversions
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
babl: WARNING lacking conversion path for Y' u8 to RaGaBaA float
babl: WARNING lacking conversion path for Y u8 to RaGaBaA float
babl: WARNING lacking conversion path for R'G'B'A u8 to RaGaBaA float
/home/iurt/rpmbuild/BUILD/babl-0.1.90/build/extensions/simple.so 0: R'G'B'A float to R'G'B'A u8 error:0.000000 cost:4233.000000
babl: found 1 step conversion for R'G'B'A float to R'G'B'A u8
babl: WARNING lacking conversion path for R'G'B'A float to R'G'B' u8
/home/iurt/rpmbuild/BUILD/babl-0.1.90/build/extensions/gimp-8bit.so 0: R'G'B'A u8 to RGBA float error:0.000000 cost:378.000000
babl: found 1 step conversion for R'G'B'A u8 to RGBA float
babl: WARNING lacking conversion path for RGBA float to R'G'B'A u8
babl: WARNING lacking conversion path for RGBA float to R'G'B'A float
babl: WARNING lacking conversion path for Y' u8 to R'G'B' u8
/home/iurt/rpmbuild/BUILD/babl-0.1.90/build/extensions/simple.so 0: Y u8 to Y float error:0.000000 cost:783.000000
/home/iurt/rpmbuild/BUILD/babl-0.1.90/build/extensions/gggl-table-lies.so 0: Y u8 to Y float error:0.000000 cost:87.000000
/home/iurt/rpmbuild/BUILD/babl-0.1.90/build/extensions/gimp-8bit.so 0: Y u8 to Y float error:0.000000 cost:87.000000
babl: found 1 step conversion for Y u8 to Y float
../babl/babl-internal.h:222 babl_fatal()
babl_format("cairo-RGB24"): not found
sh: line 1: gdb: command not found
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
26/28 palette OK 0.56s
27/28 n_components OK 0.73s
28/28 palette-concurrency-stress-test OK 0.66s
Summary of Failures:
5/28 cairo_cmyk_hack FAIL 0.17s (exit status 255 or signal 127 SIGinvalid)
6/28 cairo-RGB24 FAIL 0.17s (exit status 255 or signal 127 SIGinvalid)
8/28 format_with_space FAIL 0.15s (exit status 255 or signal 127 SIGinvalid)
20/28 srgb_to_lab_u8 FAIL 0.15s (exit status 255 or signal 127 SIGinvalid)
24/28 xyz_to_lab FAIL 0.15s (exit status 255 or signal 127 SIGinvalid)
25/28 conversions FAIL 0.39s (exit status 255 or signal 127 SIGinvalid)
Ok: 22
Expected Fail: 0
Fail: 6
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Due to this babl is still at 0.1.88 on Mageia for arm, and I see Debian also is still at 0.1.88 on arm ( https://packages.debian.org/sid/libbabl-0.1-0). However it seems Fedora had no problem building 1.1.90 on armv7hl (maybe they use (virtual?) CPUs without neon).
My guess would be this could be due to ef3a19a4 adding BABL_VERIFY_CPU();
in the init()
of cairo.c and CIE.c causing the errors babl_format("CIE XYZ float"): not found
and babl_format("cairo-RGB24"): not found
but I don't really understand how things are supposed to work.