8 tests failing during make check with floating point exceptions
Scott Capps <[email protected]> Mon, 6 May 2019 08:35:51 -0700
| Newsgroups | gmane.comp.graphics.png.devel |
|---|---|
| Message-ID | <CA+r2P-xyyE9fG-RbfCRLGdvkOZAFOU=t76-+J-9Xt8MVJ5FvPA@mail.gmail.com> |
Greetings,
I am trying to install libpng 1.6.37 on a CentOS 7 machine and am failing
some tests when running make check (see below).
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-957.10.1.el7.x86_64
Architecture: x86-64
I am using Intel compilers.
./test-suite.log contents:
=====================================
libpng 1.6.37: ./test-suite.log
=====================================
# TOTAL: 33
# PASS: 25
# SKIP: 0
# XFAIL: 0
# FAIL: 8
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: tests/pngvalid-gamma-alpha-mode
=====================================
Gamma correction with alpha mode:
8 bit gray: 0.49933
pngvalid: pngvalid: gamma 0.455->2.200 alpha(Porter-Duff): caught signal:
floating point exception
pngvalid: 1 errors, 0 warnings
FAIL: pngvalid --strict --gamma-alpha-mode (floating point arithmetic)
FAIL tests/pngvalid-gamma-alpha-mode (exit status: 1)
FAIL: tests/pngvalid-gamma-background
=====================================
Gamma correction with background:
8 bit gray: 0.49933
pngvalid: pngvalid: gamma 0.455->2.200 bckg(Unique):(34215)^0.885: caught
signal: floating point exception
pngvalid: 1 errors, 0 warnings
FAIL: pngvalid --strict --gamma-background (floating point arithmetic)
FAIL tests/pngvalid-gamma-background (exit status: 1)
FAIL: tests/pngvalid-gamma-expand16-alpha-mode
==============================================
Gamma correction with alpha mode:
8 bit gray: 128.32752
pngvalid: pngvalid: gamma 0.455->2.200 alpha(Porter-Duff): caught signal:
floating point exception
pngvalid: 1 errors, 0 warnings
FAIL: pngvalid --strict --gamma-alpha-mode --expand16 (floating point
arithmetic)
FAIL tests/pngvalid-gamma-expand16-alpha-mode (exit status: 1)
FAIL: tests/pngvalid-gamma-expand16-background
==============================================
Gamma correction with background:
8 bit gray: 128.32752
pngvalid: pngvalid: gamma 0.455->2.200 bckg(Unique):(15677)^0.885: caught
signal: floating point exception
pngvalid: 1 errors, 0 warnings
FAIL: pngvalid --strict --gamma-background --expand16 (floating point
arithmetic)
FAIL tests/pngvalid-gamma-expand16-background (exit status: 1)
FAIL: tests/pngvalid-gamma-expand16-transform
=============================================
Gamma correction error summary
The printed value is the maximum error in the pixel values
calculated by the libpng gamma correction code. The error
is calculated as the difference between the output pixel
value (always an integer) and the ideal value from the
libpng specification (typically not an integer).
Expect this value to be less than .5 for 8 bit formats,
less than 1 for formats with fewer than 8 bits and a small
number (typically less than 5) for the 16 bit formats.
For performance reasons the value for 16 bit formats
increases when the image file includes an sBIT chunk.
Basic gamma correction:
2 bit gray: 127.07023
4 bit gray: 127.07023
8 bit gray: 128.32752
pngvalid: pngvalid: gamma 0.455->1.000: caught signal: floating point
exception
pngvalid: 1 errors, 0 warnings
FAIL: pngvalid --strict --gamma-transform --expand16 (floating point
arithmetic)
FAIL tests/pngvalid-gamma-expand16-transform (exit status: 1)
FAIL: tests/pngvalid-gamma-sbit
===============================
Gamma correction with sBIT:
pngvalid: pngvalid: sbit(8) 0.455->1.000: caught signal: floating point
exception
pngvalid: 1 errors, 0 warnings
FAIL: pngvalid --strict --gamma-sbit (floating point arithmetic)
FAIL tests/pngvalid-gamma-sbit (exit status: 1)
FAIL: tests/pngvalid-gamma-transform
====================================
Gamma correction error summary
The printed value is the maximum error in the pixel values
calculated by the libpng gamma correction code. The error
is calculated as the difference between the output pixel
value (always an integer) and the ideal value from the
libpng specification (typically not an integer).
Expect this value to be less than .5 for 8 bit formats,
less than 1 for formats with fewer than 8 bits and a small
number (typically less than 5) for the 16 bit formats.
For performance reasons the value for 16 bit formats
increases when the image file includes an sBIT chunk.
Basic gamma correction:
2 bit gray: 0.50495
4 bit gray: 0.81888
8 bit gray: 0.49933
pngvalid: pngvalid: gamma 0.455->1.000: caught signal: floating point
exception
pngvalid: 1 errors, 0 warnings
FAIL: pngvalid --strict --gamma-transform (floating point arithmetic)
FAIL tests/pngvalid-gamma-transform (exit status: 1)
FAIL: tests/pngvalid-transform
==============================
pngvalid: pngvalid: transform: +rgb_to_gray^0.38168: caught signal:
floating point exception
pngvalid: 1 errors, 0 warnings
FAIL: pngvalid --strict --transform (floating point arithmetic)
FAIL tests/pngvalid-transform (exit status: 1)
--
*Scott Capps*
Principal
Atmospheric Data Solutions <http://www.atmosphericdatasolutions.com>
[email protected]
cell: (949) 910-4385
_______________________________________________
png-mng-implement mailing list
png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/png-mng-implement