Package: ghostscript Version: 8.62.dfsg.1-2.1 When ghostscript is built using fakeroot, the embedded paths for GS_LIB_DEFAULT and GS_DOCDIR are set incorrectly in soobj/gconfigd.h. The locations are based on where the package is being built, not the installation path.
The following patch fixes the problem: --- ghostscript-8.62.dfsg.1/debian/rules 2008-05-30 08:15:49.000000000 -0 700 +++ ghostscript-8.62.dfsg.1/debian/rules.new 2008-06-04 12:58:12.000000000 -0 700 @@ -30,15 +30,16 @@ --with-fontpath=/var/lib/defoma/gs.d/dirs/fonts:/usr/share/cups/fonts:/u sr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts:/us r/share/fonts/type1/gsfonts DEB_MAKE_BUILD_TARGET := STDDIRS $(FT_OPTS) DEB_MAKE_INSTALL_TARGET := soinstall install-shared install-cups install-contri b-extras \ - prefix=$(CURDIR)/debian/ghostscript/usr \ - datadir=$(CURDIR)/debian/ghostscript/usr/share \ - gsdir=$(CURDIR)/debian/ghostscript/usr/share/ghostscript \ - docdir=$(CURDIR)/debian/ghostscript/usr/share/doc/ghostscript \ - exdir=$(CURDIR)/debian/ghostscript/usr/share/doc/ghostscript/exa mples \ - CUPSSERVERBIN=$(CURDIR)/debian/ghostscript/usr/lib/cups \ - CUPSSERVER=$(CURDIR)/debian/ghostscript/usr/lib/cups \ - CUPSSERVERROOT=$(CURDIR)/debian/ghostscript/etc/cups \ - CUPSDATA=$(CURDIR)/debian/ghostscript/usr/share/ppd/ghostscript + DESTDIR=$(CURDIR)/debian/ghostscript \ + prefix=/usr \ + datadir=/usr/share \ + gsdir=/usr/share/ghostscript \ + docdir=/usr/share/doc/ghostscript \ + exdir=/usr/share/doc/ghostscript/examples \ + CUPSSERVERBIN=/usr/lib/cups \ + CUPSSERVER=/usr/lib/cups \ + CUPSSERVERROOT=/etc/cups \ + CUPSDATA=/usr/share/ppd/ghostscript fail-if-cmaps-exist: @test ! -d Resource/CMap || ( \ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]