Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.6.42: test sute fails in one unit #544

Closed
kloczek opened this issue Feb 4, 2024 · 39 comments
Closed

1.6.42: test sute fails in one unit #544

kloczek opened this issue Feb 4, 2024 · 39 comments

Comments

@kloczek
Copy link

kloczek commented Feb 4, 2024

Looks like with new version test suite started failing

+ cd libpng-1.6.42
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
rm -f scripts/symbols.out scripts/symbols.tf[12]
test -d scripts || mkdir scripts || test -d scripts
/usr/bin/gcc -E -DHAVE_CONFIG_H -I. \
     -DPNGLIB_LIBNAME='PNG16_0' -DPNGLIB_VERSION='1.6.42' -DSYMBOL_PREFIX='' -DPNG_NO_USE_READ_MACROS -DPNG_BUILDING_SYMBOL_TABLE  scripts/symbols.c > scripts/symbols.tf1
gawk -f "./scripts/dfn.awk" out="scripts/symbols.tf2" scripts/symbols.tf1 1>&2
rm -f scripts/symbols.tf1
mv scripts/symbols.tf2 scripts/symbols.out
rm -f scripts/symbols.chk scripts/symbols.new
gawk -f ./scripts/checksym.awk ./scripts/symbols.def\
    of="scripts/symbols.new" scripts/symbols.out >&2
mv scripts/symbols.new scripts/symbols.chk
/usr/bin/make  check-am
/usr/bin/make  pngtest pngunknown pngstest pngvalid pngimage pngcp timepng
make[2]: 'pngtest' is up to date.
make[2]: 'pngunknown' is up to date.
make[2]: 'pngstest' is up to date.
make[2]: 'pngvalid' is up to date.
make[2]: 'pngimage' is up to date.
make[2]: 'pngcp' is up to date.
make[2]: 'timepng' is up to date.
/usr/bin/make  check-TESTS
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngunknown-IDAT
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngunknown-if-safe
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngunknown-sAPI
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngunknown-discard
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngunknown-vpAg
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngunknown-sTER
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngunknown-save
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngimage-quick
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-gamma-16-to-8
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-progressive-interlace-standard
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-progressive-standard
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-standard
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-gamma-expand16-transform
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-gamma-threshold
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-gamma-background
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-gamma-transform
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-gamma-expand16-background
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-gamma-sbit
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-progressive-size
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-gamma-alpha-mode
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-gamma-expand16-alpha-mode
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngvalid-transform
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngstest-none-alpha
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngstest-linear-alpha
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngstest-sRGB-alpha
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngstest-linear
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngstest-1.8-alpha
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngstest-none
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngstest-sRGB
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngstest-1.8
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
FAIL: tests/pngtest-all
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
PASS: tests/pngimage-full
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
=====================================
   libpng 1.6.42: ./test-suite.log
=====================================

# TOTAL: 32
# PASS:  31
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/pngtest-all
=======================

=============== PNGTEST --strict ./pngtest.png ====================

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./pngtest.png:
   Text compression[0]=-1

 stereo mode = 1
 vpAg = 100 x 100, units = 0

   Text compression[0]=0
 eXIf type MM, 52 bytes

 Image width = 91, height = 69

Files ./pngtest.png and pngout.png are different
   Was ./pngtest.png written with the same maximum IDAT chunk size (8192 bytes),
   filtering heuristic (libpng default), compression level (zlib default),
   and zlib version (1.3.0.zlib-ng)?

 FAIL
 libpng FAILS test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
===============**FAIL** --strict ./pngtest.png ====================
=============== PNGTEST --relaxed ./contrib/testpngs/crashers/badcrc.png ====================

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/badcrc.png:
 Image width = 1, height = 1

Files ./contrib/testpngs/crashers/badcrc.png and pngout.png are different
   Was ./contrib/testpngs/crashers/badcrc.png written with the same maximum IDAT chunk size (8192 bytes),
   filtering heuristic (libpng default), compression level (zlib default),
   and zlib version (1.3.0.zlib-ng)?


 PASS (1 zero samples)
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --relaxed ./contrib/testpngs/crashers/badcrc.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/badadler.png ====================
libpng error: IDAT: incorrect data check

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/badadler.png:
./contrib/testpngs/crashers/badadler.png: libpng warning: IDAT: incorrect data check
./contrib/testpngs/crashers/badadler.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/badadler.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/bad_iCCP.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/bad_iCCP.png:
./contrib/testpngs/crashers/bad_iCCP.png: libpng warning: iCCP: profile ')c#': 700001D6h: exceeds application limits

./contrib/testpngs/crashers/bad_iCCP.png: libpng warning: Read Error
./contrib/testpngs/crashers/bad_iCCP.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/bad_iCCP.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/empty_ancillary_chunks.png ====================
libpng error: sTER: error in user chunk

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/empty_ancillary_chunks.png:
./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: bKGD: out of place

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: cHRM: invalid

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: eXIf: too short

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: gAMA: invalid

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: hIST: out of place

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: iCCP: too short

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: iTXt: bad keyword

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: pCAL: invalid

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: pHYs: invalid

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: sCAL: invalid

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: malformed sPLT chunk

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: sRGB: invalid

./contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: sTER: error in user chunk
./contrib/testpngs/crashers/empty_ancillary_chunks.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/empty_ancillary_chunks.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_bKGD_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_bKGD_chunk.png:
./contrib/testpngs/crashers/huge_bKGD_chunk.png: libpng warning: bKGD: chunk data is too large

./contrib/testpngs/crashers/huge_bKGD_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_bKGD_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_bKGD_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_cHRM_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_cHRM_chunk.png:
./contrib/testpngs/crashers/huge_cHRM_chunk.png: libpng warning: cHRM: chunk data is too large

./contrib/testpngs/crashers/huge_cHRM_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_cHRM_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_cHRM_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_eXIf_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_eXIf_chunk.png:
./contrib/testpngs/crashers/huge_eXIf_chunk.png: libpng warning: eXIf: chunk data is too large

./contrib/testpngs/crashers/huge_eXIf_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_eXIf_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_eXIf_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_gAMA_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_gAMA_chunk.png:
./contrib/testpngs/crashers/huge_gAMA_chunk.png: libpng warning: gAMA: chunk data is too large

./contrib/testpngs/crashers/huge_gAMA_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_gAMA_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_gAMA_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_hIST_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_hIST_chunk.png:
./contrib/testpngs/crashers/huge_hIST_chunk.png: libpng warning: hIST: chunk data is too large

./contrib/testpngs/crashers/huge_hIST_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_hIST_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_hIST_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_iCCP_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_iCCP_chunk.png:
./contrib/testpngs/crashers/huge_iCCP_chunk.png: libpng warning: iCCP: chunk data is too large

./contrib/testpngs/crashers/huge_iCCP_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_iCCP_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_iCCP_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_iTXt_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_iTXt_chunk.png:
./contrib/testpngs/crashers/huge_iTXt_chunk.png: libpng warning: iTXt: chunk data is too large

./contrib/testpngs/crashers/huge_iTXt_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_iTXt_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_iTXt_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_pCAL_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_pCAL_chunk.png:
./contrib/testpngs/crashers/huge_pCAL_chunk.png: libpng warning: pCAL: chunk data is too large

./contrib/testpngs/crashers/huge_pCAL_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_pCAL_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_pCAL_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_pHYs_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_pHYs_chunk.png:
./contrib/testpngs/crashers/huge_pHYs_chunk.png: libpng warning: pHYs: chunk data is too large

./contrib/testpngs/crashers/huge_pHYs_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_pHYs_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_pHYs_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_sCAL_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_sCAL_chunk.png:
./contrib/testpngs/crashers/huge_sCAL_chunk.png: libpng warning: sCAL: chunk data is too large

./contrib/testpngs/crashers/huge_sCAL_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_sCAL_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_sCAL_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_sPLT_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_sPLT_chunk.png:
./contrib/testpngs/crashers/huge_sPLT_chunk.png: libpng warning: sPLT: chunk data is too large

./contrib/testpngs/crashers/huge_sPLT_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_sPLT_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_sPLT_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_sRGB_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_sRGB_chunk.png:
./contrib/testpngs/crashers/huge_sRGB_chunk.png: libpng warning: sRGB: chunk data is too large

./contrib/testpngs/crashers/huge_sRGB_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_sRGB_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_sRGB_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_sTER_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_sTER_chunk.png:
./contrib/testpngs/crashers/huge_sTER_chunk.png: libpng warning: sTER: chunk data is too large

./contrib/testpngs/crashers/huge_sTER_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_sTER_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_sTER_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_tEXt_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_tEXt_chunk.png:
./contrib/testpngs/crashers/huge_tEXt_chunk.png: libpng warning: tEXt: chunk data is too large

./contrib/testpngs/crashers/huge_tEXt_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_tEXt_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_tEXt_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_tIME_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_tIME_chunk.png:
./contrib/testpngs/crashers/huge_tIME_chunk.png: libpng warning: tIME: chunk data is too large

./contrib/testpngs/crashers/huge_tIME_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_tIME_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_tIME_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_zTXt_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_zTXt_chunk.png:
./contrib/testpngs/crashers/huge_zTXt_chunk.png: libpng warning: zTXt: chunk data is too large

