Summary: | Circular dep on dbus, cups and qt | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hanno Böck <hanno> |
Component: | [OLD] Core system | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bennet.fox, c.royling, curtlee2002, dirk.heinrichs, doug.lim, genstef, gentoo-bugs, gentoobug, jacktheripper, kavol, k_h, omschaub, qrew, ruzkie, Sna_FU, steve.sperandeo, truedfx, twey |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 154522 | ||
Bug Blocks: |
Description
Hanno Böck
2006-08-20 07:40:27 UTC
cups depends on dbus, which depends on qt, which depends on cups again. (USE="cups dbus qt3 qt4") Maybe dbus bindings should be put in separate packages? When using USE="qt3 dbus cups", we have a circular dep: dbus depends on qt qt depends on cups cups depends on dbus CCing all relevant parties The reason that emerge doesn't detect the circular dep in this case is that the dep_check call eliminates deps via dep_wordreduce so that they are not properly added to the digraph. Without representation of these deps in the digraph, the merge order calculation and circular deps detection in depgraph.altlist() do not account for them. (In reply to comment #1) > Maybe dbus bindings should be put in separate packages? That might be a good idea. If this remains assigned to dev-portage then we'll just resolve it as duplicate of bug 16365. I'll see about adding an option to emerge so that it will detect circular deps like this automatically. I have changed the dbus depend to || ( sys-apps/dbus-core sys-apps/dbus ). This will solve itself once the split dbus-0.9 is unmasked. After steev has some mono bindings and everyone had a chance to test it the unmasking can happen. Feel free to unmask it locally and watch out for bugs! *** Bug 145444 has been marked as a duplicate of this bug. *** For the people finding this bug while installing: workaround: USE="-*" emerge cups emerge qt emerge cups *** Bug 150103 has been marked as a duplicate of this bug. *** *** Bug 150714 has been marked as a duplicate of this bug. *** *** Bug 152009 has been marked as a duplicate of this bug. *** This helped out a lot. I'm a newb to gentoo and I was about to go back to spending a month building an LFS system (In reply to comment #7) > For the people finding this bug while installing: workaround: > > USE="-*" emerge cups > emerge qt > emerge cups > *** Bug 152502 has been marked as a duplicate of this bug. *** *** Bug 153377 has been marked as a duplicate of this bug. *** Not quite sure why this is assigned to us. Since the QT bindings in pre-0.90 D-Bus builds come packaged into D-Bus. Which means D-Bus depends on QT being installed. Which based on USE flags can depend on cups being installed. Which apparently genstef has added the D-Bus USE flag to. But hey... dbus-0.95 will be in ~arch soon enough. *** Bug 154861 has been marked as a duplicate of this bug. *** *** Bug 156849 has been marked as a duplicate of this bug. *** *** Bug 157057 has been marked as a duplicate of this bug. *** D-Bus 1.0.x is out. Caleb and the other QT guys, clean up your 4.2.x for ~arch'd dbus and you're set to close this. qt-4.2.2 has been removed from package mask and uses dbus. *** Bug 157546 has been marked as a duplicate of this bug. *** So can't this be closed now? (In reply to comment #21) > So can't this be closed now? > I had to rebuild my gentoo system. (Weird udev error on md root disk; still looking into it before I am posting.) So, from relative scratch now, I started building up my system: # emerge cups ... starts emerging qt-4.1.4-r2 g++ -c -pipe -O2 -march=i686 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I/usr/include/postgresql/pgsql -I. -o cups.o cups.cpp cups.cpp:1:23: error: cups/cups.h: No such file or directory cups.cpp: In function 'int main(int, char**)': cups.cpp:5: error: 'cups_dest_t' was not declared in this scope cups.cpp:5: error: 'd' was not declared in this scope cups.cpp:6: error: 'cupsGetDests' was not declared in this scope make: *** [cups.o] Error 1 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-4.1.4-r2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile qt-4.1.4-r2.ebuild, line 169: Called die Whether it is dbus or not, some circularity is still present... regards, /iaw Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo-r6 i686) ================================================================= System uname: 2.6.18-gentoo-r6 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.12.1 Last Sync: Thu, 28 Dec 2006 17:00:02 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 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.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.clarkson.edu/pub/distributions/gentoo ftp://gentoo.mirrors.pair.com ftp://mirror.nutsmaas.nl/gentoo/" PKGDIR="/usr/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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 arts berkdb bitmap-fonts bonobo bzip2 bzlib cairo calendar cdr cli cracklib crypt cups curl dbus directfb dlloader dri dv dvd dvdr eds elibc_glibc emacs emboss encode esd f77 fam fbcon firefox fortran ftp g77 gcj gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtkhtml guile hal hardened i386 iconv ieee1394 imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg kde kdeenablefinal kernel_linux ldap libedit libg++ libwww lm_sensors mad mbox mikmod mime mmx motif mozilla mp3 mpeg mval mysql nas ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba scanner sdl session slang snmp soap spell spl ssl symlink tcltk tcpd tetex threads tidy truetype truetype-fonts type1-fonts udev ungif unicode usb userland_GNU video_cards_video_cards_sis vorbis win32codecs xinerama xml xml2 xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY *** Bug 159466 has been marked as a duplicate of this bug. *** *** Bug 156247 has been marked as a duplicate of this bug. *** *** Bug 159675 has been marked as a duplicate of this bug. *** Exact same problem as comment 22 from iaw Hi, I just run into it too ... in my case, I have (nearly) default USE from the 2006.1/desktop profile - this means 'cups', 'dbus', 'qt3' and 'qt4' set (these USE are perfectly ok for me) I wanted to emerge qt this pulls qt-4, which depends on cups, which depends on dbus, which depends on qt-3 and qt-4, so that it tries to pull qt-3 at first - of course, this fails because of the configure check for cups if I try to emerge cups before qt, I am once again stuck - cups is to be emerged after dbus, and dbus wants to have qt-3 and qt-4 which do not have cups available at the time ... the solution is to make emerge to build cups at first (which can build without dbus installed), e.g. by --nodeps however, this is only a workaround, the non-interactivity of the emerge process is broken on default USE ... and I am repeating this to make clear that this bug is not ready to close in any way This bug can be closed out once dbus-1.0.x goes stable Shouldn't this bug be closed then? dbus-1.0.x is now stable... (In reply to comment #29) > Shouldn't this bug be closed then? dbus-1.0.x is now stable... > Bugs should be closed only when they have been confirmed not to reproduce. This bug in particular is a critical one for people just starting to use gentoo. It would make sense to try a fresh install as some have done to ensure that this is not reproducible. Anything else is guesswork. My two cents, Steve sys-apps/dbus no longer depends on qt thus there is no longer a circular dep. *** Bug 149463 has been marked as a duplicate of this bug. *** |