Summary: | app-backup/bacula-2.0.3 compile fails with USE="doc" --- Bus error in gs with -dCompatibilityLevel=1.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dereck <dmartin> |
Component: | Current packages | Assignee: | Sparc Porters <sparc> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | printing, wschlich |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | Sparc64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 153189 |
Description
Dereck
2007-07-31 20:25:13 UTC
A SPARC-explicit bug so assigning to us. Also it's a tetex bug rather than bacula (probably). Problem is somewhere in ghostscript-eps (gs). The Bus error comes from dvipdf, which expands into: dvips -q -f bacula.dvi | gs $OPTIONS -q pdNOPAUSE ... and in this call, $OPTIONS is empty. Compare this to splitting this up: dvips -q -f bacula.dvi > bacula.ps ps2pdf bacula.ps bacula.pdf That works fine, however. Difference? ps2pdf forces -dCompatibilityLevel=1.2 As a quick check, try ps2pdf -dCompatibilityLevel=1.3 bacula.ps c.pdf and we have our bus error again. As a final check, change the dvipdf calls in the Makefile to dvipdf -dCompatibilityLevel=1.2 bacula.dvi bacula.pdf etc and everything works. So, failure is caused by defaulting to CompatibilityLevel=1.3, which results in a bus error from ghostscript-esp (gs). I don't know if this is sparc-specific or configuration-specific. It does not fail on amd64 for me, so I suspect sparc. Problem still is in ghostscript, though, so I am adding them to the CC. Dereck, Please upgrade to ghostscript-8.15.4 and try again. For me, with -8.15.4, everything works fine. If it works for you (or doesn't), please report back. The fix for this will then be a version bump for ghostscript-esp, but I'd like to know if that upgrade works for you. Also, app-text/ghostscript-gpl-8.57 cures this problem. Hence, I have added ~sparc keyword to -8.57 because (1) it fixes this bug; (2) it otherwise seems to work like it should; (3) it is an eventual replacement for ghostscript-esp, according to genstef. Dereck, please do try -esp-8.15.4 --- soon I am going to mark that version stable and close this bug. bacula-2.0.3 builds fine with USE=doc if you upgrade to ghostcript-esp-0.15.4 or to ghostscript-gpl-8.57. Because ghostscript-gpl has less of a track record, I am marking -esp-0.15.4 stable and closing this bug. You MUST upgrade ghostscript for USE=doc to work, however; hence the resolution WORKSFORME. Please note that genstef prefers -gpl-8.60, and once it enters the tree, it will be the target ghostscript to fix this bug (in fact, it builds and works on sparc, except for the minor problem that its ebuild is not yet in cvs). |