./contrib/testpngs/crashers/huge_zTXt_chunk.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_zTXt_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_zTXt_chunk.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png:
./contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png: libpng warning: juNK: chunk data is too large

./contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_juNk_safe_to_copy.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_juNk_safe_to_copy.png:
./contrib/testpngs/crashers/huge_juNk_safe_to_copy.png: libpng warning: juNk: chunk data is too large

./contrib/testpngs/crashers/huge_juNk_safe_to_copy.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_juNk_safe_to_copy.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_juNk_safe_to_copy.png ====================
=============== PNGTEST --xfail ./contrib/testpngs/crashers/huge_IDAT.png ====================
libpng error: Read Error

 Testing libpng version 1.6.42
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10641): libpng version 1.6.42

 pngtest (10641): libpng version 1.6.42

 Testing ./contrib/testpngs/crashers/huge_IDAT.png:
./contrib/testpngs/crashers/huge_IDAT.png: libpng warning: IDAT: chunk data is too large

./contrib/testpngs/crashers/huge_IDAT.png: libpng warning: Read Error
./contrib/testpngs/crashers/huge_IDAT.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail ./contrib/testpngs/crashers/huge_IDAT.png ====================
=============== PNGTEST ./contrib/testpngs/badpal/regression-palette-8.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.42
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10641): libpng version 1.6.42

pngtest (10641): libpng version 1.6.42

Testing ./contrib/testpngs/badpal/regression-palette-8.png:
./contrib/testpngs/badpal/regression-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/regression-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/regression-palette-8.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/regression-palette-8.png: FAIL

Testing ./contrib/testpngs/badpal/regression-palette-8.png:
Pass 0: rw
./contrib/testpngs/badpal/regression-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/regression-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/regression-palette-8.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/regression-palette-8.png: FAIL

Testing ./contrib/testpngs/badpal/regression-palette-8.png:
./contrib/testpngs/badpal/regression-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/regression-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/regression-palette-8.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) ./contrib/testpngs/badpal/regression-palette-8.png ====================
=============== PNGTEST ./contrib/testpngs/badpal/small-palette-1.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.42
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10641): libpng version 1.6.42

pngtest (10641): libpng version 1.6.42

Testing ./contrib/testpngs/badpal/small-palette-1.png:
./contrib/testpngs/badpal/small-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-1.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/small-palette-1.png: FAIL

Testing ./contrib/testpngs/badpal/small-palette-1.png:
Pass 0: rw
./contrib/testpngs/badpal/small-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-1.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/small-palette-1.png: FAIL

Testing ./contrib/testpngs/badpal/small-palette-1.png:
./contrib/testpngs/badpal/small-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-1.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) ./contrib/testpngs/badpal/small-palette-1.png ====================
=============== PNGTEST ./contrib/testpngs/badpal/small-palette-2.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.42
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10641): libpng version 1.6.42

pngtest (10641): libpng version 1.6.42

Testing ./contrib/testpngs/badpal/small-palette-2.png:
./contrib/testpngs/badpal/small-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-2.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/small-palette-2.png: FAIL

Testing ./contrib/testpngs/badpal/small-palette-2.png:
Pass 0: rw
./contrib/testpngs/badpal/small-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-2.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/small-palette-2.png: FAIL

Testing ./contrib/testpngs/badpal/small-palette-2.png:
./contrib/testpngs/badpal/small-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-2.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) ./contrib/testpngs/badpal/small-palette-2.png ====================
=============== PNGTEST ./contrib/testpngs/badpal/small-palette-4.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.42
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10641): libpng version 1.6.42

pngtest (10641): libpng version 1.6.42

Testing ./contrib/testpngs/badpal/small-palette-4.png:
./contrib/testpngs/badpal/small-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-4.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/small-palette-4.png: FAIL

Testing ./contrib/testpngs/badpal/small-palette-4.png:
Pass 0: rw
./contrib/testpngs/badpal/small-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-4.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/small-palette-4.png: FAIL

Testing ./contrib/testpngs/badpal/small-palette-4.png:
./contrib/testpngs/badpal/small-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-4.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) ./contrib/testpngs/badpal/small-palette-4.png ====================
=============== PNGTEST ./contrib/testpngs/badpal/small-palette-8.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.42
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10641): libpng version 1.6.42

pngtest (10641): libpng version 1.6.42

Testing ./contrib/testpngs/badpal/small-palette-8.png:
./contrib/testpngs/badpal/small-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-8.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/small-palette-8.png: FAIL

Testing ./contrib/testpngs/badpal/small-palette-8.png:
Pass 0: rw
./contrib/testpngs/badpal/small-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-8.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/small-palette-8.png: FAIL

Testing ./contrib/testpngs/badpal/small-palette-8.png:
./contrib/testpngs/badpal/small-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/small-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/small-palette-8.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) ./contrib/testpngs/badpal/small-palette-8.png ====================
=============== PNGTEST ./contrib/testpngs/badpal/test-palette-1.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.42
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10641): libpng version 1.6.42

pngtest (10641): libpng version 1.6.42

Testing ./contrib/testpngs/badpal/test-palette-1.png:
./contrib/testpngs/badpal/test-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-1.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/test-palette-1.png: FAIL

Testing ./contrib/testpngs/badpal/test-palette-1.png:
Pass 0: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrw
./contrib/testpngs/badpal/test-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-1.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/test-palette-1.png: FAIL

Testing ./contrib/testpngs/badpal/test-palette-1.png:
./contrib/testpngs/badpal/test-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-1.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) ./contrib/testpngs/badpal/test-palette-1.png ====================
=============== PNGTEST ./contrib/testpngs/badpal/test-palette-2.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.42
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10641): libpng version 1.6.42

pngtest (10641): libpng version 1.6.42

Testing ./contrib/testpngs/badpal/test-palette-2.png:
./contrib/testpngs/badpal/test-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-2.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/test-palette-2.png: FAIL

Testing ./contrib/testpngs/badpal/test-palette-2.png:
Pass 0: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrw
./contrib/testpngs/badpal/test-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-2.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/test-palette-2.png: FAIL

Testing ./contrib/testpngs/badpal/test-palette-2.png:
./contrib/testpngs/badpal/test-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-2.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) ./contrib/testpngs/badpal/test-palette-2.png ====================
=============== PNGTEST ./contrib/testpngs/badpal/test-palette-4.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.42
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10641): libpng version 1.6.42

pngtest (10641): libpng version 1.6.42

Testing ./contrib/testpngs/badpal/test-palette-4.png:
./contrib/testpngs/badpal/test-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-4.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/test-palette-4.png: FAIL

Testing ./contrib/testpngs/badpal/test-palette-4.png:
Pass 0: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrw
./contrib/testpngs/badpal/test-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-4.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/test-palette-4.png: FAIL

Testing ./contrib/testpngs/badpal/test-palette-4.png:
./contrib/testpngs/badpal/test-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-4.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) ./contrib/testpngs/badpal/test-palette-4.png ====================
=============== PNGTEST ./contrib/testpngs/badpal/test-palette-8.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.42
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.42
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10641): libpng version 1.6.42

pngtest (10641): libpng version 1.6.42

Testing ./contrib/testpngs/badpal/test-palette-8.png:
./contrib/testpngs/badpal/test-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-8.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/test-palette-8.png: FAIL

Testing ./contrib/testpngs/badpal/test-palette-8.png:
Pass 0: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
./contrib/testpngs/badpal/test-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-8.png -> pngout.png: libpng write error

Testing ./contrib/testpngs/badpal/test-palette-8.png: FAIL

Testing ./contrib/testpngs/badpal/test-palette-8.png:
./contrib/testpngs/badpal/test-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

./contrib/testpngs/badpal/test-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
./contrib/testpngs/badpal/test-palette-8.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) ./contrib/testpngs/badpal/test-palette-8.png ====================
FAIL tests/pngtest-all (exit status: 1)

============================================================================
Testsuite summary for libpng 1.6.42
============================================================================
# TOTAL: 32
# PASS:  31
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to png-mng-implement@lists.sourceforge.net
============================================================================
make[3]: *** [Makefile:1567: test-suite.log] Error 1
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42'
make[2]: *** [Makefile:1675: check-TESTS] Error 2
make[1]: *** [Makefile:2106: check-am] Error 2
make: *** [Makefile:2108: check] Error 2
@ctruta
Copy link
Member

ctruta commented Feb 4, 2024

Hello, and thank you for your report.

It appears that you are running your build after a libpng source upgrade in an already-configured environment. However, due to the recent changes in scripts/pnglibconf.dfa, you need to reconfigure.

You can verify the correct behaviour of a freshly-configured build by running

CI_MAKE="/usr/bin/make" CI_MAKE_FLAGS="-O -j48 V=1 VERBOSE=1" ./ci/ci_verify_configure.sh

@ctruta ctruta closed this as completed Feb 4, 2024
@kloczek
Copy link
Author

kloczek commented Feb 4, 2024

