Bug 1628943
Summary: | ghostscript 9.24 breaks import of eps with scribus | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael J Gruber <mjg> | ||||||||
Component: | scribus | Assignee: | Sergi <tripledes> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 28 | CC: | andreas.bierfert, dan, mjg, rbarlow, tripledes, twaugh, zdohnal | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2018-12-10 21:41:21 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: | |||||||||||
Attachments: |
|
Description
Michael J Gruber
2018-09-14 13:05:15 UTC
Created attachment 1483329 [details]
gs errors
Created attachment 1483330 [details]
gs out
Console message: PostScript import failed when calling gs as: -q -dNOPAUSE -dNODISPLAY -dBATCH -dDELAYBIND -g1236x1336 -r288 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -c 0 0 translate -sTraceFile=/home/mjg/.scribus//ps.out -sExportFiles=/home/mjg/redacted /usr/lib64/scribus/import.prolog /home/mjg/redacted2.eps -c flush cfile closefile quit Created attachment 1483332 [details]
testcase
Additional info: - The same import problem exists with EPS exported by scribus. - The same import problem exists with a test build of scribus 1.4.7 (which apparantly fixes an incompatibility between scribus and gs 1.22) and a test build of ghostscript 9.25 (which contains more fixes to the SAFER/DELAYBIND issues). - With gostscript 9.23-1, scribus 1.4.6 imports all these EPS happily (the test case above, as well as the exports by scribus 1.4.6 and 1.4.7). The import failed for me with ghostscript-9.25 also, so I have forwarded this to upstream. It is possible this bug might need fixing in scribus instead. (In reply to David Kaspar [Dee'Kej] from comment #6) > The import failed for me with ghostscript-9.25 also, so I have forwarded > this to upstream. It is possible this bug might need fixing in scribus > instead. Thanks. I suspect that scribus' import.prolog and the new safer gs are at odds. Given that scribus "just" released their final version for the 1.4 branch (1.4.7) we'd probably have to patch downstream. The scribus 1.5 uses a different importer (poppler based). Indeed: 1.5.4 from copr luya/scribus imports all these EPS just fine whether my ghostscript is at or 9.24-1 or 9.23-1 (which is not used by scribus 1.5.x). OK, so upstream has just confirmed it. Scribus is using non-standard PS, and the support for it has been removed. Fortunately, it seems like it can be fixed in an easy way... In either case, this needs to be fixed in scribus itself, preferably upstream. https://src.fedoraproject.org/rpms/scribus/pull-request/2 contains a hotfix to make scribus 1.4.6 imports work with the current ghostscript again. I'll try and take care of upstreaming unless you (Fedora packager) prefer to do so. ... and applied upstream in the 1.4.x branch (fixed in 1.4.8svn) as per: https://bugs.scribus.net/view_all_bug_page.php?filter=194275 ------------------------------------------------------------------------ r22696 | jghali | 2018-09-17 23:36:54 +0200 (Mon, 17 Sep 2018) | 1 line Changed paths: M /branches/Version14x/Scribus/scribus/plugins/import/ps/import.prolog #15431: EPS import fails with ghostscript 9.24+ ------------------------------------------------------------------------ Thanks Michael! Just merged your PR, right now building for f30 and will backport it to f29 later. scribus-1.4.6-14.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ac19f080b5 scribus-1.4.6-14.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ac19f080b5 scribus-1.4.6-14.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2c6d59359c scribus-1.4.6-14.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2c6d59359c Michael, could you please confirm that the builds are fixing the reported issue? If so please give karma on any of the erratas. Thanks! Done scribus-1.4.6-14.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. A Fedora update associated with this bug has been pushed to the stable repository. A Fedora update associated with this bug has been pushed to the stable repository. |