Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117263 - qt-3.3.4-r8 and cups-1.1.23-r7 circular dependency
Summary: qt-3.3.4-r8 and cups-1.1.23-r7 circular dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-31 04:01 UTC by Georgi Chulkov
Modified: 2006-01-05 11:35 UTC (History)
1 user (show)

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 Georgi Chulkov 2005-12-31 04:01:47 UTC
I was doing a fresh install from a stage3 tarball and I issued an "emerge -e world". When portage got to QT it failed with the following:

--- START ---

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4 ...
IBASE auto-detection...
  Could not find libgds.* anywhere in /lib /usr/lib /usr/lib/mysql
IBASE disabled.
MySQL auto-detection...
  Found libmysqlclient.* in /usr/lib
  Found mysql.h in /usr/include/mysql
MySQL enabled.
ODBC auto-detection...
  Could not find libodbc.* anywhere in /lib /usr/lib /usr/lib/mysql
ODBC disabled.
PostgreSQL auto-detection...
  Could not find libpq.* anywhere in /lib /usr/lib /usr/lib/mysql
PostgreSQL disabled.
NIS auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
  Found nsl lib in /usr/lib
  Found rpcsvc/ypclnt.h in /usr/include
  Found rpcsvc/yp_prot.h in /usr/include
NIS enabled.
CUPS auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
CUPS disabled.
Cups support cannot be enabled due to functionality tests!
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.

!!! ERROR: x11-libs/qt-3.3.4-r8 failed.
!!! Function src_compile, Line 180, Exitcode 101
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

--- END ---

Emerging cups and then resuming fixed it, which implies that QT depends on cups (at least with the cups use flag). However, "emerge -pt cups" showed that the reason portage went for QT first was that cups depends on poppler, and poppler depends on QT. CUPS however did emerge without QT. I think this should be fixed in some way - probably QT should have a dependecy on CUPS when the cups flag is set.

emerge --info:

Portage 2.1_pre2 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.10-5-386 i686)
=================================================================
System uname: 2.6.10-5-386 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.12.0_pre12
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.91.0.5
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.itdnet.net/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa apache2 atlas audiofile avi bash-completion berkdb bindist bitmap-fonts bzip2 bzlib calendar cdparanoia cdr cpdflib crypt ctype cups dba dedicated dga dio directfb divx4linux doc dv dvd dvdr dvdread encode ethereal exif fbcon ffmpeg firefox flac flash fortran ftp gcj gd ggi gif glut gphoto2 gpm gtk gtk2 gtkhtml hal howl iconv icq ieee1394 imagemagick imap imlib innodb ipv6 ithreads java javascript jpeg junit kde kdeenablefinal lame lcms libcaca libwww live mad matroska mcal ming mmx mmx2 mono monodoc mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpi msn mysql ncurses nis nls nocd nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcmcia pdf pdflib perl php pic pie plotutils png portaudio posix ppds prelude python qt quicktime readline real samba scanner sdl session sharedext simplexml slang sndfile sockets spell spl sse sse2 ssl subversion svg svga symlink tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales utf v4l vcd video videos vidix-voodoo3 visualization vorbis vorbix wifi win32codecs wmf wxwindows x86 xft xine xml xml2 xprint xsl xv xvid zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, LC_ALL, LINGUAS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-12-31 04:58:13 UTC
The cycle is an indirect one, poppler being the culprit here. The obvious solution is to create a xpdf-utils package, instead patching poppler.
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-01-05 11:35:46 UTC
poppler has been split into poppler and poppler-bindings.  Poppler-bindinds deps on qt and poppler, and qt deps on poppler.  The cycle should be fixed.