Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
shouldn't cups depend on ghostscript-esp?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mijenix
Guru
Guru


Joined: 22 Apr 2003
Posts: 393
Location: Switzerland

PostPosted: Sat Aug 05, 2006 6:39 pm    Post subject: shouldn't cups depend on ghostscript-esp? Reply with quote

Hi

I installed cups. I configured my HP LaserJet 6MP.
After configuring it, I would print a testpage, but I see that the job was cancelled.
I looked in the cups_error and saw that:

Quote:

E [05/Aug/2006:20:15:05 +0200] Unable to convert file 0 to printable format for job 4!
I [05/Aug/2006:20:15:05 +0200] Hint: Do you have ESP Ghostscript installed?


I emerged ghostscript-esp since then, the testpage was printed out.

But I'm a little bit confused, why portage does not emerges ghostscript-esp when I emerge cups?
Is there any useflag I don't set? Or why I need manually install ghostscript-esp?

My useflags:

Quote:

USE="x86 X acpi alsa asf avi berkdb bitmap-fonts bluetooth bzip2 cdr cdrom css cups dlloader dri dvd dvdr dvdread encode gdbm gif jpeg jpeg2k libwww mad mmx mp3 ncurses nls no-seamonkey nptl nsplugin ogg opengl pcmcia pcre pdf png python quicktime readline samba session spell sse sse2 ssl svg tiff truetype truetype-fonts udev vorbis win32codecs x264 xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_evdev kernel_linux userland_GNU video_cards_radeon video_cards_fglrx"


Thanks in advice.
Back to top
View user's profile Send private message
mijenix
Guru
Guru


Joined: 22 Apr 2003
Posts: 393
Location: Switzerland

PostPosted: Sun Aug 06, 2006 8:11 pm    Post subject: Reply with quote

should I post a bug for this?
Back to top
View user's profile Send private message
carl.anderson
Apprentice
Apprentice


Joined: 05 Sep 2005
Posts: 162
Location: Mountain View

PostPosted: Thu Aug 10, 2006 2:31 am    Post subject: Reply with quote

Did you have a version of ghostscript installed before esp? You might want to try emerging ghostscript-gpl instead of ghostscript-esp, since it seems that development on ghostscript-gpl is more active.
Back to top
View user's profile Send private message
mijenix
Guru
Guru


Joined: 22 Apr 2003
Posts: 393
Location: Switzerland

PostPosted: Thu Aug 10, 2006 12:02 pm    Post subject: Reply with quote

Hi

No but I thought that when I emerge cups, portage will automatically emerge a ghostscript when it's really needed.
That's the point that I don't understand and makes fear for me.
Or did I miss a useflag for that or is it possible that cups don't need ghostscript to print?
Back to top
View user's profile Send private message
carl.anderson
Apprentice
Apprentice


Joined: 05 Sep 2005
Posts: 162
Location: Mountain View

PostPosted: Thu Aug 10, 2006 12:25 pm    Post subject: Reply with quote

It looks like ghostscript has a cups useflag, but not the other way around. Looking at the ebuilds, >=cups-1.2 declared virtual/ghostscript as a PDEPEND, which means ghostscript has to be merged after cups.

I'm assuming you had installed a 1.1.X version of cups, so that explains the missing dep, but I have a hard time understanding how this would have eluded the cups ebuild maintainers thus far. There's probably a reason.

However, if you had been installing >=cups-1.2, it should have included some version of ghostscript. The other possibility is that it did in fact install ghostscript-gpl (or some other non-esp flavor) and then failed to use it properly. In that case, cups depends on ghostscript-esp and I'd say you should file a bug for that.
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Tue Aug 22, 2006 2:44 pm    Post subject: Reply with quote

Hi, I've posted a bug which is similar to this:

https://bugs.gentoo.org/show_bug.cgi?id=144751

As I said at the end of the report, as far as I can tell, making the cups ebuild depend on virtual/ghostscript should solve both our problems.
_________________
Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Tue Aug 22, 2006 2:52 pm    Post subject: Reply with quote

Sorry, this was a temprorarily bug because I did not know that built_with_use dies when the package is not installed.

It was introduced 17Aug and fixed 18 Aug.
Back to top
View user's profile Send private message
chtephan
Apprentice
Apprentice


Joined: 03 Feb 2004
Posts: 266
Location: Offenburg, Germany

PostPosted: Tue Aug 22, 2006 4:12 pm    Post subject: Reply with quote

Has Easysoft already integrated all their features with ghostscript-gpl? I haven't seen an announcement yet that ghostscript-esp is history.
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Tue Aug 22, 2006 4:56 pm    Post subject: Reply with quote

I've emerge --sync'd now and everything seems fine. Funny though, because I normally sync every two days... but my emerge.log confirms that my last sync was indeed on the 18th. How odd :?
_________________
Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum