Bug 1183335
| Summary: | pstoedit-3.70: -help no longer lists any loadable drivers (including svg) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rex Dieter <rdieter> | ||||
| Component: | pstoedit | Assignee: | Jiri Popelka <jpopelka> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 22 | CC: | jonathan.underwood, jpopelka, OliverBurghard | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | pstoedit-3.70-2.fc22 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-08-11 02:06:36 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1247182 | ||||||
| Attachments: |
|
||||||
> something funny is going on. :(
Yes, on my F21 machine:
# rpmbuild --recompile pstoedit-3.70-1.fc22.src.rpm
# ~/rpmbuild/BUILD/pstoedit-3.70/src/.libs/pstoedit -help
OK (all drivers listed)
# ~/rpmbuild/BUILDROOT/pstoedit-3.70-1.fc21.x86_64/usr/bin/pstoedit -help
not OK (no drivers listed)
(In reply to Jiri Popelka from comment #1) > # ~/rpmbuild/BUILDROOT/pstoedit-3.70-1.fc21.x86_64/usr/bin/pstoedit -help > not OK (no drivers listed) But only when I have pstoedit-3.70-1.fc22.x86_64 installed. This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 I had the same problem on fedora 22. I found the following fix for opensuse: https://build.opensuse.org/package/view_file/openSUSE:Factory/pstoedit/pstoedit-pkglibdir.patch?expand=1 Then the following solved it: - pstoedit was installed into /usr/bin/pstoedit - and plugins into /usr/lib64/pstoedit - but plugins were searched in /usr/lib/pstoedit > cd /usr/lib > sudo ln -s ../lib64/pstoedit pstoedit (checking the output of 'pstoedit -help' worked instantly) *** Bug 1247187 has been marked as a duplicate of this bug. *** Upstream bug report: http://sourceforge.net/p/pstoedit/bugs/19/ Created attachment 1056644 [details]
Patch from upstream tracker
I have built with this patch and can confirm that it fixes the issue. Please can you push new packages including the patch?
pstoedit-3.70-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/pstoedit-3.70-2.fc22 Great, thanks! Package pstoedit-3.70-2.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pstoedit-3.70-2.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-12222/pstoedit-3.70-2.fc22 then log in and leave karma (feedback). pstoedit-3.70-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |
Weird, but as of pstoedit-3.70, -help output no longer lists any(most?) loadable drivers. For example, f21's `pstoedit -help` output includes: plot-svg: .svg: svg via GNU libplot (/usr/lib64/pstoedit/libp2edrvlplot.so) but, with pstoedit-3.70, the output after "Available formats" is quite short (and does not include plot-svg) Available formats : psf: .fps: Flattened PostScript (no curves) (built-in) ------------------------------------------- ps: .spsc: Simplified PostScript with curves (built-in) ------------------------------------------- debug: .dbg: for test purposes (built-in) ------------------------------------------- dump: .dbg: for test purposes (same as debug) (built-in) ------------------------------------------- gs: .gs: any device that Ghostscript provides - use gs:format, e.g. gs:pdfwrite (built-in) ------------------------------------------- ps2ai: .ai: Adobe Illustrator via ps2ai.ps of Ghostscript (built-in) ------------------------------------------- Interestingly, I tested building pstoedit-3.70 on my f21 box, and if I run pstoedit from the just-build sorce directory, it lists drivers fine, $ pwd /home/rdieter1/pkgs.fedoraproject.org/pstoedit/pstoedit-3.70/src $ ./pstoedit -help ... plot-svg: .svg: svg via GNU libplot (/home/rdieter1/pkgs.fedoraproject.org/pstoedit/pstoedit-3.70/src/.libs/libp2edrvlplot.so) ... something funny is going on. :( I only noticed because calligra checks for the pstoedit svg driver to conditionally build a filter that uses it.