This ebuild causes ghostscript to be installed with a search path of /var/tmp/portage/ghostscript-7.07.1-r7/image//usr/share/ghostscript/7.07/lib instead of /usr/share/ghostscript/7.07/lib. As a result, gs cannot find gs_init.ps, causing gs to abort upon every file I've tried to print. Reproducible: Always Steps to Reproduce: 1. Emerge cups and ghostscript. Add printers to cups 2. Set the cups log level to debug is cupsd.conf 3. Print a test page 4. Read the error log. Actual Results: "ESP Ghostscript 7.07.1: Cannot find initialization file gs_init.ps" is in error log. Expected Results: I'm expecting hundreds of pages of important documents to print.
As a temporary fix, one can just run the following hack: > mkdir -p var/tmp/portage/ghostscript-7.07.1-r7/image//usr/share/ghostscript/7.07 > ln -s /usr/share/ghostscript/7.07/lib /var/tmp/portage/ghostscript-7.07.1-r7/image//usr/share/ghostscript/7.07/lib as long as you don't routinely delete /var/tmp/portage.
I'm hit by this bug, too...
please remerge ghostscript, that should fix the searchpath
Yup, problem solved :-)