Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 141250

Summary: circular dependcy on cups & ghostscript?
Product: Gentoo Linux Reporter: Alexander Skwar <askwar>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Skwar 2006-07-21 00:44:18 UTC
# emerge -vat cups

Calculating dependencies... done!
[ebuild  N    ] net-print/cups-1.2.1-r2  USE="dbus -gnutls jpeg nls pam png -ppds -samba -slp ssl tiff" 0 kB
[ebuild  N    ]  app-text/libpaper-1.1.14.8  0 kB
[ebuild  N    ]  app-text/poppler-0.5.3  USE="jpeg" 0 kB
[ebuild  N    ]  sys-apps/dbus-0.62  USE="X -debug doc gtk -mono python qt3 qt4" 0 kB
[ebuild  N    ]   x11-libs/qt-3.3.6-r1  USE="cups -debug -doc -examples -firebird gif -immqt -immqt-bc -ipv6 -mysql -nas nis -odbc -opengl -postgres -sqlite -xinerama" 0 kB
[ebuild  N    ]   x11-libs/qt-4.1.4  USE="-accessibility cups -debug -doc -examples -firebird gif jpeg -mng -mysql -nas nis -odbc -opengl png -postgres -sqlite -xinerama zlib" 0 kB
[ebuild  N    ]   app-doc/doxygen-1.4.7  USE="-doc -qt3 -tetex" 0 kB
[ebuild  N    ]    virtual/ghostscript-0  0 kB
[ebuild  N    ]     app-text/ghostscript-gpl-8.54  USE="X -cjk cups -emacs gtk -jpeg2k" 0 kB


Compilation of ghostscript-gpl fails:

i686-pc-linux-gnu-gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -march=pentium4 -pipe  -I./obj -I./src  -o ./obj/gdevcups.o -c pstoraster/gdevcups.c
pstoraster/gdevcups.c:64:25: cups/raster.h: No such file or directory
pstoraster/gdevcups.c:65:22: cups/ppd.h: No such file or directory
pstoraster/gdevcups.c:191: error: parse error before "cups_raster_t"
pstoraster/gdevcups.c:191: warning: no semicolon at end of struct or union
pstoraster/gdevcups.c:192: warning: type defaults to `int' in declaration of `header'
pstoraster/gdevcups.c:192: warning: data definition has no type or storage class
pstoraster/gdevcups.c:194: error: parse error before '}' token
pstoraster/gdevcups.c:194: warning: type defaults to `int' in declaration of `gx_device_cups'
pstoraster/gdevcups.c:194: warning: data definition has no type or storage class
pstoraster/gdevcups.c:277: error: parse error before "gs_cups_device"
pstoraster/gdevcups.c:277: warning: type defaults to `int' in declaration of `gs_cups_device'
pstoraster/gdevcups.c:279: warning: excess elements in scalar initializer
pstoraster/gdevcups.c:279: warning: (near initialization for `gs_cups_device')
pstoraster/gdevcups.c:279: warning: excess elements in scalar initializer
pstoraster/gdevcups.c:279: warning: (near initialization for `gs_cups_device')
pstoraster/gdevcups.c:279: warning: excess elements in scalar initializer
pstoraster/gdevcups.c:279: warning: (near initialization for `gs_cups_device')
[...]
(And about a bazillion of lines, probably all caused by cups/raster.h or cups/ppd.h not being available.)

pstoraster/gdevcups.c: At top level:
pstoraster/gdevcups.c:1037: warning: 'cups_map_cielab' defined but not used
make: *** [obj/gdevcups.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: app-text/ghostscript-gpl-8.54 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  ghostscript-gpl-8.54.ebuild, line 123:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

(chroot2) dewup-ww02 / # emerge --info
Portage 2.1.1_pre3-r1 (default-linux/x86/2006.0, gcc-3.4.4/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r3.05 i686)
=================================================================
System uname: 2.6.17-gentoo-r3.05 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/Gentoo/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="         http://localhost/~vz6tml/gentoo-files http://dewup-ww02.dewup.europe.delphiauto.net/~vz6tml/gentoo-files         http://localhost/gentoo-files/ http://dewup-ww02.dewup.europe.delphiauto.net/gentoo-files/         http://localhost/~vz6tml/gentoo-files/ http://cifs-srvr1.europe.delphiauto.net/~vz6tml/Misc._Software/Gentoo/          http://alexander.skwar.name/~askwar/stuff/gentoo/            http://localhost:60081/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/         http://localhost:60080/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/         http://localhost:60082/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/         ftp://pandemonium.tiscali.de/pub/gentoo/         http://localhost:60083/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/          http://distro.ibiblio.org/pub/linux/distributions/gentoo/         ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/          http://localhost:60084/ http://distfiles.gentoo.org/ "
LANG="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/Gentoo/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/Gentoo/portage/tmp"
PORTDIR="/Gentoo/portage/tree"
PORTDIR_OVERLAY="/Gentoo/portage/local-tree/misc"
SYNC="rsync://localhost:10873/gentoo-portage"
USE="x86 X acl apache2 apm avi bash-completion berkdb bitmap-fonts cli crypt cups dbus dlloader dri emboss encode fam firefox foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib isdnlog jikes jpeg kde kdeenablefinal kdehiddenvisibility libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nis nls noaudio nptl nptlonly offensive ogg oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_void kernel_linux linguas_de userland_GNU video_cards_ati video_cards_vesa video_cards_vga video_cards_none"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexander Skwar 2006-07-21 00:46:27 UTC

*** This bug has been marked as a duplicate of 128761 ***