Here is output of that oneliner performed after build and before test suite execution
+ cd libpng-1.6.42
+ CI_MAKE=/usr/bin/make
+ CI_MAKE_FLAGS='-O -j48 V=1 VERBOSE=1'
+ ./ci/ci_verify_configure.sh
ci_verify_configure.sh: ## START OF CONFIGURATION ##
ci_verify_configure.sh: build arch: x86_64
ci_verify_configure.sh: build system: linux
ci_verify_configure.sh: source directory: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42
ci_verify_configure.sh: build directory: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/out/ci_verify_configure.linux.x86_64.build
ci_verify_configure.sh: install directory: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/out/ci_verify_configure.linux.x86_64.install
ci_verify_configure.sh: environment option: $CI_CONFIGURE_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_MAKE: '/usr/bin/make'
ci_verify_configure.sh: environment option: $CI_MAKE_FLAGS: '-O -j48 V=1 VERBOSE=1'
ci_verify_configure.sh: environment option: $CI_CC: 'cc'
ci_verify_configure.sh: environment option: $CI_CC_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_CPP: ''
ci_verify_configure.sh: environment option: $CI_CPP_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_AR: ''
ci_verify_configure.sh: environment option: $CI_RANLIB: ''
ci_verify_configure.sh: environment option: $CI_LD: ''
ci_verify_configure.sh: environment option: $CI_LD_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_SANITIZERS: ''
ci_verify_configure.sh: environment option: $CI_NO_TEST: ''
ci_verify_configure.sh: environment option: $CI_NO_INSTALL: ''
ci_verify_configure.sh: environment option: $CI_NO_CLEAN: ''
ci_verify_configure.sh: executable: $CI_MAKE: /usr/bin/make is /usr/bin/make
ci_verify_configure.sh: executable: $CI_CC: cc is /usr/bin/cc
ci_verify_configure.sh: ## END OF CONFIGURATION ##
ci_verify_configure.sh: ## START OF BUILD ##
ci_verify_configure.sh: executing: export CC=cc
ci_verify_configure.sh: executing: mkdir -p /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/out/ci_verify_configure.linux.x86_64.build
ci_verify_configure.sh: executing: cd /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/out/ci_verify_configure.linux.x86_64.build
ci_verify_configure.sh: executing: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/configure --prefix=/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/out/ci_verify_configure.linux.x86_64.install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: error: source directory already configured; run "make distclean" there first
details of the build procedure
%prep
%autosetup -p1

%__cp %{S:1} .

%build
autoreconf -fiv
%configure \
        --disable-static \
        --enable-hardware-optimizations \
        %{nil}
%make_build DFA_XTRA=pngusr.dfa

%install
%make_install

%check
CI_MAKE="/usr/bin/make" CI_MAKE_FLAGS="-O -j48 V=1 VERBOSE=1" ./ci/ci_verify_configure.sh
%make_build check
[tkloczko@pers-jacek SOURCES]$ cat pngusr.dfa
# However, the default defaults seem a tad too restrictive for general
# purpose use, so back them off a little.
setting USER_CHUNK_CACHE_MAX default 1000
setting USER_CHUNK_MALLOC_MAX default 1000000000

@ctruta
Copy link
Member

ctruta commented Feb 4, 2024

I just pushed a new commit to print a warning about what went wrong for you, @kloczek. Other users might run into the same issue, so the new warning that I've just added might give a heads-up about what's going on. See commit c9ac5bd.

Apparently, configure script refuses to run in an out-of-tree directory if there is an existing configuration in-tree. You can see it in this error message, last line from your log:

configure: error: source directory already configured; run "make distclean" there first

You still have the old configuration, from the old libpng in the same directory, and your build process is picking that up. You must delete the old (incompatible) configuration before you recreate a new one:

$ cd /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/
$ make distclean

@kloczek
Copy link
Author

kloczek commented Feb 6, 2024

I just pushed a new commit to print a warning about what went wrong for you, @kloczek. Other users might run into the same issue, so the new warning that I've just added might give a heads-up about what's going on. See commit c9ac5bd.

Here is the result (which is exactly te same)
+ cd libpng-1.6.42
+ CI_MAKE=/usr/bin/make
+ CI_MAKE_FLAGS='-O -j48 V=1 VERBOSE=1'
+ ./ci/ci_verify_configure.sh
ci_verify_configure.sh: ## START OF CONFIGURATION ##
ci_verify_configure.sh: build arch: x86_64
ci_verify_configure.sh: build system: linux
ci_verify_configure.sh: source directory: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42
ci_verify_configure.sh: build directory: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/out/ci_verify_configure.linux.x86_64.build
ci_verify_configure.sh: install directory: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/out/ci_verify_configure.linux.x86_64.install
ci_verify_configure.sh: environment option: $CI_CONFIGURE_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_MAKE: '/usr/bin/make'
ci_verify_configure.sh: environment option: $CI_MAKE_FLAGS: '-O -j48 V=1 VERBOSE=1'
ci_verify_configure.sh: environment option: $CI_CC: 'cc'
ci_verify_configure.sh: environment option: $CI_CC_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_CPP: ''
ci_verify_configure.sh: environment option: $CI_CPP_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_AR: ''
ci_verify_configure.sh: environment option: $CI_RANLIB: ''
ci_verify_configure.sh: environment option: $CI_LD: ''
ci_verify_configure.sh: environment option: $CI_LD_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_SANITIZERS: ''
ci_verify_configure.sh: environment option: $CI_NO_TEST: ''
ci_verify_configure.sh: environment option: $CI_NO_INSTALL: ''
ci_verify_configure.sh: environment option: $CI_NO_CLEAN: ''
ci_verify_configure.sh: executable: $CI_MAKE: /usr/bin/make is /usr/bin/make
ci_verify_configure.sh: executable: $CI_CC: cc is /usr/bin/cc
ci_verify_configure.sh: ## END OF CONFIGURATION ##
ci_verify_configure.sh: ## START OF PRE-BUILD CHECKUP ##
ci_verify_configure.sh: executing: test \! -f /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/config.status
ci_verify_configure.sh: warning: unexpected build configuration file: '/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/config.status'
ci_verify_configure.sh: warning: the configure script might fail
ci_verify_configure.sh: ## END OF PRE-BUILD CHECKUP ##
ci_verify_configure.sh: ## START OF PRE-BUILD CLEANUP ##
ci_verify_configure.sh: ## END OF PRE-BUILD CLEANUP ##
ci_verify_configure.sh: ## START OF BUILD ##
ci_verify_configure.sh: executing: export CC=cc
ci_verify_configure.sh: executing: mkdir -p /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/out/ci_verify_configure.linux.x86_64.build
ci_verify_configure.sh: executing: cd /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/out/ci_verify_configure.linux.x86_64.build
ci_verify_configure.sh: executing: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/configure --prefix=/home/tkloczko/rpmbuild/BUILD/libpng-1.6.42/out/ci_verify_configure.linux.x86_64.install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: error: source directory already configured; run "make distclean" there first

Apparently, configure script refuses to run in an out-of-tree directory if there is an existing configuration in-tree. You can see it in this error message, last line from your log:

configure: error: source directory already configured; run "make distclean" there first

But when this needs to be executed?
My build current procedure

%prep
%autosetup -p1

%__cp %{S:1} .

%build
autoreconf -fiv
%configure \
        --disable-static \
        --enable-hardware-optimizations \
        %{nil}
%make_build DFA_XTRA=pngusr.dfa

%install
%make_install

%check
CI_MAKE="/usr/bin/make" CI_MAKE_FLAGS="-O -j48 V=1 VERBOSE=1" ./ci/ci_verify_configure.sh
%make_build check

You still have the old configuration, from the old libpng in the same directory, and your build process is picking that up. You must delete the old (incompatible) configuration before you recreate a new one:

How it is possible?
Does it mean that dist tarball comes with "old configuration"?🤔

Execution of the "make distclean" after confiture causes that build fails

