Crash: print job stopped

Bug #115837 reported by Martin Schaaf
2
Affects Status Importance Assigned to Milestone
ghostscript (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gs-esp

I don't know.

ProblemType: Bug
Architecture: amd64
Date: Sun May 20 19:18:27 2007
DistroRelease: Ubuntu 7.04
Package: gs-esp 8.15.4.dfsg.1-0ubuntu1 [modified: usr/bin/gs-esp]
PackageArchitecture: amd64
SourcePackage: gs-esp
Uname: Linux plaste 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 GNU/Linux

Revision history for this message
Martin Schaaf (mascha) wrote :
Revision history for this message
Martin Schaaf (mascha) wrote :

The launchpad doesn't add the complete report. I do not know why so I attach it manually.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Due to change of Artifex' license policy to do the head development of Ghostscript under GPL and the merger of the extra functionality of ESP Ghostscript (ESP Ghostscript is discontinued now), the packages gs-esp and gs-afpl got obsolete. They are both replaced by gs-gpl, version 8.60 or newer. I have already done a first test package:

For Gutsy download all packages from

http://www.linux-foundation.org/~till/tmp/ubuntu/gutsy/gs-gpl/binary/

and do

sudo dpkg -i *gs-esp*.deb *gs-afpl*.deb *gs-gpl*.deb

to replace your ESP and AFPL Ghostscript by the new merged GPL Ghostscript.

If you are running Feisty or older download the files from

http://www.openprinting.org/download/printing/esp-gpl-ghostscript-merge/

into the same directory. Then do

sudo apt-get install build-essential
sudo apt-get build-dep gs-esp gs-gpl
dpkg-source -x gs-gpl_8.60.dfsg.1-0ubuntu1.dsc
cd gs-gpl-8.60.dfsg.1
dpkg-buildpackage -rfakeroot
cd ..
sudo dpkg -i *gs-esp*.deb *gs-afpl*.deb *gs-gpl*.deb

Answer every question which appears with "y", so that all needed packages get installed.

Or try the distribution-independent binary package from

http://www.openprinting.org/download/printing/esp-gpl-ghostscript-merge/README

The new grand unified GPL Ghostscript will make it into Ubuntu soon, after

- Agreeing on the name with Debian: "gs-gpl" or simply "gs"
- Adding the C header files to libgs-gpl-dev
- Fixing upstream bug 689237: http://bugs.ghostscript.com/show_bug.cgi?id=689237

Please tell us your results with the test packages.

Changed in gs-esp:
status: Unconfirmed → Needs Info
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have uploaded new test packages (after working out a common concept with Debian's Ghostscript maintainer):

For Gutsy download all packages from

http://www.linux-foundation.org/~till/tmp/ubuntu/gutsy/ghostscript/binary/

and do

sudo dpkg -i *gs-esp*.deb *gs-afpl*.deb *gs-gpl*.deb *libgs*.deb *ghostscript*.deb

to replace your ESP and/or AFPL Ghostscript by the new merged GPL Ghostscript.

If you are running Feisty or older download the files from

http://www.linux-foundation.org/~till/tmp/ubuntu/gutsy/ghostscript/

into the same directory. Then do

sudo apt-get install build-essential
sudo apt-get build-dep gs-esp gs-gpl
dpkg-source -x ghostscript_8.60.dfsg.1-0ubuntu1.dsc
cd ghostscript-8.60.dfsg.1
dpkg-buildpackage -rfakeroot
cd ..
sudo dpkg -i *gs-esp*.deb *gs-afpl*.deb *gs-gpl*.deb *libgs*.deb *ghostscript*.deb

Answer every question which appears with "y", so that all needed packages get installed.

Please tell us your results with the test packages.

Revision history for this message
Martin Schaaf (mascha) wrote :

I get the following error on compilation:
/usr/bin/ld: ./obj/gdevxcmp.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
./obj/gdevxcmp.o: could not read symbols: Bad value

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

If you rebuild packages everything should work. If you are compiling upstream source code, do

export CFLAGS="-fPIC"

before running "./configure".

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have found out that when restructuring the new ghostscript packages I forgot to take over the "-fPIC". I have replaced the files by new files with equal file names now. Now you should be able to rebuild the packages also on 64-bit.

Revision history for this message
Martin Schaaf (mascha) wrote :

I changed the configure script in the way that it puts -fPIC to the CFLAGS env var. I installed the packages but gs-common can't be installed I do not get a expressive error output only that it cannot be installed but I think it is only a meta package. And the real proble mI have now that no gs interpreter is installed. The program gs is missing. It should be in ghostscript I think.

Revision history for this message
Martin Schaaf (mascha) wrote :

I found in the source directory a dir called sobin and in this dir two files gsc and gsx. I installed gsc as gs in /usr/bin and now I can view ps files.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have done some fixes and uploaded new files to:

http://www.linux-foundation.org/~till/tmp/ubuntu/gutsy/ghostscript/

Can you download them into a new empty directory and do the same procedure as before:

dpkg-source -x ghostscript_8.60.dfsg.2-0ubuntu1.dsc
cd ghostscript-8.60.dfsg.2
dpkg-buildpackage -rfakeroot
cd ..
sudo dpkg -i *gs*.deb *ghostscript*.deb

I have fixed a bug in the packagin and now the replacement of the old packages should work correctly.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Please tell whether everything returned to working state now for you. If so, I will close this bug.

Revision history for this message
Martin Schaaf (mascha) wrote :

It seems that the latest package fixes my problems. It prints again. Thank you.

Micah Cowan (micahcowan)
Changed in ghostscript:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.