The problem is with the following: x11-misc/google-gadgets-0.10.2-r2 -> currently installed, it blocks spidermonkey. When I upgraded to it, I had to unmerge spidermonkey when trying to run "emerge -avuDN world" I got blockers because gxine (also installed) depends on spidermonkey Then, I tried to downgrade x11-misc/google-gadgets-0.10.2-r2 to 0.10.0-r2, that doesn't block spidermonkey, but, then, emerge fails with the following error: # emerge -1av =x11-misc/google-gadgets-0.10.0-r2 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-lang/spidermonkey-1.7.0 USE="-threadsafe" 1,139 kB [ebuild UD] x11-misc/google-gadgets-0.10.0-r2 [0.10.2-r2] USE="dbus gstreamer gtk -debug -qt4" 2,441 kB [blocks B ] dev-lang/spidermonkey ("dev-lang/spidermonkey" is blocking x11-misc/google-gadgets-0.10.2-r2) Total: 2 packages (1 downgrade, 1 new), Size of downloads: 3,579 kB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked I know that "dev-lang/spidermonkey" is blocking x11-misc/google-gadgets-0.10.2-r2, but it shouldn't abort emerge because it will be uninstalled My emerge --info: Portage 2.1.6 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r4-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5 Timestamp of tree: Mon, 08 Dec 2008 12:39:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.4.8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe -msse3" DISTDIR="/usr/distfiles" FEATURES="autoaddcvs ccache collision-protect cvs distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org" LANG="es_ES.UTF-8" LC_ALL="es_ES.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="es es_ES en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amr asf audiofile avahi bash-completion beagle berkdb bzip2 bzlib cairo caps cdb cdda cddb cdinstall cdparanoia cdr cli consolekit cpdflib cpudetection cracklib cross crypt css cups curl daap dbus dga dirac divx4linux djvu dlloader dri dts dv dvb dvd dvdr dvdread dvi eds emboss encode epiphany erandom escreen evo evolution exif fam fame fbcon ffmpeg flac foomaticdb fortran ftp fuse galago gb gcj gd ggi gif gimp gimpprint git glitz glut glx gnome gnome-keyring gnome-print gphoto2 gpm gsm gstreamer gtk gtk2 hal hddtemp iconv idn imagemagick imlib inotify isdnlog ithreads jabber java java6 jpeg kdeenablefinal kdehiddenvisibility kpathsea ladspa lame latex lcms libnotify lm_sensors logrotate lzma mad madwifi midi mikmod mime mjpeg mmx mmxext mng mono moonlight motif mp3 mpeg mpi mplayer mudflap multilib musepack musicbrainz nas nautilus ncurses nethack network nls nocardbus nptl nptlonly ntp nvidia ogg oggvorbis openal opengl openmp pam pango pch pcre pdf perl plotutils png posix postscript ppds pppd python qt3 qt3support qt4 quicktime readline reflection remote rtc scanner schroedinger scrobbler sdl session slang slp sockets speex spell spl sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs sysvipc t1lib tcpd theora threads thunderbird tiff timidity totem trayicon truetype unicode usb v4l2 vcd vhook videos vim vorbis wma wmf x264 xattr xcb xcomposite xft xine xml xml2 xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always
(In reply to comment #0) > I know that "dev-lang/spidermonkey" is blocking > x11-misc/google-gadgets-0.10.2-r2, but it shouldn't abort emerge because it > will be uninstalled No, this is incorrect. You stated yourself that gxine depends on spidermonkey..So, why would portage unmerge spidermonkey and leave gxine broken? This would be much worse than having a blocker exist. Regardless, assigning to portage team for further review.
It does seem like it should resolve automatically since x11-misc/google-gadgets-0.10.2-r2 will be replaced. Can you please attach emerge --debug output for the same command?
(In reply to comment #1) > No, this is incorrect. You stated yourself that gxine depends on > spidermonkey..So, why would portage unmerge spidermonkey and leave gxine > broken? This would be much worse than having a blocker exist. > Maybe I have misexplained it sorry, the expected behavior from my point of view is that portage would let me downgrade to previus google-gadgets version (that doesn't block spidermonkey), but it doesn't allow me to do it (In reply to comment #2) > It does seem like it should resolve automatically since > x11-misc/google-gadgets-0.10.2-r2 will be replaced. Can you please attach > emerge --debug output for the same command? > Yes, of course: # emerge -1av =x11-misc/google-gadgets-0.10.0-r2 --debug myaction None myopts {'--debug': True, '--oneshot': True, '--ask': True, '--verbose': True} These are the packages that would be merged, in order: Calculating dependencies Arg: =x11-misc/google-gadgets-0.10.0-r2 Atom: =x11-misc/google-gadgets-0.10.0-r2 ebuild: x11-misc/google-gadgets-0.10.0-r2 Parent: ('ebuild', '/', 'x11-misc/google-gadgets-0.10.0-r2', 'merge') Depstring: >=dev-lang/spidermonkey-1.7.0 x11-libs/libX11 x11-libs/libXext >=dev-libs/libxml2-2.6.32 >=sys-libs/zlib-1.2.3-r1 dbus? ( sys-apps/dbus ) gstreamer? ( >=media-libs/gstreamer-0.10.19 >=media-libs/gst-plugins-base-0.10.19 ) gtk? ( dbus? ( >=dev-libs/dbus-glib-0.74 ) >=x11-libs/cairo-1.6.4 >=x11-libs/gtk+-2.12.10 >=x11-libs/pango-1.20.3 gnome-base/librsvg >=net-libs/xulrunner-1.8.1.14 >=net-misc/curl-7.18.1 >=dev-libs/atk-1.22.0 ) qt4? ( dbus? ( >=x11-libs/qt-dbus-4.4.0 ) >=x11-libs/qt-core-4.4.0 >=x11-libs/qt-webkit-4.4.0 >=x11-libs/qt-xmlpatterns-4.4.0 >=x11-libs/qt-opengl-4.4.0 >=x11-libs/qt-script-4.4.0 ) >=dev-util/pkgconfig-0.20 =sys-devel/automake-1.10* >=sys-devel/autoconf-2.61 sys-devel/libtool Priority: hard Candidates: ['x11-libs/libX11', '>=dev-util/pkgconfig-0.20', 'x11-libs/libXext', '=sys-devel/automake-1.10*', 'gnome-base/librsvg', '>=media-libs/gst-plugins-base-0.10.19', '>=net-misc/curl-7.18.1', '>=x11-libs/cairo-1.6.4', '>=x11-libs/pango-1.20.3', 'sys-devel/libtool', '>=dev-libs/dbus-glib-0.74', '>=sys-devel/autoconf-2.61', 'sys-apps/dbus', '>=sys-libs/zlib-1.2.3-r1', '>=dev-libs/atk-1.22.0', '>=net-libs/xulrunner-1.8.1.14', '>=dev-lang/spidermonkey-1.7.0', '>=dev-libs/libxml2-2.6.32', '>=media-libs/gstreamer-0.10.19', '>=x11-libs/gtk+-2.12.10'] ebuild: x11-libs/libX11-1.1.4 installed: x11-libs/libX11-1.1.4 ebuild: dev-util/pkgconfig-0.23 installed: dev-util/pkgconfig-0.23 ebuild: x11-libs/libXext-1.0.3 installed: x11-libs/libXext-1.0.3 ebuild: sys-devel/automake-1.10.1-r1 installed: sys-devel/automake-1.10.1-r1 ebuild: gnome-base/librsvg-2.22.2 installed: gnome-base/librsvg-2.22.2 ebuild: media-libs/gst-plugins-base-0.10.20 installed: media-libs/gst-plugins-base-0.10.20 ebuild: net-misc/curl-7.18.2 installed: net-misc/curl-7.18.2 ebuild: x11-libs/cairo-1.6.4-r1 installed: x11-libs/cairo-1.6.4-r1 ebuild: x11-libs/pango-1.20.5 installed: x11-libs/pango-1.20.5 ebuild: sys-devel/libtool-1.5.26 installed: sys-devel/libtool-1.5.26 ebuild: dev-libs/dbus-glib-0.76 installed: dev-libs/dbus-glib-0.76 ebuild: sys-devel/autoconf-2.61-r2 installed: sys-devel/autoconf-2.61-r2 ebuild: sys-apps/dbus-1.2.3-r1 installed: sys-apps/dbus-1.2.3-r1 ebuild: sys-libs/zlib-1.2.3-r1 installed: sys-libs/zlib-1.2.3-r1 ebuild: dev-libs/atk-1.22.0 installed: dev-libs/atk-1.22.0 ebuild: net-libs/xulrunner-1.9.0.4-r1 installed: net-libs/xulrunner-1.9.0.4-r1 ebuild: dev-lang/spidermonkey-1.7.0 ebuild: dev-libs/libxml2-2.7.2-r1 installed: dev-libs/libxml2-2.7.2-r1 ebuild: media-libs/gstreamer-0.10.20 installed: media-libs/gstreamer-0.10.20 ebuild: x11-libs/gtk+-2.12.11 installed: x11-libs/gtk+-2.12.11 Exiting... ('ebuild', '/', 'x11-misc/google-gadgets-0.10.0-r2', 'merge') Parent: ('ebuild', '/', 'x11-misc/google-gadgets-0.10.0-r2', 'merge') Depstring: >=dev-lang/spidermonkey-1.7.0 x11-libs/libX11 x11-libs/libXext >=dev-libs/libxml2-2.6.32 >=sys-libs/zlib-1.2.3-r1 dbus? ( sys-apps/dbus ) gstreamer? ( >=media-libs/gstreamer-0.10.19 >=media-libs/gst-plugins-base-0.10.19 ) gtk? ( dbus? ( >=dev-libs/dbus-glib-0.74 ) >=x11-libs/cairo-1.6.4 >=x11-libs/gtk+-2.12.10 >=x11-libs/pango-1.20.3 gnome-base/librsvg >=net-libs/xulrunner-1.8.1.14 >=net-misc/curl-7.18.1 >=dev-libs/atk-1.22.0 ) qt4? ( dbus? ( >=x11-libs/qt-dbus-4.4.0 ) >=x11-libs/qt-core-4.4.0 >=x11-libs/qt-webkit-4.4.0 >=x11-libs/qt-xmlpatterns-4.4.0 >=x11-libs/qt-opengl-4.4.0 >=x11-libs/qt-script-4.4.0 ) Priority: medium Candidates: ['x11-libs/libX11', 'x11-libs/libXext', 'gnome-base/librsvg', '>=media-libs/gst-plugins-base-0.10.19', '>=net-misc/curl-7.18.1', '>=x11-libs/cairo-1.6.4', '>=x11-libs/pango-1.20.3', '>=dev-libs/dbus-glib-0.74', 'sys-apps/dbus', '>=sys-libs/zlib-1.2.3-r1', '>=dev-libs/atk-1.22.0', '>=net-libs/xulrunner-1.8.1.14', '>=dev-lang/spidermonkey-1.7.0', '>=dev-libs/libxml2-2.6.32', '>=media-libs/gstreamer-0.10.19', '>=x11-libs/gtk+-2.12.10'] Exiting... ('ebuild', '/', 'x11-misc/google-gadgets-0.10.0-r2', 'merge') Parent: ('ebuild', '/', 'dev-lang/spidermonkey-1.7.0', 'merge') Depstring: threadsafe? ( dev-libs/nspr ) Priority: hard Candidates: [] Exiting... ('ebuild', '/', 'dev-lang/spidermonkey-1.7.0', 'merge') Parent: ('ebuild', '/', 'dev-lang/spidermonkey-1.7.0', 'merge') Depstring: threadsafe? ( dev-libs/nspr ) Priority: medium Candidates: [] Exiting... ('ebuild', '/', 'dev-lang/spidermonkey-1.7.0', 'merge') Virtual Parent: virtual/tex-base-0 Virtual Depstring: || ( app-text/texlive-core app-text/tetex app-text/ptex ) Virtual Parent: virtual/tex-base-0 Virtual Depstring: || ( app-text/texlive-core app-text/tetex app-text/ptex ) ... done! [ebuild N ] dev-lang/spidermonkey-1.7.0 USE="-threadsafe" 1,139 kB [ebuild UD] x11-misc/google-gadgets-0.10.0-r2 [0.10.2-r2] USE="dbus gstreamer gtk -debug -qt4" 2,441 kB [blocks B ] dev-lang/spidermonkey ("dev-lang/spidermonkey" is blocking x11-misc/google-gadgets-0.10.2-r2) Total: 2 packages (1 downgrade, 1 new), Size of downloads: 3,579 kB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
The reason is that x11-misc/google-gadgets-0.10.2-r2 uses one of the new EAPI 2 !!atom blockers: '!!dev-lang/spidermonkey'. This means that emerge would have to uninstall x11-misc/google-gadgets-0.10.2-r2 before installing spidermonkey, and this type of resolution is not currently handled automatically.
(In reply to comment #4) > The reason is that x11-misc/google-gadgets-0.10.2-r2 uses one of the new EAPI 2 > !!atom blockers: '!!dev-lang/spidermonkey'. This means that emerge would have > to uninstall x11-misc/google-gadgets-0.10.2-r2 before installing spidermonkey, > and this type of resolution is not currently handled automatically. > Is then normal that portage takes care of dependencies of x11-misc/google-gadgets-0.10.2-r2 even when it will be replaces by google-gadgets-0.10.0-r2? OK, thanks for info :-)
(In reply to comment #5) > Is then normal that portage takes care of dependencies of > x11-misc/google-gadgets-0.10.2-r2 even when it will be replaces by > google-gadgets-0.10.0-r2? OK, thanks for info :-) Yes, to some extent. Since the !!dev-lang/spidermonkey blocker is in RDEPEND, it means that it should never be temporarily installed simultaneously with spidermonkey. If it was only in DEPEND, then it wouldn't matter since DEPEND is ignored for packages that are already built/installed (unless --with-bdeps=y is enabled).
(In reply to comment #6) > If it was only in DEPEND, then it wouldn't matter since DEPEND is > ignored for packages that are already built/installed (unless --with-bdeps=y is > enabled). > I understand it, thanks a lot for the explanation (again) =)
*** This bug has been marked as a duplicate of bug 294162 ***
I think that other bug is different.
*** Bug 340064 has been marked as a duplicate of this bug. ***
This also hit me, when I was using these ebuilds: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=tree;f=net-im;h=a5988754dde813b687f6cc4d256f01ce17b9ac65;hb=3a1dba50b4dcdedd61a2484d35e0637e02e85921 [ebuild U ] net-im/ktp-common-internals-0.5.80 [0.5.2] [ebuild U ] net-im/ktp-filetransfer-handler-0.5.80 [0.5.2] [ebuild U ] net-im/ktp-accounts-kcm-0.5.80 [0.5.2] [ebuild U ] net-im/ktp-contact-runner-0.5.80 [0.5.2] [ebuild U ] net-im/ktp-kded-module-0.5.80 [0.5.2.1] [ebuild U ] net-im/ktp-auth-handler-0.5.80 [0.5.2] [ebuild U ] net-im/ktp-contact-list-0.5.80 [0.5.2] [ebuild U ] net-im/ktp-call-ui-0.5.80 [0.5.2] [ebuild U ] net-im/ktp-send-file-0.5.80 [0.5.2] [ebuild N ] net-im/ktp-desktop-applets-0.5.80 USE="(-aqua) -debug" LINGUAS="de -ca -cs -da -el -es -et -fi -fr -ga -gl -hu -it -ja -km -lt -nb -nds -nl -pl -pt -pt_BR -ru -sk -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv -uk -zh _CN -zh_TW" [ebuild U ] net-im/ktp-text-ui-0.5.80 [0.5.2] [ebuild U ] net-im/ktp-approver-0.5.80 [0.5.2] [ebuild U ] net-im/kde-telepathy-meta-0.5.80 [0.5.2] [blocks B ] net-im/ktp-presence-applet ("net-im/ktp-presence-applet" is blocking net-im/ktp-desktop-applets-0.5.80) [blocks B ] <net-im/ktp-text-ui-0.5.80 ("<net-im/ktp-text-ui-0.5.80" is blocking net-im/ktp-common-internals-0.5.80) [blocks B ] net-im/ktp-contact-applet ("net-im/ktp-contact-applet" is blocking net-im/ktp-desktop-applets-0.5.80) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (net-im/ktp-desktop-applets-0.5.80::kde, ebuild scheduled for merge) pulled in by >=net-im/ktp-desktop-applets-0.5.80 required by (net-im/kde-telepathy-meta-0.5.80::kde, ebuild scheduled for merge) (net-im/ktp-common-internals-0.5.80::kde, ebuild scheduled for merge) pulled in by >=net-im/ktp-common-internals-0.5.80 required by (net-im/ktp-call-ui-0.5.80::kde, ebuild scheduled for merge) >=net-im/ktp-common-internals-0.5.80 required by (net-im/ktp-accounts-kcm-0.5.80::kde, ebuild scheduled for merge) >=net-im/ktp-common-internals-0.5.80 required by (net-im/ktp-auth-handler-0.5.80::kde, ebuild scheduled for merge) >=net-im/ktp-common-internals-0.5.80 required by (net-im/ktp-contact-list-0.5.80::kde, ebuild scheduled for merge) >=net-im/ktp-common-internals-0.5.80 required by (net-im/ktp-filetransfer-handler-0.5.80::kde, ebuild scheduled for merge) >=net-im/ktp-common-internals-0.5.80 required by (net-im/ktp-kded-module-0.5.80::kde, ebuild scheduled for merge) >=net-im/ktp-common-internals-0.5.80 required by (net-im/ktp-contact-runner-0.5.80::kde, ebuild scheduled for merge) >=net-im/ktp-common-internals-0.5.80 required by (net-im/ktp-send-file-0.5.80::kde, ebuild scheduled for merge) >=net-im/ktp-common-internals-0.5.80 required by (net-im/kde-telepathy-meta-0.5.80::kde, ebuild scheduled for merge) >=net-im/ktp-common-internals-0.5.80 required by (net-im/ktp-desktop-applets-0.5.80::kde, ebuild scheduled for merge)
*** Bug 483718 has been marked as a duplicate of this bug. ***
*** Bug 606730 has been marked as a duplicate of this bug. ***