+ cd libpng-1.6.42
+ autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I scripts/autoconf
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'scripts/autoconf'.
libtoolize: copying file 'scripts/autoconf/libtool.m4'
libtoolize: copying file 'scripts/autoconf/ltoptions.m4'
libtoolize: copying file 'scripts/autoconf/ltsugar.m4'
libtoolize: copying file 'scripts/autoconf/ltversion.m4'
libtoolize: copying file 'scripts/autoconf/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I scripts/autoconf
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:61: installing './compile'
configure.ac:37: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
+ ASMFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security'
+ CFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security'
+ CXXFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security'
+ FFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -I/usr/lib64/gfortran/modules'
+ FCFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -I/usr/lib64/gfortran/modules'
+ LDFLAGS='-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--gc-sections -Wl,--as-needed -Wl,--build-id=sha1 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,pack-relative-relocs -flto=auto -fuse-linker-plugin'
+ RUSTFLAGS='-C codegen-units=1 -C debuginfo=2 -C opt-level=2 -C link-arg=-Wl,--as-needed -C link-arg=-Wl,--build-id=sha1 -C link-arg=-Wl,-z,now -C link-arg=-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -C link-arg=-Wl,-z,pack-relative-relocs -C link-arg=-Wl,-z,relro -C link-arg=-flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --cap-lints=warn'
+ VALAFLAGS=-g
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export ASMFLAGS CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS VALAFLAGS CC CXX FC AR NM RANLIB RUSTFLAGS VALAFLAGS
+ ./configure --bindir=/usr/bin --build=x86_64-redhat-linux --datadir=/usr/share --disable-dependency-tracking --exec-prefix=/usr --host=x86_64-redhat-linux --includedir=/usr/include --infodir=/usr/share/info --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --mandir=/usr/share/man --prefix=/usr --program-prefix= --runstatedir=/run --sbindir=/usr/sbin --sharedstatedir=/var/lib --sysconfdir=/etc --disable-static --enable-hardware-optimizations
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-redhat-linux-gcc... /usr/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to enable C11 features... none needed
checking whether /usr/bin/gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /usr/bin/gcc... none
checking dependency style of /usr/bin/gcc... none
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by /usr/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/gcc-nm
checking the name lister (/usr/bin/gcc-nm) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-file... no
checking for file... file
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... /usr/bin/gcc-ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... /usr/bin/gcc-ranlib
checking command to parse /usr/bin/gcc-nm output from /usr/bin/gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC
checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/gcc static flag -static works... no
checking if /usr/bin/gcc supports -c -o file.o... yes
checking if /usr/bin/gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking that AWK works... ok
checking if we need to force back C standard to C89... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for C/C++ restrict keyword... __restrict__
checking for pow... no
checking for pow in -lm... yes
checking for clock_gettime... yes
checking for zlibVersion in -lz... yes
checking for feenableexcept in -lm... yes
checking for feenableexcept... yes
checking if using Solaris linker... no
checking if libraries can be versioned... yes
checking for symbol prefix...
configure: pkgconfig directory is ${libdir}/pkgconfig
checking whether to use loongarch LSX intrinsics... no
configure: WARNING: Compiler does not support loongarch LSX.
configure: Extra options for compiler:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpng.pc
config.status: creating libpng-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 distclean
 rm -f pngfix png-fix-itxt
