Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144751 - cups ebuild fails at last minute if ghostscript-gpl not preinstalled
Summary: cups ebuild fails at last minute if ghostscript-gpl not preinstalled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-22 07:41 UTC by Tom Lloyd
Modified: 2006-08-22 07:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Lloyd 2006-08-22 07:41:09 UTC
Returning to my PC after starting a routine emerge -e world, I discovered this message on the console:

>>> Original instance of package unmerged safely.
 * If you're using a USB printer, "emerge coldplug; rc-update add
 * coldplug boot" is something you should probably do. This
 * will allow any USB kernel modules (if present) to be loaded
 * automatically at boot.
 *
 * For more information about installing a printer take a look at:
 * http://www.gentoo.org/doc/en/printing-howto.xml.

!!! ERROR: net-print/cups-1.1.23-r8 failed.
Call stack:
  ebuild.sh, line 1520:   Called pkg_postinst
  cups-1.1.23-r8.ebuild, line 172:   Called built_with_use 'app-text/ghostscript-gpl' 'cups'
  eutils.eclass, line 1586:   Called die

!!! Unable to resolve app-text/ghostscript-gpl to an installed package
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! FAILED postinst: 1


Running "emerge cups" reproduces the error (it's a remerge - cups is already installed and was working last time I tried it).

"emerge -avt ghostscript-gpl" gives this:


splig ~ # emerge -avt ghostscript-gpl

These are the packages that would be merged, in reverse order:

Calculating dependencies   ... done!
[blocks B     ] app-text/ghostscript-esp (is blocking app-text/ghostscript-gpl-8.54)
[ebuild  N    ] app-text/ghostscript-gpl-8.54  USE="X cjk cups -emacs -gtk -jpeg2k" 16,967 kB

Total size of downloads: 16,967 kB

!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.


I tried unmerging ghostscript-esp, thinking that if the cups ebuild was depending on the -gpl version it would reel it in automatically.  No such luck.  When I remerging cups again I got the same error as before.  It was only when I manually merged ghostscript-gpl first that the build worked OK.  This problem is similar to one I found in the forums:
http://forums.gentoo.org/viewtopic-t-486764.html

As far as I can tell, everything would be sorted out if the cups ebuild was modified to depend on virtual/ghostscript (or even app-text/ghostscript-gpl if that's the specific one it needs) rather than whatever weirdness it's got at the moment.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-22 07:50:17 UTC
please emerge sync and try again, this bug has already been solved. Thanks