Bug 1535860

Summary: ImageMagick-6.9.9.27-1.fc28 FTBFS: tests/validate-formats-map.tap fails
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: libpaperAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: deekej, mike, pahan, tcallawa, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/3984306
Whiteboard:
Fixed In Version: libpaper-1.1.24-21.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-12 15:26:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2018-01-18 07:52:22 UTC
ImageMagick-6.9.9.27-1.fc28 fails to build in F28 because tests fail:

PASS: Magick++/demo/demos.tap 24
FAIL: tests/validate-formats-map.tap 1
ERROR: tests/validate-formats-memory.tap - too few tests run (expected 1, got 0)
FAIL: tests/validate-formats-disk.tap 1
============================================================================
Testsuite summary for ImageMagick 6.9.9
============================================================================
# TOTAL: 76
# PASS:  73
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 1
============================================================================
See ./test-suite.log

A difference between passing and failing build root is at <https://apps.fedoraproject.org/koschei/build/3984306>.

This could be caused by changes in Ghostscript as reported in bug #1534655.

Comment 1 Michael Cronenworth 2018-01-18 17:28:20 UTC
I'm well aware of it. This is due to the ghostscript packaging change.

See also: https://github.com/ImageMagick/ImageMagick/issues/948

@David, I need your input on where the Resource/Init/*.gs files now live...

Comment 2 David Kaferad // Dee'Kej 2018-01-19 13:18:35 UTC
Hello Michael,

(In reply to Michael Cronenworth from comment #1)
> I'm well aware of it. This is due to the ghostscript packaging change.
> 
> See also: https://github.com/ImageMagick/ImageMagick/issues/948
> 
> @David, I need your input on where the Resource/Init/*.gs files now live...

The version of the Ghostscript is no longer part of this path:
/usr/share/ghostscript/9.22/Resource/Init/gs_resmp.ps
->> 
/usr/share/ghostscript/Resource/Init/gs_resmp.ps

It is part of the 'libgs' package now:
https://koji.fedoraproject.org/koji/fileinfo?rpmID=12537549&filename=/usr/share/ghostscript/Resource/Init/gs_resmp.ps

Comment 3 Fedora End Of Life 2018-02-20 15:30:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 4 David Kaferad // Dee'Kej 2018-03-12 13:14:39 UTC
This should be now resolved in Rawhide with latest version of libpaper package, which was causing this:
https://github.com/naota/libpaper/pull/1

Comment 5 Michael Cronenworth 2018-03-12 15:26:25 UTC
Yes, I can confirm the fix. Thanks, David, for your diligent assistance.