test -z "*.tf? pngout.png libpng16.pc libpng16-config libpng.vers libpng.sym check.new pnglibconf.h pngprefix.h symbols.new pngtest-log.txt pnglibconf.out pnglibconf.c pnglibconf.pre pnglibconf.dfn scripts/*.out scripts/*.chk" || rm -f *.tf? pngout.png libpng16.pc libpng16-config libpng.vers libpng.sym check.new pnglibconf.h pngprefix.h symbols.new pngtest-log.txt pnglibconf.out pnglibconf.c pnglibconf.pre pnglibconf.dfn scripts/*.out scripts/*.chk
rm -f config.h stamp-h1
 rm -f pngtest pngunknown pngstest pngvalid pngimage pngcp timepng
rm -f libtool config.lt
rm -f *.lo
rm -f *.tab.c
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f cscope.out cscope.in.out cscope.po.out cscope.files
rm -rf .libs _libs
rm -rf arm/.libs arm/_libs
rm -rf intel/.libs intel/_libs
rm -rf loongarch/.libs loongarch/_libs
rm -rf mips/.libs mips/_libs
rm -rf powerpc/.libs powerpc/_libs
test -z "" || rm -f
test -z "libpng16.la" || rm -f libpng16.la
rm -f ./so_locations
test -z "tests/pngtest-all.log tests/pngvalid-gamma-16-to-8.log tests/pngvalid-gamma-alpha-mode.log tests/pngvalid-gamma-background.log tests/pngvalid-gamma-expand16-alpha-mode.log tests/pngvalid-gamma-expand16-background.log tests/pngvalid-gamma-expand16-transform.log tests/pngvalid-gamma-sbit.log tests/pngvalid-gamma-threshold.log tests/pngvalid-gamma-transform.log tests/pngvalid-progressive-size.log tests/pngvalid-progressive-interlace-standard.log tests/pngvalid-transform.log tests/pngvalid-progressive-standard.log tests/pngvalid-standard.log tests/pngstest-1.8.log tests/pngstest-1.8-alpha.log tests/pngstest-linear.log tests/pngstest-linear-alpha.log tests/pngstest-none.log tests/pngstest-none-alpha.log tests/pngstest-sRGB.log tests/pngstest-sRGB-alpha.log tests/pngunknown-IDAT.log tests/pngunknown-discard.log tests/pngunknown-if-safe.log tests/pngunknown-sAPI.log tests/pngunknown-sTER.log tests/pngunknown-save.log tests/pngunknown-vpAg.log tests/pngimage-quick.log tests/pngimage-full.log" || rm -f tests/pngtest-all.log tests/pngvalid-gamma-16-to-8.log tests/pngvalid-gamma-alpha-mode.log tests/pngvalid-gamma-background.log tests/pngvalid-gamma-expand16-alpha-mode.log tests/pngvalid-gamma-expand16-background.log tests/pngvalid-gamma-expand16-transform.log tests/pngvalid-gamma-sbit.log tests/pngvalid-gamma-threshold.log tests/pngvalid-gamma-transform.log tests/pngvalid-progressive-size.log tests/pngvalid-progressive-interlace-standard.log tests/pngvalid-transform.log tests/pngvalid-progressive-standard.log tests/pngvalid-standard.log tests/pngstest-1.8.log tests/pngstest-1.8-alpha.log tests/pngstest-linear.log tests/pngstest-linear-alpha.log tests/pngstest-none.log tests/pngstest-none-alpha.log tests/pngstest-sRGB.log tests/pngstest-sRGB-alpha.log tests/pngunknown-IDAT.log tests/pngunknown-discard.log tests/pngunknown-if-safe.log tests/pngunknown-sAPI.log tests/pngunknown-sTER.log tests/pngunknown-save.log tests/pngunknown-vpAg.log tests/pngimage-quick.log tests/pngimage-full.log
test -z "tests/pngtest-all.trs tests/pngvalid-gamma-16-to-8.trs tests/pngvalid-gamma-alpha-mode.trs tests/pngvalid-gamma-background.trs tests/pngvalid-gamma-expand16-alpha-mode.trs tests/pngvalid-gamma-expand16-background.trs tests/pngvalid-gamma-expand16-transform.trs tests/pngvalid-gamma-sbit.trs tests/pngvalid-gamma-threshold.trs tests/pngvalid-gamma-transform.trs tests/pngvalid-progressive-size.trs tests/pngvalid-progressive-interlace-standard.trs tests/pngvalid-transform.trs tests/pngvalid-progressive-standard.trs tests/pngvalid-standard.trs tests/pngstest-1.8.trs tests/pngstest-1.8-alpha.trs tests/pngstest-linear.trs tests/pngstest-linear-alpha.trs tests/pngstest-none.trs tests/pngstest-none-alpha.trs tests/pngstest-sRGB.trs tests/pngstest-sRGB-alpha.trs tests/pngunknown-IDAT.trs tests/pngunknown-discard.trs tests/pngunknown-if-safe.trs tests/pngunknown-sAPI.trs tests/pngunknown-sTER.trs tests/pngunknown-save.trs tests/pngunknown-vpAg.trs tests/pngimage-quick.trs tests/pngimage-full.trs" || rm -f tests/pngtest-all.trs tests/pngvalid-gamma-16-to-8.trs tests/pngvalid-gamma-alpha-mode.trs tests/pngvalid-gamma-background.trs tests/pngvalid-gamma-expand16-alpha-mode.trs tests/pngvalid-gamma-expand16-background.trs tests/pngvalid-gamma-expand16-transform.trs tests/pngvalid-gamma-sbit.trs tests/pngvalid-gamma-threshold.trs tests/pngvalid-gamma-transform.trs tests/pngvalid-progressive-size.trs tests/pngvalid-progressive-interlace-standard.trs tests/pngvalid-transform.trs tests/pngvalid-progressive-standard.trs tests/pngvalid-standard.trs tests/pngstest-1.8.trs tests/pngstest-1.8-alpha.trs tests/pngstest-linear.trs tests/pngstest-linear-alpha.trs tests/pngstest-none.trs tests/pngstest-none-alpha.trs tests/pngstest-sRGB.trs tests/pngstest-sRGB-alpha.trs tests/pngunknown-IDAT.trs tests/pngunknown-discard.trs tests/pngunknown-if-safe.trs tests/pngunknown-sAPI.trs tests/pngunknown-sTER.trs tests/pngunknown-save.trs tests/pngunknown-vpAg.trs tests/pngimage-quick.trs tests/pngimage-full.trs
test -z "test-suite.log" || rm -f test-suite.log
test -z "libpng.pc libpng-config" || rm -f libpng.pc libpng-config
test . = "." || test -z "" || rm -f
rm -f arm/.deps/.dirstamp
rm -f arm/.dirstamp
rm -f contrib/libtests/.deps/.dirstamp
rm -f contrib/libtests/.dirstamp
rm -f contrib/tools/.deps/.dirstamp
rm -f contrib/tools/.dirstamp
rm -f intel/.deps/.dirstamp
rm -f intel/.dirstamp
rm -f loongarch/.deps/.dirstamp
rm -f loongarch/.dirstamp
rm -f mips/.deps/.dirstamp
rm -f mips/.dirstamp
rm -f powerpc/.deps/.dirstamp
rm -f powerpc/.dirstamp
rm -f *.o
rm -f arm/*.o
rm -f arm/*.lo
rm -f contrib/libtests/*.o
rm -f contrib/tools/*.o
rm -f intel/*.o
rm -f intel/*.lo
rm -f loongarch/*.o
rm -f loongarch/*.lo
rm -f mips/*.o
rm -f mips/*.lo
rm -f powerpc/*.o
rm -f powerpc/*.lo
rm -f config.status config.cache config.log configure.lineno config.status.lineno
rm -f ./.deps/png.Plo
rm -f ./.deps/pngerror.Plo
rm -f ./.deps/pngget.Plo
rm -f ./.deps/pngmem.Plo
rm -f ./.deps/pngpread.Plo
rm -f ./.deps/pngread.Plo
rm -f ./.deps/pngrio.Plo
rm -f ./.deps/pngrtran.Plo
rm -f ./.deps/pngrutil.Plo
rm -f ./.deps/pngset.Plo
rm -f ./.deps/pngtest.Po
rm -f ./.deps/pngtrans.Plo
rm -f ./.deps/pngwio.Plo
rm -f ./.deps/pngwrite.Plo
rm -f ./.deps/pngwtran.Plo
rm -f ./.deps/pngwutil.Plo
rm -f arm/.deps/arm_init.Plo
rm -f arm/.deps/filter_neon.Plo
rm -f arm/.deps/filter_neon_intrinsics.Plo
rm -f arm/.deps/palette_neon_intrinsics.Plo
rm -f contrib/libtests/.deps/pngimage.Po
rm -f contrib/libtests/.deps/pngstest.Po
rm -f contrib/libtests/.deps/pngunknown.Po
rm -f contrib/libtests/.deps/pngvalid.Po
rm -f contrib/libtests/.deps/timepng.Po
rm -f contrib/tools/.deps/png-fix-itxt.Po
rm -f contrib/tools/.deps/pngcp.Po
rm -f contrib/tools/.deps/pngfix.Po
rm -f intel/.deps/filter_sse2_intrinsics.Plo
rm -f intel/.deps/intel_init.Plo
rm -f loongarch/.deps/libpng16lsx_la-filter_lsx_intrinsics.Plo
rm -f loongarch/.deps/libpng16lsx_la-loongarch_lsx_init.Plo
rm -f mips/.deps/filter_mmi_inline_assembly.Plo
rm -f mips/.deps/filter_msa_intrinsics.Plo
rm -f mips/.deps/mips_init.Plo
rm -f powerpc/.deps/filter_vsx_intrinsics.Plo
rm -f powerpc/.deps/powerpc_init.Plo
rm -f Makefile
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 DFA_XTRA=pngusr.dfa
make: *** No targets specified and no makefile found.  Stop.

@ctruta
Copy link
Member

ctruta commented Feb 6, 2024

Execution of the "make distclean" after confiture causes that build fails

If you have an existing configured build, then make distclean will clean that up. Everything, including makefiles.

Now is the time to finally build your libpng, as intended, with configure && make (and all the flags that you've been using so far). And now, it should work.

@kloczek
Copy link
Author

kloczek commented Feb 6, 2024

Now is the time to finally build your libpng, as intended, with configure && make (and all the flags that you've been using so far). And now, it should work.

And this is what exactly I'm doing.
Additionally after successful build test suite execution right after that complains about "make distclean" so seems like it is the test suite issue.

@kloczek
Copy link
Author

kloczek commented Feb 9, 2024

Gentle ping .. any update? 🤔

Just for the clarification.
I'm reusing 100% of the build procedure which has been working correctly with 1.6.40.

@kloczek
Copy link
Author

kloczek commented Feb 9, 2024

Execution of the "make distclean" after confiture causes that build fails

If you have an existing configured build, then make distclean will clean that up. Everything, including makefiles.

Now is the time to finally build your libpng, as intended, with configure && make (and all the flags that you've been using so far). And now, it should work.

In #544 (comment) you gave me advise to execute distclean target.

@ctruta
Copy link
Member

ctruta commented Feb 9, 2024

In #544 (comment) you gave me advise to execute distclean target.

Great! Now that your libpng distribution is clean (hence the name "distclean") it is finally the time to redo the whole build, from the beginning, i.e. from the configure stage.

If you run "make distclean" again, after running "./configure", nothing bad will happen; but nothing good will happen, either... What you have after "make distclean" is not the build, but the clean source tree.

So you run "./configure" and then "make". If you don't specify a target to make, the implicit target will be the libpng build.

@kloczek
Copy link
Author

kloczek commented Feb 9, 2024

Just retested and found that 1.6.40 is OK and 1.6.41 and 1.6.42 are not.
In other words this test suite fails is result of something introduced in 1.6.41.

@kloczek
Copy link
Author

kloczek commented Feb 9, 2024

Could you please reopen this ticket? 🤔

@ctruta
Copy link
Member

ctruta commented Feb 9, 2024

Just retested and found that 1.6.40 is OK and 1.6.41 and 1.6.42 are not.

... which means that you went back to square one, in which you had an upgrade from 1.6.40 to 1.6.41 without cleaning the source tree in the process, which is why it had failed for you in the first place.

Just clean everything, then make that clean install of libpng 1.6.42, and that should work.

Could you please reopen this ticket? 🤔

Not from the errors that you are reporting. Please don't mind me asking this question @kloczek but how familiar are you with the configure+make build process? I'm asking because I deduced (from your logs) that you are misusing the configure+make build process during your upgrade. You should do a clean upgrade, and it is apparent to me that you don't.

Moreover, the versions 1.6.41 and 1.6.42 have already been out there for a non-trivial amount of time. Linux distributions picked them up, and so did FreeBSD and Mac, etc. A break-the-world failure like the one that you are reporting would have, umm... broken the world...

@ctruta
Copy link
Member

ctruta commented Feb 9, 2024

Two more things I would like to add, @kloczek.

First, I would like to clarify that, if you can go back to a clean slate to version 1.6.40 (which worked as expected) and then up to 1.6.41 and then again to 1.6.4.2 (which failed as expected, considering your particular workflow) then you should go back to a clean slate, directly to version 1.6.41. And also, to a clean slate, directly to 1.6.42. And if that wouldn't work, then that would have been a bug. A rather big one.

Second, it is the fact that I do acknowledge your inconvenience, which is why I wrote commit c9ac5bd to give extra information. Moving on, I also intend to add a build feature in which the configure stage is automatically re-triggered if there is a change of any kind in the file scripts/pnglibconf.dfa. THIS is what has caused your failure, which -- again -- is not a bug, but rather, an expected behaviour. Not an intentional behaviour, mind you, but an expected behaviour nonetheless.

@ctruta
Copy link
Member

ctruta commented Feb 9, 2024

@jbowler: FYI, see my last comment. We need to re-trigger the pnglibconf step in the configure stage if scripts/pnglibconf.dfa happens to be newer than pnglibconf.h (for example). I will open a separate issue, as a feature request. (Not as a bug report.)

@kloczek
Copy link
Author

kloczek commented Feb 9, 2024

First, I would like to clarify that, if you can go back to a clean slate to version 1.6.40 (which worked as expected) and then up to 1.6.41 and then again to 1.6.4.2 (which failed as expected, considering your particular workflow) then you should go back to a clean slate, directly to version 1.6.41. And also, to a clean slate, directly to 1.6.42. And if that wouldn't work, then that would have been a bug. A rather big one.

As I wrote first version which fails is 1.6.41 I do not understand what this issue has to do with 1.6.42.
Second: could you please tell what EXACTLY needs to be altered in 1.6.40 bud procedure to have fully working procedure on top of >= 1.6.41? 🤔
And please answer on the question: why using dist tarball and just building libpng without any additional operation suddenly 1.6.41 starts failing in that unit of the test suite? 🤔

Yor explanations are not clear and still I font know were is the problem..

@ctruta
Copy link
Member

ctruta commented Feb 9, 2024

Yor explanations are not clear and still I font know were is the problem..

The simplest explanation that I can give right now is:

You are trying to use a feature named "incremental builds over incremental updates" that doesn't exist at this time in libpng.

Some software programs have it, others don't. We don't. (We should, but we don't.)

We don't actually break the incremental builds of incremental updates on purpose. The explanation of why such breakage happens (for example) between 1.6.40 to 1.6.41, but not (for example) between 1.6.39 and 1.6.40, and also not (for example) between 1.6.41 and 1.6.42, is very technical. Implementing a solution might be as simple as one or two lines of code, but a little insight and a lot of testing is required.

So, @kloczek, this is "Not A Bug", and "Not A Feature", and "Not A Priority" either. Please delete everything you have about 1.6.40 in your local build directory, and start clean from 1.6.41 or 1.6.42, whichever you prefer. That should solve your build problem.

@kloczek
Copy link
Author

kloczek commented Feb 9, 2024

You are trying to use a feature named "incremental builds over incremental updates" that doesn't exist at this time in libpng.

What you mean "incremental build"? 🤔
As I wrote I'm not doing anything incrementally. Whole build is done as described in in rpm spec file.
Here is my libpng.spec

Summary:        A library of functions for manipulating PNG image format files
Name:           libpng
Epoch:          2
Version:        1.6.40
Release:        4%{?dist}
License:        BSD-3-Clause (https://spdx.org/licenses/BSD-3-Clause.html)
URL:            http://libpng.org/pub/png/
VCS:            https://github.com/glennrp/libpng/
Source:         https://sf.net/projects/libpng/files/libpng16/%{version}/%{name}-%{version}.tar.xz
Source:         pngusr.dfa
Patch:          %{name}-multilib.patch
Patch:          %{name}-fix-arm-neon.patch
Patch:          %{name}-no_pkgconfig_private.patch
BuildRequires:  automake
BuildRequires:  gcc
BuildRequires:  libtool
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(zlib)

%description
The libpng package contains a library of functions for creating and manipulating
PNG (Portable Network Graphics) image format files. PNG is a bit-mapped graphics
format similar to the GIF format. PNG was created to replace the GIF format,
since GIF uses a patented data compression algorithm.

Libpng should be installed if you need to manipulate PNG format image files.

%package devel
Summary:        Development files for %{name}
Requires:       %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes:      libpng-static

%description devel
This package contains development files for %{name}.

%package tools
Summary:        Tools for PNG image format file library
Requires:       %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}

%description tools
The libpng-tools package contains tools used by the authors of libpng.

%prep
%autosetup -p1

%__cp %{S:1} .

%build
autoreconf -fiv
%configure \
        --disable-static \
        --enable-hardware-optimizations \
        %{nil}
%make_build DFA_XTRA=pngusr.dfa

%install
%make_install

%check
%make_build check

%files
%{_libdir}/lib*.so.*
%{_mandir}/man5/*

%files devel
%doc libpng-manual.txt example.c
%attr(755,root,root) %{_bindir}/*
%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/*
%exclude %{_libdir}/lib*.la

%files tools
%attr(755,root,root) %{_bindir}/pngfix

Please show me where is that "incremental build" done.
And again you are writing about thing which I've not been asking IGNORING my straight ans as simple as possible questions.

We don't actually break the incremental builds of incremental updates on purpose

censored @#$@ .. I'm not doing any incremental build/updates.
Always is taken as input source OFFICIAL DIST TARBALL.
On building 1.6.41 and 1.6.42 I'm changing ONLY version string in above spec file.
Does it mean that dist tarballs on sf.net are broken? 🤔

@kloczek
Copy link
Author

kloczek commented Feb 9, 2024

So, @kloczek, this is "Not A Bug", and "Not A Feature", and "Not A Priority" either. Please delete everything you have about 1.6.40 in your local build directory, and start clean from 1.6.41 or 1.6.42, whichever you prefer. That should solve your build problem.

I do not have anything to delete.
ALWAYS on building package all is build of of DIST TARBALLS from sf.net. NOITING is reused from prev version build.
Is that clear now? 🤔

@kloczek
Copy link
Author

kloczek commented Feb 9, 2024

You are trying to use a feature named "incremental builds over incremental updates" that doesn't exist at this time in libpng.

I'm not doing any incremental builds/updates.
Using rpm it is NOT POSSIBLE to define such build procedure.

@ctruta
Copy link
Member

ctruta commented Feb 9, 2024

You are trying to use a feature named "incremental builds over incremental updates" that doesn't exist at this time in libpng.
I'm not doing any incremental builds/updates. Using rpm it is NOT POSSIBLE to define such build procedure.

I see what you're saying. And yet, if that were truly the case, then you should not have seen the error message asking you to run make distclean after you executed ci_verify_configure.sh. And also, you should not have trouble upgrading from version 1.6.40 to version 1.6.41.

What I am implying here is that something weird goes on in your RPM upgrade, which baffles me. I just looked over the Fedora libpng upgrades, and they haven't upgraded to 1.6.41 or 1.6.42 yet. And neither did OpenSuse, not even Tumbleweed. So maybe the RPM people are stuck in there for some reason, but this is of course, pure conjecture.

I don't know what else to say.

@ctruta
Copy link
Member

ctruta commented Feb 9, 2024

You are trying to use a feature named "incremental builds over incremental updates" that doesn't exist at this time in libpng.
I'm not doing any incremental builds/updates. Using rpm it is NOT POSSIBLE to define such build procedure.

I see what you're saying. And yet, if that were truly the case, then you should not have seen the error message asking you to run make distclean after you executed ci_verify_configure.sh. And also, you should not have trouble upgrading from version 1.6.40 to version 1.6.41.

What I am implying here is that something weird goes on in your RPM upgrade, which baffles me. I just looked over the Fedora libpng upgrades, and they haven't upgraded to 1.6.41 or 1.6.42 yet. And neither did OpenSuse, not even Tumbleweed. So maybe the RPM people are stuck in there for some reason, but this is of course, pure conjecture.

I don't know what else to say, other than asking you to uninstall, then reinstall, or clean up in any way you can, until this problem gets solved at the RPM's end.

@jbowler
Copy link
Contributor

jbowler commented Feb 9, 2024

pngtest -strict pngtest.png fails and the reason is completely explained in the log; it has pretty much zero chance of working with zlib-ng!

Files ./pngtest.png and pngout.png are different
   Was ./pngtest.png written with the same maximum IDAT chunk size (8192 bytes),
   filtering heuristic (libpng default), compression level (zlib default),
   and zlib version (1.3.0.zlib-ng)?

This has been happening for ever; in the past changes Mark has made in zlib have made pngtest.out not be byte identical to pngtest.png and pngtest never passed with configured builds where things like the default IDAT size were changed.

Ideally pngtest.png would contain the zlib version info, the IDAT size etc, etc so that this could be checked against the values used by pngtest in the test and disable the complaint if there is a mismatch, but as you said before @ctruta pngtest is way past its "maintain-by" date.

@kloczek just copy the file pngtest.out on top of pngtest.png and I think everything should pass. Since you use zlib-ng you are probably going to have to do this every new release, at least until pngtest gets some active maintenance.

@jbowler
Copy link
Contributor

jbowler commented Feb 9, 2024

@ctrtua: this was almost certainly always happening with zlib-ng, however it would only show in cmake builds, which just run the one test, in earlier versions of 1.6 because of the bug whereby only the last pngtest test in configure builds was checked. If it keeps showing up just comment out the first test in pngtest-all; not running it is no worse than the previous behavior of ignoring what happened!

@jbowler
Copy link
Contributor

jbowler commented Feb 9, 2024

@jbowler: FYI, see my last comment. We need to re-trigger the pnglibconf step in the configure stage if scripts/pnglibconf.dfa happens to be newer than pnglibconf.h (for example). I will open a separate issue, as a feature request. (Not as a bug report.)

The dependencies in configure (Makefile.am) are correct so far as I know. Touching pnglibconf.dfa rebuilds pnglibconf.h (at least it did the week before last). There's no magic to messing up a build by untar'ing newer files with older timestamps onto a build tree but I think everyone knowns not to do that! Anyway, it's not what was happening here.

@kloczek
Copy link
Author

kloczek commented Feb 10, 2024

This has been happening for ever; in the past changes Mark has made in zlib have made pngtest.out not be byte identical to pngtest.png and pngtest never passed with configured builds where things like the default IDAT size were changed.

I'm not using zlib. I'm using zlin-ng.

@ctrtua: this was almost certainly always happening with zlib-ng, however it would only show in cmake builds, which just run the one test, in earlier versions of 1.6 because of the bug whereby only the last pngtest test in configure builds was checked. If it keeps showing up just comment out the first test in pngtest-all; not running it is no worse than the previous behavior of ignoring what happened!

Why you are mentioning about cmake? 🤔
Please one more time have look on my libpng.spec file. I'm not using cmake.

Yes, I'm using zlib-ng and again with exactly the same zlib-ng 1.6.40 the test suite is OK, and 1.6.41 and 1.6.42 are NOT.

@kloczek
Copy link
Author

kloczek commented Feb 10, 2024

The dependencies in configure (Makefile.am) are correct so far as I know. Touching pnglibconf.dfa rebuilds pnglibconf.h (at least it did the week before last). There's no magic to messing up a build by untar'ing newer files with older timestamps onto a build tree but I think everyone knowns not to do that! Anyway, it's not what was happening here.

Please ONE MORE TIME look on top of this ticket on provided output of failing test suite.
Unit which is failing name is pngtest-all. That unit reports some diagnostics messages.
NONE of those diagnostics messages are related to any .dfa file.

@jbowler
Copy link
Contributor

jbowler commented Feb 10, 2024

@kloczek: please try this:

./pngtest --strict pngtest.png pngtest.new
cp pngtest.new pngtest.png
make check

Please report what happens (whether it succeeds or not).

@ctruta
Copy link
Member

ctruta commented Feb 19, 2024

After I pushed another bunch of CI commits to further improve our verification process, we can now run those and draw the concluding remarks.

@jbowler, if zlib-ng were at fault, then the test suite would have failed unconditionally. But it didn't. The test suite on the reporter's machine used to work with the older versions, and then it started failing when upgrading from 1.6.40 to 1.6.41, and also, when going back again to 1.6.40 then forward again to the tip-of-tree.

This concludes that zlib-ng is not at fault. My untested assumption is that, due to the changes made that we had made in pnglibconf.dfa about building or not building the Adler32 checks, somehow the obligatory regeneration of pnglibconf.h got skipped. Reading and/or writing the trailing Adler32 might have been messed up inside pngtest.c, I don't know. Or maybe the RPM system did something incorrect, or maybe something else entirely has happened. I really don't know.

@kloczek, after I pushed the last bunch of commits to the repository, including commit 72c4520, you should now be able to run a conclusive verification on your own machine, as follows:

CI_MAKE="/usr/bin/make" CI_MAKE_FLAGS="-O -j48 V=1 VERBOSE=1" CI_FORCE=1 ./ci/ci_verify_configure.sh

Please ONE MORE TIME look on top of this ticket on provided output of failing test suite.
Unit which is failing name is pngtest-all. That unit reports some diagnostics messages.
NONE of those diagnostics messages are related to any .dfa file.

With all due respect, @kloczek, the lack of diagnostics related to our DFA files neither proves nor disproves anything, especially considering that these DFA files are actually correct. The lack of diagnostics is something to be expected. I have a feeling that we're going in circles here, each of us repeating each of our past statements but without moving on with the actual investigation of the failure that's been happening on your machine. If you want to help us find out what has been truly going on, then please help us by responding to the last question formulated by @jbowler

Or, alternatively, you can make all failures disappear by wiping out everything in your old libpng repository, and by starting fresh with a fresh git clone at the tip of tree.

@kloczek
Copy link
Author

kloczek commented Mar 28, 2024

Here is result

+ CI_MAKE=/usr/bin/make
+ CI_MAKE_FLAGS='-O -j48 V=1 VERBOSE=1'
+ CI_FORCE=1
+ ./ci/ci_verify_configure.sh
ci_verify_configure.sh: ## START OF CONFIGURATION ##
ci_verify_configure.sh: build arch: x86_64
ci_verify_configure.sh: build system: linux
ci_verify_configure.sh: source directory: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43
ci_verify_configure.sh: build directory: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/out/ci_verify_configure.linux.x86_64.build
ci_verify_configure.sh: install directory: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/out/ci_verify_configure.linux.x86_64.install
ci_verify_configure.sh: environment option: $CI_CONFIGURE_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_MAKE: '/usr/bin/make'
ci_verify_configure.sh: environment option: $CI_MAKE_FLAGS: '-O -j48 V=1 VERBOSE=1'
ci_verify_configure.sh: environment option: $CI_CC: 'cc'
ci_verify_configure.sh: environment option: $CI_CC_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_CPP: ''
ci_verify_configure.sh: environment option: $CI_CPP_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_AR: ''
ci_verify_configure.sh: environment option: $CI_RANLIB: ''
ci_verify_configure.sh: environment option: $CI_LD: ''
ci_verify_configure.sh: environment option: $CI_LD_FLAGS: ''
ci_verify_configure.sh: environment option: $CI_SANITIZERS: ''
ci_verify_configure.sh: environment option: $CI_FORCE: '1'
ci_verify_configure.sh: environment option: $CI_NO_TEST: ''
ci_verify_configure.sh: environment option: $CI_NO_INSTALL: ''
ci_verify_configure.sh: environment option: $CI_NO_CLEAN: ''
ci_verify_configure.sh: executable: $CI_MAKE: /usr/bin/make is /usr/bin/make
ci_verify_configure.sh: executable: $CI_CC: cc is /usr/bin/cc
ci_verify_configure.sh: ## END OF CONFIGURATION ##
ci_verify_configure.sh: ## START OF PRE-BUILD CLEANUP ##
ci_verify_configure.sh: ## END OF PRE-BUILD CLEANUP ##
ci_verify_configure.sh: ## START OF BUILD ##
ci_verify_configure.sh: executing: export CC=cc
ci_verify_configure.sh: executing: mkdir -p /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/out/ci_verify_configure.linux.x86_64.build
ci_verify_configure.sh: executing: cd /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/out/ci_verify_configure.linux.x86_64.build
ci_verify_configure.sh: executing: /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/configure --prefix=/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/out/ci_verify_configure.linux.x86_64.install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking dependency style of cc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... cc -E
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/gcc-nm
checking the name lister (/usr/bin/gcc-nm) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... /usr/bin/gcc-ranlib
checking command to parse /usr/bin/gcc-nm output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking if awk (gawk) works... yes
checking if we need to force back C standard to C89... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for C/C++ restrict keyword... __restrict__
checking for pow... no
checking for pow in -lm... yes
checking for clock_gettime... yes
checking for zlibVersion in -lz... yes
checking for feenableexcept in -lm... yes
checking for feenableexcept... yes
checking if using Solaris linker... no
checking if libraries can be versioned... yes
checking for symbol prefix...
configure: pkgconfig directory is ${libdir}/pkgconfig
configure: Extra options for compiler:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpng.pc
config.status: creating libpng-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
ci_verify_configure.sh: executing: /usr/bin/make -O -j48 V=1 VERBOSE=1
rm -f pnglibconf.c pnglibconf.tf[45]

[..]

=====================================
   libpng 1.6.43: ./test-suite.log
=====================================

# TOTAL: 32
# PASS:  31
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/pngtest-all
=======================

=============== pngtest --strict /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/pngtest.png ====================

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/pngtest.png:
   Text compression[0]=-1

 stereo mode = 1
 vpAg = 100 x 100, units = 0

   Text compression[0]=0
 eXIf type MM, 52 bytes

 Image width = 91, height = 69

Files /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/pngtest.png and pngout.png are different
   Was /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/pngtest.png written with the same maximum IDAT chunk size (8192 bytes),
   filtering heuristic (libpng default), compression level (zlib default),
   and zlib version (1.3.0.zlib-ng)?

 FAIL
 libpng FAILS test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
===============**FAIL** --strict /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/pngtest.png ====================
=============== pngtest --relaxed /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/badcrc.png ====================

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/badcrc.png:
 Image width = 1, height = 1

Files /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/badcrc.png and pngout.png are different
   Was /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/badcrc.png written with the same maximum IDAT chunk size (8192 bytes),
   filtering heuristic (libpng default), compression level (zlib default),
   and zlib version (1.3.0.zlib-ng)?


 PASS (1 zero samples)
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --relaxed /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/badcrc.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/badadler.png ====================
libpng error: IDAT: incorrect data check

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/badadler.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/badadler.png: libpng warning: IDAT: incorrect data check
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/badadler.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/badadler.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/bad_iCCP.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/bad_iCCP.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/bad_iCCP.png: libpng warning: iCCP: profile ')c#': 700001D6h: exceeds application limits

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/bad_iCCP.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/bad_iCCP.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/bad_iCCP.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png ====================
libpng error: sTER: error in user chunk

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: bKGD: out of place

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: cHRM: invalid

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: eXIf: too short

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: gAMA: invalid

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: hIST: out of place

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: iCCP: too short

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: iTXt: bad keyword

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: pCAL: invalid

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: pHYs: invalid

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: sCAL: invalid

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: malformed sPLT chunk

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: sRGB: invalid

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png: libpng warning: sTER: error in user chunk
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/empty_ancillary_chunks.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_bKGD_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_bKGD_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_bKGD_chunk.png: libpng warning: bKGD: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_bKGD_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_bKGD_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_bKGD_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_cHRM_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_cHRM_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_cHRM_chunk.png: libpng warning: cHRM: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_cHRM_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_cHRM_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_cHRM_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_eXIf_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_eXIf_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_eXIf_chunk.png: libpng warning: eXIf: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_eXIf_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_eXIf_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_eXIf_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_gAMA_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_gAMA_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_gAMA_chunk.png: libpng warning: gAMA: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_gAMA_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_gAMA_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_gAMA_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_hIST_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_hIST_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_hIST_chunk.png: libpng warning: hIST: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_hIST_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_hIST_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_hIST_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iCCP_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iCCP_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iCCP_chunk.png: libpng warning: iCCP: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iCCP_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iCCP_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iCCP_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iTXt_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iTXt_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iTXt_chunk.png: libpng warning: iTXt: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iTXt_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iTXt_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_iTXt_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pCAL_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pCAL_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pCAL_chunk.png: libpng warning: pCAL: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pCAL_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pCAL_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pCAL_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pHYs_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pHYs_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pHYs_chunk.png: libpng warning: pHYs: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pHYs_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pHYs_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_pHYs_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sCAL_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sCAL_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sCAL_chunk.png: libpng warning: sCAL: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sCAL_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sCAL_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sCAL_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sPLT_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sPLT_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sPLT_chunk.png: libpng warning: sPLT: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sPLT_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sPLT_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sPLT_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sRGB_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sRGB_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sRGB_chunk.png: libpng warning: sRGB: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sRGB_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sRGB_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sRGB_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sTER_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sTER_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sTER_chunk.png: libpng warning: sTER: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sTER_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sTER_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_sTER_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tEXt_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tEXt_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tEXt_chunk.png: libpng warning: tEXt: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tEXt_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tEXt_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tEXt_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tIME_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tIME_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tIME_chunk.png: libpng warning: tIME: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tIME_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tIME_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_tIME_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_zTXt_chunk.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_zTXt_chunk.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_zTXt_chunk.png: libpng warning: zTXt: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_zTXt_chunk.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_zTXt_chunk.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_zTXt_chunk.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png: libpng warning: juNK: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNk_safe_to_copy.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNk_safe_to_copy.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNk_safe_to_copy.png: libpng warning: juNk: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNk_safe_to_copy.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNk_safe_to_copy.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_juNk_safe_to_copy.png ====================
=============== pngtest --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_IDAT.png ====================
libpng error: Read Error

 Testing libpng version 1.6.43
   with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10643): libpng version 1.6.43

 pngtest (10643): libpng version 1.6.43

 Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_IDAT.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_IDAT.png: libpng warning: IDAT: chunk data is too large

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_IDAT.png: libpng warning: Read Error
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_IDAT.png -> pngout.png: libpng read error
   destroy read structs
   destroy write structs
 XFAIL
 libpng passes test
 Default limits:
  width_max  = 1000000
  height_max = 1000000
  cache_max  = 1000
  malloc_max = 1000000000
=============== SUCCESS --xfail /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/crashers/huge_IDAT.png ====================
=============== pngtest /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.43
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10643): libpng version 1.6.43

pngtest (10643): libpng version 1.6.43

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png:
Pass 0: rw
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/regression-palette-8.png ====================
=============== pngtest /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.43
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10643): libpng version 1.6.43

pngtest (10643): libpng version 1.6.43

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png:
Pass 0: rw
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-1.png ====================
=============== pngtest /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.43
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10643): libpng version 1.6.43

pngtest (10643): libpng version 1.6.43

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png:
Pass 0: rw
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-2.png ====================
=============== pngtest /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.43
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10643): libpng version 1.6.43

pngtest (10643): libpng version 1.6.43

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png:
Pass 0: rw
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-4.png ====================
=============== pngtest /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.43
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10643): libpng version 1.6.43

pngtest (10643): libpng version 1.6.43

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png:
Pass 0: rw
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/small-palette-8.png ====================
=============== pngtest /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.43
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10643): libpng version 1.6.43

pngtest (10643): libpng version 1.6.43

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png:
Pass 0: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrw
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-1.png ====================
=============== pngtest /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.43
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10643): libpng version 1.6.43

pngtest (10643): libpng version 1.6.43

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png:
Pass 0: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrw
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-2.png ====================
=============== pngtest /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.43
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10643): libpng version 1.6.43

pngtest (10643): libpng version 1.6.43

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png:
Pass 0: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrw
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-4.png ====================
=============== pngtest /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png ====================
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette
libpng error: Wrote palette index exceeding num_palette

Testing libpng version 1.6.43
with zlib   version 1.3.0.zlib-ng

libpng version 1.6.43
Copyright (c) 2018-2024 Cosmin Truta
Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10643): libpng version 1.6.43

pngtest (10643): libpng version 1.6.43

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png:
Pass 0: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png -> pngout.png: libpng write error

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png: FAIL

Testing /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png:
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png: libpng warning: IDAT: Read palette index exceeding num_palette

/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png: libpng warning: Wrote palette index exceeding num_palette
/home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png -> pngout.png: libpng write error
FAIL
libpng FAILS test
Default limits:
width_max  = 1000000
height_max = 1000000
cache_max  = 1000
malloc_max = 1000000000
=============== FAIL(EXPECTED) /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/contrib/testpngs/badpal/test-palette-8.png ====================
FAIL tests/pngtest-all (exit status: 1)

============================================================================
Testsuite summary for libpng 1.6.43
============================================================================
# TOTAL: 32
# PASS:  31
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to png-mng-implement@lists.sourceforge.net
============================================================================
make[2]: *** [Makefile:1567: test-suite.log] Error 1

@kloczek
Copy link
Author

kloczek commented Mar 28, 2024

With all due respect, @kloczek, the lack of diagnostics related to our DFA files neither proves nor disproves anything, especially considering that these DFA files are actually correct.

If you have any propositions what I can try to do to diagnose please let me know.

@kloczek
Copy link
Author

kloczek commented Mar 28, 2024

Summary:

  • I'm using zlib-ng -2.1.6 and gcc 14.x from fedora rawhide
  • all is build with LTO
  • last version which test suite is OK in exactly the same build env is 1.6.40 (I've verified that bu just changing Version: in my libpng,spec and sending it to build)

@jbowler
Copy link
Contributor

jbowler commented Mar 28, 2024

Please just read the error messages output by pngtest. No diagnosis is required! The error message clearly and unambiguously says why the test is failing and it is failing for precisely the reason I gave on Feb 19. Ok TL;DR - here is a copy-edit of the error log from above. I added the bold emphasis; Glenn was nice enough to ask the relevant questions in addition to clearly stating the problem, just answer the one in bold:

Files /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/pngtest.png and pngout.png are different
Was /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/pngtest.png written with the same maximum IDAT chunk size (8192 bytes), filtering heuristic (libpng default), compression level (zlib default), and zlib version (1.3.0.zlib-ng)?

The file pngtest.png is distributed with libpng and it is under source control. It was last modified on July 18 2017, this commit: db16b27

Just check the files! Run pngtest by hand (pngtest pngtest.png) double check that pngout.png is valid; use pngcheck on pngout.png then run pngtopam on both files and diff the results (they should be identical). Now run cmp -b on the two files.

It should be a soft-fail in production but Glenn liked to know if there was a byte-wise change.

@kloczek
Copy link
Author

kloczek commented Mar 28, 2024

The file pngtest.png is distributed with libpng and it is under source control. It was last modified on July 18 2017, this commit: db16b27

Just check the files! Run pngtest by hand (pngtest pngtest.png) double check that pngout.png is valid; use pngcheck on pngout.png then run pngtopam on both files and diff the results (they should be identical). Now run cmp -b on the two files.

I've already presented full source of my build procedure. It has:

Source:         https://sf.net/projects/libpng/files/libpng16/%{version}/%{name}-%{version}.tar.xz

If that file is broken it means that IT IS BROKEN IN TAR BALL distributed on sf.net.
Have no access now to my system on which I can do that check but you can do that as well.
If that file really is broken in dist tar ball it means that it woud be good to release new version.

@jbowler
Copy link
Contributor

jbowler commented Mar 28, 2024

This is your build failure:

Files /home/tkloczko/rpmbuild/BUILD/libpng-1.6.43/pngtest.png and pngout.png are different

Most likely nothing is broken. You need to build libpng against zlib-ng on your own system and, as a minimum, attach the pngout.png that pngtest pngtest.png generates to this bug report.

NOTE: not the pngout.png that make check leaves; that one has been overwritten later in the pngtest-all unit test. You have to run pngtest pngtest.png by hand.

@jbowler
Copy link
Contributor

jbowler commented Mar 28, 2024

@kloczek @ctruta it is EXACTLY as I said back in February; zlib-ng changes the IDAT. It's 8119 bytes in pngtest.png and 7982 in pngout.png (with 2.1.6).

@kloczek: please read the following page, it may help your understanding of what I said:

https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md

In particular it explicitly acknowledges the problem, quoting from the page:

It is also possible for the deflate output stream to differ from the original zlib due to algorithmic differences between the two libraries. Any tests or applications that depend on the exact length of the deflate stream being a certain value will need to be updated.

This is what was previously encountered with zlib version changes and, since zlib-ng is under more active development, the compressed data is quite likely to change with zlib-ng versions. I've attached a pngtest.png which was produced by zlib-ng-2.1.6; it may or may not work with other zlib-ng versions.

@ctruta; the configuration being tested here is "zlib-compat" mode, as described in the README.md above. Gentoo has these words of wisdom:

ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
ewarn "Please be careful!"

I will attach a "zlib.h" which handles the "native mode" name changes sufficiently for libpng; just drop it in the source directory (it might work in the build directory too, but I didn't try that.) configure must link -lz-ng too; the following is more than sufficient:

CFLAGS='-Wall -Wextra' LIBS="-lz-ng -lm" ./configure -enable-werror

Note that this gets the version number right too (unlike the logs from compat mode).

As I said before this error should be XFAIL'ed but if you intend to replace pngtest with unit tests the work to make that happen can't be justified.

pngtest

zlib.h is attached as zlib.h.txt - stupid github:
zlib.h.txt

@kloczek
Copy link
Author

kloczek commented Mar 29, 2024

@kloczek @ctruta it is EXACTLY as I said back in February; zlib-ng changes the IDAT. It's 8119 bytes in pngtest.png and 7982 in pngout.png (with 2.1.6).

Hmm .. if that file needs to be generated before start test suite why this file is not build during the build? 🤔

@jbowler
Copy link
Contributor

jbowler commented Mar 29, 2024

@kloczek @ctruta it is EXACTLY as I said back in February; zlib-ng changes the IDAT. It's 8119 bytes in pngtest.png and 7982 in pngout.png (with 2.1.6).

Hmm .. if that file needs to be generated before start test suite why this file is not build during the build? 🤔

zlib-ng is not completely compatible with zlib therefore the test fails. This is the intended behavior.

@kloczek
Copy link
Author

kloczek commented Mar 29, 2024

zlib-ng is not completely compatible with zlib therefore the test fails. This is the intended behavior.

I understand that however more and more distros are using only zlib-ng so IMO that situation needs to be handel IMO somehow automatically 🤔

@jbowler
Copy link
Contributor

jbowler commented Mar 29, 2024

I understand that however more and more distros are using only zlib-ng so IMO that situation needs to be handel IMO somehow automatically 🤔

I agree that a patch to, as a minimum, accommodate zlib-ng would be worthwhile. I think you just volunteered to do that, unless @ctruta has an alternative?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants