all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 65441@debbugs.gnu.org
Subject: bug#65441: leptonica 1.83.1 ioformats_reg test failure
Date: Mon, 21 Aug 2023 15:44:01 -0400	[thread overview]
Message-ID: <87edjwcha6.fsf@gmail.com> (raw)

Hello,

This package's test suite sometimes fail; here's the test output for the
failed test:

--8<---------------cut here---------------start------------->8---
////////////////////////////////////////////////
////////////////   ioformats_reg   ///////////////
////////////////////////////////////////////////
leptonica-1.83.1 : libgif 5.2.1 : libjpeg 6b (libjpeg-turbo 2.1.4) : libpng 1.6.37 : libtiff 4.4.0 : zlib 1.2.13 : libwebp 1.2.4 : libopenjp2 2.5.0
Test bmp 1 bpp file:
Info in pixReadMemBmp: removing opaque cmap from 1 bpp
Info in ioFormatTest: write/read bmp
Info in pixReadMemBmp: removing opaque cmap from 1 bpp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read g4 compressed tiff
Info in ioFormatTest: write/read g3 compressed tiff
Info in ioFormatTest: write/read rle compressed tiff
Info in ioFormatTest: write/read packbits compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   1.789
Info in ioFormatTest: All formats read and written OK!

Test other 1 bpp file:
Info in ioFormatTest: write/read bmp
Info in pixReadMemBmp: removing opaque cmap from 1 bpp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read g4 compressed tiff
Info in ioFormatTest: write/read g3 compressed tiff
Info in ioFormatTest: write/read rle compressed tiff
Info in ioFormatTest: write/read packbits compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   1.632
Info in ioFormatTest: All formats read and written OK!

Test 2 bpp file:
Info in ioFormatTest: write/read bmp
Warning in pixWriteMemBmp: 2 bpp files can't be read; converting to 8 bpp
Error in findFileFormatStream: truncated file
Error in pixReadStream: Unknown format: no pix returned
Error in pixRead: pix not read
Error in pixEqualWithAlpha: pix1 and pix2 not both defined
Info in ioFormatTest:    **** bad bmp image: d = 2 ****
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   1.608

Test 2 bpp file with cmap:
Info in ioFormatTest: write/read bmp
Warning in pixWriteMemBmp: 2 bpp files can't be read; converting to 8 bpp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   2.770
Info in ioFormatTest: All formats read and written OK!

Test 4 bpp file:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   1.841
Info in ioFormatTest: All formats read and written OK!

Test 4 bpp file with cmap:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   3.486
Info in ioFormatTest: All formats read and written OK!

Test 8 bpp grayscale file with cmap:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read lzw compressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read zip compressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read jpeg compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   2.535
Info in ioFormatTest: All formats read and written OK!

Test 8 bpp color file with cmap:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read lzw compressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read zip compressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read jpeg compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Error in pixReadStreamJp2k: failed to read the header
Error in pixReadStream: jp2: no pix returned
Error in pixRead: pix not read
Error in pixCompareRGB: pix2 not defined or not ew bpp
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

Test 8 bpp file without cmap:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   3.395
Info in ioFormatTest: All formats read and written OK!

Test 16 bpp file:
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Error in pixReadStreamJp2k: failed to read the header
Error in pixReadStream: jp2: no pix returned
Error in pixRead: pix not read
Error in pixCompareRGB: pix2 not defined or not ew bpp
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

Test 32 bpp files:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in pixEqualWithAlpha: no colormaps, pix depths unequal, and one of them is RGB
Info in ioFormatTest:    **** bad png image: d = 32 ****
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   3.773
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read webp
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Info in pixCompareRGB: Images are pixel-wise identical
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

Test spp = 1, bpp = 1, cmap with alpha file:
Info in pixReadStreamPng: converting (cmap + alpha) ==> RGBA
Info in pixReadStreamPng: converting 1 bpp cmap with alpha ==> RGBA
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Error in pixReadStreamJp2k: failed to read the header
Error in pixReadStream: jp2: no pix returned
Error in pixRead: pix not read
Error in pixCompareRGB: pix2 not defined or not ew bpp
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

Test spp = 1, bpp = 8, cmap with alpha file:
Info in pixReadStreamPng: converting (cmap + alpha) ==> RGBA
Info in pixReadStreamPng: converting 8 bpp cmap with alpha ==> RGBA
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read webp
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Info in pixCompareRGB: Images are pixel-wise identical
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

Test spp = 1, fully transparent with alpha file:
Info in pixReadStreamPng: transparency, 1 spp, no colormap, no transparency array: convention is fully transparent image
Info in pixReadStreamPng: converting (fully transparent 1 spp) ==> RGBA
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read pnm
Error in pixReadStreamPnm: read error type 6
Error in pixReadStream: pnm: no pix returned
Error in pixRead: pix not read
Error in pixEqualWithAlpha: pix1 and pix2 not both defined
Info in ioFormatTest:    **** bad pnm image: d = 32 ****
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read webp
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Info in pixCompareRGB: Images are pixel-wise identical
diff =   0.000

Test spp = 2, gray with alpha file:
Info in pixReadStreamPng: converting (gray + alpha) ==> RGBA
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read webp
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Info in pixCompareRGB: Images are pixel-wise identical
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

  ******* Failure on at least one i/o format test ******
--8<---------------cut here---------------end--------------->8---

I'm not sure from the above output what is wrong exactly.  To be investigated.

-- 
Thanks,
Maxim




             reply	other threads:[~2023-08-21 19:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-21 19:44 Maxim Cournoyer [this message]
2024-02-15 12:59 ` bug#65441: leptonica 1.83.1 ioformats_reg test failure Ahmad Draidi via Bug reports for GNU Guix
2024-02-24 10:26   ` Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edjwcha6.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=65441@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.