Bug 1753610 - gscan2pdf-2.5.6-1.fc32 FTBFS: tests fail with ImageMagick 1:6.9.10.67-1.fc32
Summary: gscan2pdf-2.5.6-1.fc32 FTBFS: tests fail with ImageMagick 1:6.9.10.67-1.fc32
Keywords:
Status: CLOSED DUPLICATE of bug 1776857
Alias: None
Product: Fedora
Classification: Fedora
Component: gscan2pdf
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1753607 1776857
Blocks: 1761107
TreeView+ depends on / blocked
 
Reported: 2019-09-19 12:13 UTC by Petr Pisar
Modified: 2019-11-27 15:31 UTC (History)
3 users (show)

Fixed In Version: ImageMagick-6.9.10.75-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-27 15:31:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2019-09-19 12:13:55 UTC
gscan2pdf-2.5.6-1.fc32 fails to build in F32 because some tests fail:

t/244_threshold_corrupt_image.t ............... ok
#   Failed test 'Found dark page'
#   at t/251_negate.t line 37.
#          got: '1'
#     expected: '0'
# Looks like you failed 1 test of 3.
t/251_negate.t ................................ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 
[...]
Test Summary Report
-------------------
t/251_negate.t                              (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
t/371_user_defined.t                        (Wstat: 256 Tests: 5 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
t/3722_user_defined.t                       (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
t/372_user_defined2.t                       (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=228, Tests=1050, 327 wallclock secs ( 0.62 usr  0.20 sys + 182.91 cusr 10.53 csys = 194.26 CPU)

A difference between passing and failing build root is at <https://apps.fedoraproject.org/koschei/build/6958666>. This is triggered by upgrading ImageMagick from 1:6.9.10.28-4.fc31 to 1:6.9.10.64-1.fc32.

This seems to be a regression in ImageMagick when creating a white PNM image (bug #1753607).

Comment 1 Petr Pisar 2019-11-26 13:55:20 UTC
ImageMagick-1.9.10.67-1 fixed this issue and introduced another one (bug #1776857). Tests fail like this:

$ xvfb-run -d perl -Ilib t/232_analyse_dark.t
1..2
not ok 1 - Found dark page
#   Failed test 'Found dark page'
#   at t/232_analyse_dark.t line 34.
#          got: '1'
#     expected: '0'
ok 2 - using session directory
# Looks like you failed 1 test of 2.

Comment 2 Petr Pisar 2019-11-27 15:31:30 UTC

*** This bug has been marked as a duplicate of bug 1776857 ***


Note You need to log in before you can comment on or make changes to this bug.