Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270188 - qt-phonon / phonon + phonon-kde block
Summary: qt-phonon / phonon + phonon-kde block
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: REGRESSION, TESTED
: 270277 272529 (view as bug list)
Depends on: 271903
Blocks:
  Show dependency tree
 
Reported: 2009-05-17 13:26 UTC by jannis
Modified: 2009-10-14 17:00 UTC (History)
9 users (show)

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


Attachments
emerge --info (emerge-info,4.80 KB, text/plain)
2009-06-04 05:44 UTC, Oliver Schwabedissen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jannis 2009-05-17 13:26:03 UTC
I`m trying to install Amarok on my unstable System, but x11-libs/qt-phonon-4.5.1 blocks media-sound/phonon-4.3.1 and kde-base/phonon-kde-4.2.3 and the other way around. They are all dependencies of amarok! 

Reproducible: Always

Steps to Reproduce:
1.get an unstable x86-system
2.try to install amarok

Actual Results:  
Emerge gave me an error what got blocked.

Expected Results:  
amarok and the dependencies should get installed.
Comment 1 jannis 2009-05-17 13:52:42 UTC
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r4-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3600+-with-gentoo-2.0.0
Timestamp of tree: Sun, 17 May 2009 11:45:01 +0000
app-shells/bash:     4.0_p17-r1
dev-lang/python:     2.6.2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bzip2 cairo cli cracklib crypt cups dbus divx dri dvd evdev ffmpeg firefox flac fortran games gdbm gif gpm hal iconv isdnlog jpeg midi mp3 mp4 mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg ogm opengl openmp pam pcre perl png pppd python readline reflection samba session spl ssl sysfs tcpd truetype unicode usb vim-syntax vorbis x86 xorg xulrunner xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-17 18:24:29 UTC
This block is intentional and won't be dropped.
What version of amarok? Please attach the output of emerge -uDpv amarok
Comment 3 jannis 2009-05-17 20:25:29 UTC
> What version of amarok? 
2.0.2-r3

>Please attach the output of emerge -uDpv amarok

[blocks B     ] media-sound/phonon ("media-sound/phonon" is blocking x11-libs/qt
  -phonon-4.5.1)
[blocks B     ] kde-base/phonon-kde ("kde-base/phonon-kde" is blocking x11-libs/
  qt-phonon-4.5.1)
[blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking media-s
  ound/phonon-4.3.1)
[blocks B     ] x11-libs/qt-phonon ("x11-libs/qt-phonon" is blocking kde-base/kd
  elibs-4.2.3)

Total: 80 packages (80 new), Size of downloads: 221,352 kB
Conflict: 4 blocks (4 unsatisfied)

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

('ebuild', '/', 'kde-base/kdelibs-4.2.3', 'merge') pulled in by 
 >=kde-base/kdelibs-4.2.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/s
  olid-4.2.3', 'merge')
 >=kde-base/kdelibs-4.2.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/k
  de-env-4.2.3', 'merge')
 >=kde-base/kdelibs-4.2.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/k
  de-menu-icons-4.2.3', 'merge')
 (and 14 more)

('ebuild', '/', 'kde-base/phonon-kde-4.2.3', 'merge') pulled in by
 >=kde-base/phonon-kde-4.2 required by ('ebuild', '/', 'media-sound/amarok-2.
  0.2-r3', 'merge')

('ebuild', '/', 'x11-libs/qt-phonon-4.5.1', 'merge') pulled in by
 x11-libs/qt-phonon:4 required by ('ebuild', '/', 'x11-libs/qtscriptgenerator
  -0.1.0', 'merge')
 ~x11-libs/qt-phonon-4.5.1:4[-debug] required by ('ebuild', '/', 'x11-libs/qt
  -webkit-4.5.1', 'merge')
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-17 22:17:03 UTC
Please post the complete output of the previous command.
Comment 5 jannis 2009-05-18 12:22:11 UTC
here you are(it is very much!):

jannis@jannis ~ $ emerge -uDpv amarok

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

Calculating dependencies... done!
[ebuild  N    ] media-libs/libogg-1.1.3  395 kB
[ebuild  N    ] dev-cpp/clucene-0.9.21b  USE="-debug -doc -threads" 1,504 kB
[ebuild  N    ] media-libs/libmp4v2-1.5.0.1-r1  4,714 kB
[ebuild  N    ] dev-db/mysql-init-scripts-1.2  0 kB
[ebuild  N    ] media-libs/taglib-1.5  USE="-debug -test" 1,362 kB
[ebuild  N    ] sys-apps/ed-1.2  88 kB
[ebuild  N    ] dev-python/sip-4.7.9  USE="-debug" 461 kB
[ebuild  N    ] media-libs/raptor-1.4.18  USE="unicode -curl -xml" 1,619 kB
[ebuild  N    ] dev-libs/rasqal-0.9.16  USE="pcre -gmp -test -xml" 1,092 kB
[ebuild  N    ] dev-libs/redland-1.0.8  USE="berkdb ssl -mysql -postgres -sqlite -threads -xml" 3,897 kB
[ebuild  N    ] perl-core/Compress-Raw-Bzip2-2.015  USE="-test" 138 kB
[ebuild  N    ] dev-lang/nasm-2.05.01  USE="-doc" 955 kB
[ebuild  N    ] dev-perl/Net-Daemon-0.43  28 kB
[ebuild  N    ] dev-perl/yaml-0.68  91 kB
[ebuild  N    ] dev-perl/IO-String-1.08  8 kB
[ebuild  N    ] perl-core/Package-Constants-0.02  3 kB
[ebuild  N    ] virtual/perl-Test-Harness-3.17  0 kB
[ebuild  N    ] virtual/perl-Compress-Raw-Bzip2-2.015  0 kB
[ebuild  N    ] media-libs/xvid-1.2.1  USE="(-altivec) -examples" 627 kB
[ebuild  N    ] dev-perl/PlRPC-0.2020-r1  18 kB
[ebuild  N    ] media-libs/libvorbis-1.2.1_rc1-r2  USE="aotuv -doc" 1,233 kB
[ebuild  N    ] media-libs/libdca-0.0.5-r2  USE="-debug -oss" 388 kB
[ebuild  N    ] media-libs/libmodplug-0.8.7  508 kB
[ebuild  N    ] media-libs/libtheora-1.1_alpha1  USE="-doc -encode -examples" 1,527 kB
[ebuild  N    ] media-libs/libmpcdec-1.2.6-r2  245 kB
[ebuild  N    ] media-libs/libmad-0.15.1b-r5  USE="-debug" 491 kB
[ebuild  N    ] media-libs/libdvdcss-1.2.10  USE="-doc" 302 kB
[ebuild  N    ] media-libs/a52dec-0.7.4-r6  USE="-djbfft -oss" 236 kB
[ebuild  N    ] media-libs/flac-1.2.1-r3  USE="cxx ogg -3dnow (-altivec) -debug -doc -sse" 1,963 kB
[ebuild  N    ] media-sound/lame-3.98.2-r1  USE="-debug -mmx -mp3rtp -sndfile" 1,297 kB
[ebuild  N    ] perl-core/IO-Compress-Bzip2-2.015  74 kB
[ebuild  N    ] media-video/ffmpeg-0.5-r1  USE="3dnow 3dnowext X alsa encode hardcoded-tables mmx mmxext mp3 ssse3 vorbis xvid zlib (-altivec) -amr -bindist -custom-cflags -debug -dirac -doc -faac -faad -gsm -ieee1394 -ipv6 -jpeg2k -network -oss -schroedinger -sdl -speex -test -theora -threads -v4l -v4l2 -vhook -x264" 2,681 kB
[ebuild  N    ] virtual/perl-IO-Compress-Bzip2-2.015  0 kB
[ebuild  N    ] perl-core/IO-Zlib-1.09  10 kB
[ebuild  N    ] virtual/perl-IO-Zlib-1.09  0 kB
[ebuild  N    ] perl-core/Archive-Tar-1.48  USE="bzip2" 49 kB
[ebuild  N    ] virtual/perl-Archive-Tar-1.48  0 kB
[ebuild  N    ] x11-libs/qt-test-4.5.1  USE="iconv -custom-cxxflags -debug -pch" 0 kB
[ebuild  N    ] x11-libs/qt-xmlpatterns-4.5.1  USE="-custom-cxxflags -debug -pch" 0 kB
[ebuild  N    ] kde-base/automoc-0.9.88  9 kB
[ebuild  N    ] dev-libs/soprano-2.2.2  USE="clucene dbus raptor redland -debug -doc -java" 1,807 kB
[ebuild  N    ] media-fonts/dejavu-2.29  USE="X -fontforge" 4,061 kB
[ebuild  N    ] perl-core/Module-Build-0.33  246 kB
[ebuild  N    ] virtual/perl-Module-Build-0.33  0 kB
[ebuild  N    ] perl-core/ExtUtils-CBuilder-0.24  24 kB
[ebuild  N    ] virtual/perl-ExtUtils-CBuilder-0.24  0 kB
[ebuild  N    ] perl-core/ExtUtils-ParseXS-2.19  25 kB
[ebuild  N    ] virtual/perl-ExtUtils-ParseXS-2.19  0 kB
[ebuild  N    ] perl-core/File-Spec-3.30  136 kB
[ebuild  N    ] virtual/perl-File-Spec-3.30  0 kB
[ebuild  N    ] dev-perl/DBI-1.608  497 kB
[ebuild  N    ] media-libs/xine-lib-1.1.16.3  USE="X a52 alsa dts dvd flac mad modplug musepack nls opengl samba theora truetype v4l vorbis xcb xv xvmc -aac -aalib (-altivec) -arts -directfb -dxr3 -esd -fbcon -gnome -gtk -imagemagick -ipv6 -jack -libcaca -mmap -mng -oss -pulseaudio (-real) -sdl -speex -vcd -vidix (-vis) -wavpack -win32codecs -xinerama" 7,294 kB
[ebuild  N    ] x11-libs/qt-svg-4.5.1-r1  USE="iconv -custom-cxxflags -debug -pch" 0 kB
[ebuild  N    ] kde-base/qimageblitz-0.0.4  USE="-3dnow (-altivec) -debug -mmx -sse -sse2" 55 kB
[ebuild  N    ] app-misc/strigi-0.6.5  USE="clucene dbus qt4 -debug -exif -fam -hyperestraier -inotify -log -test" 885 kB
[ebuild  N    ] x11-libs/qt-phonon-4.5.1  USE="dbus -custom-cxxflags -debug -pch" 0 kB
[ebuild  N    ] x11-libs/qt-webkit-4.5.1  USE="-custom-cxxflags -debug -pch" 0 kB
[ebuild  N    ] x11-libs/qt-opengl-4.5.1  USE="qt3support -custom-cxxflags -debug -pch" 0 kB
[ebuild  N    ] media-sound/phonon-4.3.1  USE="xcb xine -debug -gstreamer" 563 kB
[ebuild  N    ] dev-python/PyQt4-4.4.4-r4  USE="X dbus opengl webkit -debug -doc -examples -qt3support -svg" 6,819 kB
[ebuild  N    ] x11-libs/qtscriptgenerator-0.1.0  USE="-debug" 366 kB
[ebuild  N    ] kde-base/kdelibs-4.2.3  USE="acl alsa bzip2 nls opengl semantic-desktop ssl -3dnow (-altivec) -bindist -debug -doc -fam -jpeg2k -kdeprefix -kerberos -mmx -openexr -spell -sse -sse2 -test -zeroconf" 9,794 kB
[ebuild  N    ] kde-base/kde-env-4.2.3  USE="-kdeprefix" 0 kB
[ebuild  N    ] kde-base/kdebase-data-4.2.3  USE="-kdeprefix" 67,705 kB
[ebuild  N    ] kde-base/kephal-4.2.3  USE="-debug -kdeprefix" 49,612 kB
[ebuild  N    ] kde-base/phonon-kde-4.2.3  USE="xine -debug -kdeprefix -pulseaudio" 0 kB
[ebuild  N    ] kde-base/pykde4-4.2.3  USE="-akonadi -debug -examples -kdeprefix -semantic-desktop" 4,625 kB
[ebuild  N    ] kde-base/libplasmaclock-4.2.3  USE="opengl -debug -kdeprefix -xinerama" 0 kB
[ebuild  N    ] kde-base/libkworkspace-4.2.3  USE="-debug -kdeprefix" 0 kB
[ebuild  N    ] kde-base/ksysguard-4.2.3  USE="-debug -doc -kdeprefix -lm_sensors -test" 0 kB
[ebuild  N    ] kde-base/kioclient-4.2.3  USE="-debug -kdeprefix" 0 kB
[ebuild  N    ] kde-base/kde-menu-icons-4.2.3  USE="-kdeprefix" 0 kB
[ebuild  N    ] kde-base/libtaskmanager-4.2.3  USE="-debug -kdeprefix" 0 kB
[ebuild  N    ] dev-db/mysql-5.0.76-r1  USE="berkdb embedded perl ssl -big-tables -cluster -debug -extraengine -latin1 -max-idx-128 -minimal (-selinux) -static" 33,859 kB
[ebuild  N    ] virtual/mysql-5.0  0 kB
[ebuild  N    ] dev-perl/DBD-mysql-4.01.0  123 kB
[ebuild  N    ] kde-base/solid-4.2.3  USE="(-bluetooth) -debug -kdeprefix -networkmanager" 7 kB
[ebuild  N    ] kde-base/soliduiserver-4.2.3  USE="-debug -kdeprefix" 0 kB
[ebuild  N    ] kde-base/plasma-workspace-4.2.3  USE="python -debug -doc -google-gadgets -kdeprefix -rss -xcomposite -xinerama" 0 kB
[ebuild  N    ] media-sound/amarok-2.0.2-r3  USE="mp4 opengl semantic-desktop -cdaudio -daap -debug -ifp -ipod -mp3tunes -mtp -njb" LINGUAS="de -ar -be -bg -ca -cs -csb -da -el -eo -es -et -eu -fi -fr -ga -gl -he -is -it -ja -km -ko -ku -lt -lv -nb -nds -ne -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -se -si -sk -sl -sv -th -tr -uk -zh_CN -zh_TW" 4,864 kB
[blocks B     ] media-sound/phonon ("media-sound/phonon" is blocking x11-libs/qt-phonon-4.5.1)
[blocks B     ] kde-base/phonon-kde ("kde-base/phonon-kde" is blocking x11-libs/qt-phonon-4.5.1)
[blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking media-sound/phonon-4.3.1)
[blocks B     ] x11-libs/qt-phonon ("x11-libs/qt-phonon" is blocking kde-base/kdelibs-4.2.3)

Total: 80 packages (80 new), Size of downloads: 221,352 kB
Conflict: 4 blocks (4 unsatisfied)

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

('ebuild', '/', 'kde-base/kdelibs-4.2.3', 'merge') pulled in by
>=kde-base/kdelibs-4.2.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/solid-4.2.3', 'merge')
>=kde-base/kdelibs-4.2.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/kde-env-4.2.3', 'merge')
>=kde-base/kdelibs-4.2.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/kde-menu-icons-4.2.3', 'merge')
(and 14 more)

('ebuild', '/', 'kde-base/phonon-kde-4.2.3', 'merge') pulled in by
>=kde-base/phonon-kde-4.2 required by ('ebuild', '/', 'media-sound/amarok-2.0.2-r3', 'merge')

('ebuild', '/', 'x11-libs/qt-phonon-4.5.1', 'merge') pulled in by
x11-libs/qt-phonon:4 required by ('ebuild', '/', 'x11-libs/qtscriptgenerator-0.1.0', 'merge')
~x11-libs/qt-phonon-4.5.1:4[-debug] required by ('ebuild', '/', 'x11-libs/qt-webkit-4.5.1', 'merge')


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
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-18 14:10:57 UTC
Relevant info:

[ebuild  N    ] media-sound/amarok-2.0.2-r3  USE="mp4 opengl semantic-desktop
-cdaudio -daap -debug -ifp -ipod -mp3tunes -mtp -njb" LINGUAS="de -ar -be -bg
-ca -cs -csb -da -el -eo -es -et -eu -fi -fr -ga -gl -he -is -it -ja -km -ko
-ku -lt -lv -nb -nds -ne -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -se -si -sk -sl
-sv -th -tr -uk -zh_CN -zh_TW" 4,864 kB

[ebuild  N    ] media-sound/phonon-4.3.1  USE="xcb xine -debug -gstreamer" 563
kB

We just need one more detail, please post the output of emerge -pv qt-qt3support
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-18 14:12:55 UTC
*** Bug 270277 has been marked as a duplicate of this bug. ***
Comment 8 jannis 2009-05-18 20:57:02 UTC
here you are:

jannis@jannis ~ $ emerge -pv qt-qt3support

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

Calculating dependencies... done!
[ebuild   R   ] x11-libs/qt-qt3support-4.5.1  USE="accessibility -custom-cxxflags -debug -pch -phonon" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 9 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-19 12:57:22 UTC
So, given the following:

[ebuild  N    ] media-sound/amarok-2.0.2-r3  
[ebuild  N    ] media-sound/phonon-4.3.1  USE="-gstreamer"
[ebuild   R   ] x11-libs/qt-qt3support-4.5.1  USE="-phonon"

We still get:

('ebuild', '/', 'x11-libs/qt-phonon-4.5.1', 'merge') pulled in by
x11-libs/qt-phonon:4 required by ('ebuild', '/',
'x11-libs/qtscriptgenerator-0.1.0', 'merge')
~x11-libs/qt-phonon-4.5.1:4[-debug] required by ('ebuild', '/',
'x11-libs/qt-webkit-4.5.1', 'merge')

@yngwin:
Seems like we should add a phonon use flag to qtscriptgenerator and qt-webkit? What do you think?
Comment 10 Ben de Groot (RETIRED) gentoo-dev 2009-05-19 22:20:14 UTC
(In reply to comment #9)
> @yngwin:
> Seems like we should add a phonon use flag to qtscriptgenerator and qt-webkit?
> What do you think?

That's not possible, because both have a hard (i.e. non-optional) dependency on
|| ( x11-libs/qt-phonon media-sound/phonon )

If at this point you install media-sound/phonon on its own, does that solve the block?
Comment 11 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-20 11:03:37 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > @yngwin:
> > Seems like we should add a phonon use flag to qtscriptgenerator and qt-webkit?
> > What do you think?
> 
> That's not possible, because both have a hard (i.e. non-optional) dependency on
> || ( x11-libs/qt-phonon media-sound/phonon )
> 
> If at this point you install media-sound/phonon on its own, does that solve the
> block?

Then perhaps we could use a KDE use flag and make sure the KDE eclasses have a dep on *[kde] to avoid the blocks?
Comment 12 jannis 2009-05-20 22:10:28 UTC
hmm, for some reason it works now! I think the only thing i have done is installed phonon...^^
Comment 13 Ben de Groot (RETIRED) gentoo-dev 2009-05-21 00:00:08 UTC
(In reply to comment #11)
> Then perhaps we could use a KDE use flag and make sure the KDE eclasses have a
> dep on *[kde] to avoid the blocks?

That's an idea indeed. 

Comment 14 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-21 20:22:22 UTC
Let's reopen until we get this properly fixed.
Comment 15 Gregg Casillo 2009-05-24 05:54:18 UTC
Found my way here while attempting a fresh install of KDE-4.2.3 on a new netbook. Got the blockers everybody mentioned. Tried emerging phonon to circumvent the blockers, but I ran into another package, libmp4v2-1.5.0.1-r2, that I can't seem to install:

http://bugs.gentoo.org/show_bug.cgi?id=271022

So, I'm dead in the water before getting started, and I can't find a way to install a KDE-4 desktop at this point.
Comment 16 Ben de Groot (RETIRED) gentoo-dev 2009-05-30 19:36:01 UTC
I had to revert USE=kde on qt 4.5.1 ebuilds, as media-sound/phonon is not stable yet.
Comment 17 Gregg Casillo 2009-06-03 00:46:32 UTC
It appears that I am able to successfully navigate this block by disabling phonon support for x11-libs/qt-qt3support. Adding a "-phonon" to package.use worked for me per bug report #270277.
Comment 18 Ben de Groot (RETIRED) gentoo-dev 2009-06-03 21:20:50 UTC
(In reply to comment #17)
> It appears that I am able to successfully navigate this block by disabling
> phonon support for x11-libs/qt-qt3support. 

Yes, either that, or enable gstreamer useflag on media-sound/phonon and emerge phonon on its own before continuing.
Comment 19 Ben de Groot (RETIRED) gentoo-dev 2009-06-03 23:09:25 UTC
I have added a kde useflag to most of the relevant packages, now that media-sound/phonon is stable on the relevant arches. I hope testing will show that this will be enough to prevent the block.
Comment 20 Oliver Schwabedissen 2009-06-04 05:44:56 UTC
Created attachment 193473 [details]
emerge --info
Comment 21 Oliver Schwabedissen 2009-06-04 05:46:09 UTC
After todays sync I have a problem with media-sound/phonon-4.3.1 and
x11-libs/qt-phonon-4.5.1 blocking each other. I'm running KDE 3.5.9.

 ~ # emerge -auvqDN world
[ebuild   R   ] x11-libs/qt-qt3support-4.5.1  USE="accessibility kde%*
-custom-cxxflags -debug -pch -phonon"
[ebuild  N    ] x11-libs/qt-phonon-4.5.1  USE="dbus -custom-cxxflags -debug
-pch"
[ebuild  N    ] kde-base/automoc-0.9.88
[ebuild  N    ] media-sound/phonon-4.3.1  USE="gstreamer xcb xine -debug"
[ebuild   R   ] x11-libs/qt-webkit-4.5.1  USE="kde%* -custom-cxxflags -debug
-pch"
[blocks B     ] media-sound/phonon ("media-sound/phonon" is blocking
x11-libs/qt-phonon-4.5.1)
[blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking
media-sound/phonon-4.3.1)

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

  ('ebuild', '/', 'media-sound/phonon-4.3.1', 'merge') pulled in by
    media-sound/phonon required by ('ebuild', '/', 'x11-libs/qt-webkit-4.5.1',
'merge')

  ('ebuild', '/', 'x11-libs/qt-phonon-4.5.1', 'merge') pulled in by
    ~x11-libs/qt-phonon-4.5.1:4[-debug] required by ('ebuild', '/',
'x11-libs/qt-webkit-4.5.1', 'merge')

Both packages are required by x11-libs/qt-webkit-4.5.1 but block each other???
Comment 22 Fabio Rossi 2009-06-04 07:06:02 UTC
In webkit-4.5.1.ebuild there is the following list of deps:

    || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[debug=] media-sound/phonon )
    kde? ( media-sound/phonon )"

If qt-phonon and media-sound/phonon are not installed then qt-phonon is chosen. But if the kde useflag is enabled also media-sound/phonon should be installed...

The same in qt-4.5.1.ebuild.
Comment 23 Fabio Rossi 2009-06-04 10:00:12 UTC
*** Bug 272529 has been marked as a duplicate of this bug. ***
Comment 24 Markos Chandras (RETIRED) gentoo-dev 2009-06-04 13:50:47 UTC
DEPEND looks wrong to me 

It should be 

kde? ( media-sound/phonon )
!kde? ( x11-libs/phonon )

the || ( x11-libs/qt-phonon media-sound/phonon ) looks invalid if user has kde use flag enabled

Comment 25 Markos Chandras (RETIRED) gentoo-dev 2009-06-04 14:12:42 UTC
Ok both qt-qt3support and qt-webkit should be ok now 

Closing again :)
Comment 26 Oliver Schwabedissen 2009-06-04 16:34:43 UTC
(In reply to comment #25)
> Ok both qt-qt3support and qt-webkit should be ok now 

Looks fine here, thanks!

Comment 27 David W Noon 2009-06-04 17:56:49 UTC
(In reply to comment #25)
> Ok both qt-qt3support and qt-webkit should be ok now 
> 
> Closing again :)

There still seems to be a problem with =x11-libs/qt-4.5.1 pulling in both phonon and qt-phonon. Although this package is commented as giong away, we still have some dependencies:

dwn@abydos ~ % equery d '=x11-libs/qt-4.5.1'
[ Searching for packages depending on =x11-libs/qt-4.5.1... ]
!!! Invalid Atom: '>=app-crypt/gnupg-1.2*'
dev-util/cmake-2.6.2-r1 (qt4? >=x11-libs/qt-4.3:4)
net-dns/avahi-0.6.24-r2 (qt4? x11-libs/qt:4)

So, I cannot simply scrap the meta-package.
Comment 28 Fabio Rossi 2009-06-04 18:33:23 UTC
Yes, also the qt-4.5.1.ebuild should be modified. Thanks!
Comment 29 John (EBo) David 2009-06-05 07:33:53 UTC
With the recent changes I still was having phonon and qt-phonon mutually block blocked packages.  Then I remembered some comment about the USE flag "kde" causing problems and the meta package x11-libs/qt being slated slated for removal.  I did an experiment by changing the system USE flags with "-kde" and it caused the following packages to be rebuilt:

[ebuild   R   ] x11-libs/qt-qt3support-4.5.1  USE="-kde*"
[ebuild   R   ] dev-python/PyQt4-4.4.4-r5  USE="-kde*"
[ebuild   R   ] x11-libs/qt-webkit-4.5.1  USE="-kde%"
[ebuild  N    ] x11-libs/qt-4.5.1  USE="dbus opengl qt3support -kde"
[ebuild   R   ] app-office/openoffice-3.1.0  USE="-kde*"
[ebuild   R   ] x11-misc/keytouch-editor-3.1.3  USE="-kde*"
[ebuild   R   ] kde-base/kdeprint-3.5.9  USE="-kde*"

I've since rebuilt all these and am starting to play with OpenOffice, etc., to make sure that they still function properly.  Removing the "kde" used flag appears to have fixed the problem...

If "kde" removal causes a problem I will report back.  Hope this helps.
Comment 30 Fabio Rossi 2009-06-05 08:35:29 UTC
(In reply to comment #29)
> Removing the "kde" used flag appears to have fixed the problem...

The problem is not the kde useflag but how the deps are written. Currently only qt-4.5.1.ebuild remains to be fixed.

For a clarification read also http://ben.liveforge.org/2009/06/03/preventing-the-qt-phonon-vs-phonon-block
Comment 31 John (EBo) David 2009-06-05 12:56:30 UTC
Fabio,

I tried the suggestions in http://ben.liveforge.org/2009/06/03/preventing-the-qt-phonon-vs-phonon-block by disabling the phonon useflag for x11-libs/qt-qt3support, but I still get the following errors:

[blocks B     ] media-sound/phonon ("media-sound/phonon" is blocking x11-libs/qt-phonon-4.5.1)
[blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking media-sound/phonon-4.3.1)

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

  ('installed', '/', 'x11-libs/qt-phonon-4.5.1', 'nomerge') pulled in by
    ~x11-libs/qt-phonon-4.5.1 required by ('ebuild', '/', 'x11-libs/qt-4.5.1', 'merge')

  ('ebuild', '/', 'media-sound/phonon-4.3.1', 'merge') pulled in by
    media-sound/phonon required by ('ebuild', '/', 'x11-libs/qt-webkit-4.5.1', 'merge')
    media-sound/phonon required by ('ebuild', '/', 'x11-libs/qt-4.5.1', 'merge')

I think I am going to give it a few days/weeks for the qt-* ebuilds to sort themselves out and retry.  Thanks for the pointers though.

cheers,
Comment 32 Jiří Moravec 2009-06-05 14:12:23 UTC
(In reply to comment #31)
> Fabio,
> 
> I tried the suggestions in
> http://ben.liveforge.org/2009/06/03/preventing-the-qt-phonon-vs-phonon-block by
> disabling the phonon useflag for x11-libs/qt-qt3support, but I still get the
> following errors:
> 
> [blocks B     ] media-sound/phonon ("media-sound/phonon" is blocking
> x11-libs/qt-phonon-4.5.1)
> [blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking
> media-sound/phonon-4.3.1)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   ('installed', '/', 'x11-libs/qt-phonon-4.5.1', 'nomerge') pulled in by
>     ~x11-libs/qt-phonon-4.5.1 required by ('ebuild', '/', 'x11-libs/qt-4.5.1',
> 'merge')
> 
>   ('ebuild', '/', 'media-sound/phonon-4.3.1', 'merge') pulled in by
>     media-sound/phonon required by ('ebuild', '/', 'x11-libs/qt-webkit-4.5.1',
> 'merge')
>     media-sound/phonon required by ('ebuild', '/', 'x11-libs/qt-4.5.1',
> 'merge')
> 
> I think I am going to give it a few days/weeks for the qt-* ebuilds to sort
> themselves out and retry.  Thanks for the pointers though.
> 
> cheers,
> 

I was successful with combo:
emerge -uv1 media-sound/phonon
emerge -avuDNt --keep-going world

No block. ;)
Comment 33 John (EBo) David 2009-06-05 17:36:08 UTC
Thanks Jiří,

What, if any, modifications did you need to make to /etc/portage/package.keywords and package.use?

Comment 34 Fabio Rossi 2009-06-06 10:41:20 UTC
(In reply to comment #33)
> What, if any, modifications did you need to make to
> /etc/portage/package.keywords and package.use?

There is no need to use /etc/portage/package.keywords, the deps inside qt-4.5.1.ebuild were written in the wrong way.

The problem has been fixed in http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-4.5.1.ebuild?r1=1.9&r2=1.10, please sync with the latest portage tree.

Comment 35 John (EBo) David 2009-06-06 11:51:22 UTC
Ok...  I had to remove qt-phonon in addition, but the one-shot approach appears to be working after I added "kde" back into the use flags.  BTW, I am rsync'ing every day, so the problem was either not fixed in the tree yet, or I had emerged things that were incompatible and problematic. 

Thanks.
Comment 36 Bastiaan Visser 2009-06-11 12:28:22 UTC
not sure if i should make a new bug, but media-video/minitube pulls in x11-libs/qt-phonon as well
Comment 37 Markos Chandras (RETIRED) gentoo-dev 2009-06-11 12:47:29 UTC
I am the maintainer of minitube and I can assure you that the dependencies are correct

DEPEND="x11-libs/qt-gui:4 || ( media-sound/phonon[gstreamer] x11-libs/qt-phonon:4 )"

It will use media-sound/phonon ( gstreamer use flag is required ) or qt-phonon. It will choose the one that you have already installed. If you dont have any it will use the first one ( aka media-sound/phonon )
Comment 38 Tomáš Chvátal (RETIRED) gentoo-dev 2009-06-11 12:50:34 UTC
@Markos:
When you change dependencies you allways have to revbump. Otherwise they are not taken into depgraph.
Comment 39 John (EBo) David 2009-06-11 16:42:42 UTC
when all of this is done, which will be the preferred package?  media-sound/phonon (with the gstreamer use flag) or qt-phonon?
Comment 40 Darren Dale 2009-06-18 17:09:15 UTC
I think something is a little off in my configuration. I've enabled kde-testing, but I don't think that is the source of my problem:

  ('ebuild', '/', 'x11-libs/qt-phonon-4.5.1', 'merge') pulled in by
    x11-libs/qt-phonon required by @world

  ('ebuild', '/', 'kde-base/phonon-kde-4.2.91', 'merge') pulled in by
    kde-base/phonon-kde:4.3 required by @world
    >=kde-base/phonon-kde-4.2.91:4.3[-kdeprefix] required by ('installed', '/', 'kde-base/kdebase-startkde-4.2.91', 'nomerge')

I don't understand why qt-phonon is required by world, it is definitely not installed on my system:

$ emerge -vp qt-phonon

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

Calculating dependencies... done!
[ebuild  N    ] x11-libs/qt-phonon-4.5.1  USE="dbus -custom-cxxflags -debug -pch" 0 kB
[blocks B     ] media-sound/phonon ("media-sound/phonon" is blocking x11-libs/qt-phonon-4.5.1)
[blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking media-sound/phonon-9999)
[blocks B     ] x11-libs/qt-phonon ("x11-libs/qt-phonon" is blocking kde-base/kdelibs-9999, kde-base/kdelibs-4.2.91)
Comment 41 Ben de Groot (RETIRED) gentoo-dev 2009-06-20 15:54:28 UTC
(In reply to comment #40)
> I don't understand why qt-phonon is required by world, it is definitely not
> installed on my system:

If you have set kde and gstreamer useflags enabled, then you should have no problem. Add the -t switch to your emerge command to find out which package is pulling it in.
Comment 42 Darren Dale 2009-06-20 17:17:41 UTC
(In reply to comment #41)
> (In reply to comment #40)
> > I don't understand why qt-phonon is required by world, it is definitely not
> > installed on my system:
> 
> If you have set kde and gstreamer useflags enabled, then you should have no
> problem. Add the -t switch to your emerge command to find out which package is
> pulling it in.

Hence the reason for my post. kde and gstreamer use flags are enabled, and as I stated, qt-phonon is getting pulled in at the top level, not by another package:

$ sudo emerge -uDNvpt @world

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

Calculating dependencies... done!
[ebuild     U ] dev-python/sphinx-0.6.1-r1 [0.6.1] USE="doc -test" 0 kB [1=>0]
[ebuild  N    ]  dev-python/jinja2-2.1.1  USE="doc examples -i18n -test" 0 kB [0]
[ebuild  N    ] x11-libs/qt-phonon-4.5.1  USE="dbus -custom-cxxflags -debug -pch" 0 kB [0]
[ebuild  N    ] kde-base/phonon-kde-4.2.91  USE="xine (-aqua) -debug -kdeprefix -pulseaudio" 0 kB [2]                                                                                   
[ebuild     U ]  x11-libs/qt-core-4.5.1-r1 [4.5.1] USE="doc glib iconv qt3support ssl -custom-cxxflags -debug -pch" 0 kB [0=>3]                                                         
[blocks B     ] x11-libs/qt-phonon ("x11-libs/qt-phonon" is blocking kde-base/kdelibs-9999, kde-base/kdelibs-4.2.91)                                                                    
[blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking media-sound/phonon-9999)                                                                                       
[blocks B     ] kde-base/phonon-kde ("kde-base/phonon-kde" is blocking x11-libs/qt-phonon-4.5.1)                                                                                        
[blocks B     ] media-sound/phonon ("media-sound/phonon" is blocking x11-libs/qt-phonon-4.5.1) 
Comment 43 Jonathan Callen (RETIRED) gentoo-dev 2009-06-20 22:27:48 UTC
(In reply to comment #42)
> stated, qt-phonon is getting pulled in at the top level, not by another
> package:

In that case, check /var/lib/portage/world to see if qt-phonon is required by world itself.  If it is in there, delete that line.  Also check the sets listed in /var/lib/portage/world_sets to ensure that the problem isn't there either.
Comment 44 Darren Dale 2009-06-21 00:47:41 UTC
(In reply to comment #43)
> (In reply to comment #42)
> > stated, qt-phonon is getting pulled in at the top level, not by another
> > package:
> 
> In that case, check /var/lib/portage/world to see if qt-phonon is required by
> world itself.  If it is in there, delete that line.  Also check the sets listed
> in /var/lib/portage/world_sets to ensure that the problem isn't there either.
> 

Thanks. kde-testing includes qt-phonon in its qt-split set, which was in my world_sets file. I shouldn't have posted here with this problem, I'm sorry for adding noise.
Comment 45 wikwam 2009-06-22 13:54:08 UTC
Hello all,

today i tried an "emerge -uvaDN world" after sync.

And i ran into the qt-phonon - phonon block.

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

Calculating dependencies... done!
[nomerge      ] dev-util/qt-creator-1.1.0  USE="cmake debugger designer -debug -doc -fakevim -git -kde -perforce -subversion"  [0]
[ebuild  N    ]  x11-libs/qt-webkit-4.5.1  USE="kde -custom-cxxflags -debug -pch" 0 kB [0]
[ebuild     U ] media-video/devede-3.12c [3.6] USE="-psyco (-doc%)" 1,575 kB [0]
[ebuild   R   ] net-misc/ntp-4.2.4_p7  USE="ipv6 ssl zeroconf -caps -debug -openntpd -parse-clocks (-selinux) -vim-syntax%" 0 kB [0]
[ebuild     U ] app-text/acroread-9.1.2 [8.1.4] USE="cups ldap nsplugin -minimal" LINGUAS="de -en -fr -ja (-da%) (-es%) (-fi%) (-it%) (-ko%) (-nb%) (-nl%) (-pt%) (-sv%) (-zh_CN%) (-zh_TW%)" 64,187 kB [0]
[ebuild     U ] media-video/em8300-modules-0.17.2-r1 [0.17.2] 380 kB [?=>0]
[nomerge      ] media-sound/amarok-1.4.10_p20090130-r2  USE="amazon ipod kde musicbrainz mysql opengl python visualization xinerama -daap -debug -ifp -mp4 -mtp -njb -postgres (-real)" LINGUAS="de -af -ar -az -be -bg -bn -br -ca -cs -cy -da -el -en_GB -eo -es -et -eu -fa -fi -fr -ga -gl -he -hi -hu -id -is -it -ja -km -ko -ku -lo -lt -mk -ms -nb -nds -ne -nl -nn -pa -pl -pt -pt_BR -ro -ru -rw -se -sk -sl -sq -sr -sr@Latn -ss -sv -ta -tg -th -tr -uk -uz -zh_CN -zh_TW"  [0]
[nomerge      ]  dev-python/PyQt-3.17.6  USE="-debug -doc -examples"  [0]
[nomerge      ]   x11-libs/qscintilla-2.3.2  USE="python qt4 -debug -doc -examples"  [0]
[ebuild     U ]    dev-python/qscintilla-python-2.3.2-r2 [2.3.2] USE="qt4" 2,097 kB [0]
[nomerge      ] app-emulation/wine-1.1.12  USE="X alsa cups dbus gecko gnutls hal jack jpeg ldap ncurses opengl samba scanner xml -esd -lcms -nas -oss"  [0]
[ebuild     U ]  sys-apps/hal-0.5.11-r9 [0.5.11-r8] USE="X acpi crypt -apm -debug -dell -disk-partition -doc -laptop (-selinux)" 1,260 kB [0]
[blocks b     ] >=sys-fs/udev-126 (">=sys-fs/udev-126" is blocking sys-fs/cryptsetup-1.0.5-r1)
[ebuild     U ]  sys-fs/cryptsetup-1.0.6-r2 [1.0.5-r1] USE="nls -dynamic (-selinux)" 397 kB [0]
[ebuild     U ]   sys-fs/udev-141 [124-r2] USE="(-selinux)" 438 kB [0]
[nomerge      ] dev-util/qt-creator-1.1.0  USE="cmake debugger designer -debug -doc -fakevim -git -kde -perforce -subversion"  [0]
[nomerge      ]  x11-libs/qt-assistant-4.5.1  USE="-custom-cxxflags -debug -pch"  [0]
[nomerge      ]   x11-libs/qt-webkit-4.5.1  USE="kde -custom-cxxflags -debug -pch"  [0]
[ebuild  N    ]    media-sound/phonon-4.3.1  USE="gstreamer xcb xine -debug" 563 kB [0]
[ebuild  N    ]     kde-base/automoc-0.9.88  9 kB [0]
[nomerge      ] app-cdr/k3b-1.0.5-r5  USE="alsa css dvd dvdr encode ffmpeg flac hal mp3 musepack musicbrainz vorbis xinerama -arts -debug -emovix -sndfile -vcd" LINGUAS="de -af -ar -bg -br -bs -ca -cs -cy -da -el -en_GB -es -et -eu -fa -fi -fr -ga -gl -he -hi -hu -is -it -ja -ka -lt -mk -ms -nb -nds -nl -nn -pa -pl -pt -pt_BR -ru -rw -se -sk -sr -sr@Latn -sv -ta -tr -uk -uz -zh_CN -zh_TW"  [0]
[ebuild     U ]  app-cdr/cdrkit-1.1.9-r1 [1.1.9] USE="hfs unicode" 1,397 kB [0]
[ebuild     U ]   dev-util/cmake-2.6.4 [2.6.2-r1] USE="qt4 -emacs -vim-syntax" 3,209 kB [0]
[nomerge      ] www-plugins/mozplugger-1.10.2  [0]
[ebuild     U ]  net-libs/xulrunner-1.9.0.11 [1.9.0.10] USE="dbus startup-notification -custom-optimization -gnome -java" 33,415 kB [0]
[nomerge      ] dev-util/qt-creator-1.1.0  USE="cmake debugger designer -debug -doc -fakevim -git -kde -perforce -subversion"  [0]
[nomerge      ]  dev-util/cmake-2.6.4 [2.6.2-r1] USE="qt4 -emacs -vim-syntax"  [0]
[ebuild     U ]   dev-libs/xmlrpc-c-1.18.02 [1.06.27] USE="cgi%* curl cxx%* -abyss% -threads -tools%" 540 kB [0]
[blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking media-sound/phonon-4.3.1)
[blocks B     ] media-sound/phonon ("media-sound/phonon" is blocking x11-libs/qt-phonon-4.5.1)

Total: 18 packages (14 upgrades, 3 new, 1 reinstall), Size of downloads: 147,176 kB
Conflict: 3 blocks (2 unsatisfied)
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined

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

  ('installed', '/', 'x11-libs/qt-phonon-4.5.1', 'nomerge') pulled in by
    >=x11-libs/qt-phonon-4.5.0_rc1 required by ('installed', '/', 'dev-util/qt-creator-1.1.0', 'nomerge')

  ('ebuild', '/', 'media-sound/phonon-4.3.1', 'merge') pulled in by
    media-sound/phonon required by ('ebuild', '/', 'x11-libs/qt-webkit-4.5.1', 'merge')


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


How can this be solved?
Comment 46 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-06-22 17:51:12 UTC
(In reply to comment #45)

> Calculating dependencies... done!
> [nomerge      ] dev-util/qt-creator-1.1.0  USE="cmake debugger designer -debug
> -doc -fakevim -git -kde -perforce -subversion"  [0]
> [ebuild  N    ]  x11-libs/qt-webkit-4.5.1  USE="kde -custom-cxxflags -debug
> -pch" 0 kB [0]

> [blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking
> media-sound/phonon-4.3.1)
> [blocks B     ] media-sound/phonon ("media-sound/phonon" is blocking
> x11-libs/qt-phonon-4.5.1)
> 
>   ('installed', '/', 'x11-libs/qt-phonon-4.5.1', 'nomerge') pulled in by
>     >=x11-libs/qt-phonon-4.5.0_rc1 required by ('installed', '/',
> 'dev-util/qt-creator-1.1.0', 'nomerge')
> 
>   ('ebuild', '/', 'media-sound/phonon-4.3.1', 'merge') pulled in by
>     media-sound/phonon required by ('ebuild', '/', 'x11-libs/qt-webkit-4.5.1',
> 'merge')

As you can see in the above snippet, qt-phonon is pulled by qt-creator. The reason for that, is that you have -kde use flag for it. Please add the kde use flag and rebuild qt-creator before updating the packages or add the -N option to emerge.
Comment 47 wikwam 2009-06-22 19:46:43 UTC
(In reply to comment #46)

> As you can see in the above snippet, qt-phonon is pulled by qt-creator. The
> reason for that, is that you have -kde use flag for it. Please add the kde use
> flag and rebuild qt-creator before updating the packages or add the -N option
> to emerge.
> 

Sorry, but it doesn't work. 

#USE="kde" emerge -av qt-creator

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

Calculating dependencies... done!
[ebuild  N    ] kde-base/automoc-0.9.88  9 kB
[ebuild  N    ] media-sound/phonon-4.3.1  USE="gstreamer xcb xine -debug" 563 kB
[ebuild  N    ] x11-libs/qt-webkit-4.5.1  USE="kde -custom-cxxflags -debug -pch" 0 kB
[ebuild   R   ] dev-util/qt-creator-1.1.0  USE="cmake debugger designer kde* -debug -doc -fakevim -git -perforce -subversion" 0 kB
[blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking media-sound/phonon-4.3.1)

Total: 4 packages (3 new, 1 reinstall), Size of downloads: 572 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.

  ('installed', '/', 'x11-libs/qt-phonon-4.5.1', 'nomerge') pulled in by
    >=x11-libs/qt-phonon-4.5.0_rc1 required by ('ebuild', '/', 'dev-util/qt-creator-1.1.0', 'merge')

  ('ebuild', '/', 'media-sound/phonon-4.3.1', 'merge') pulled in by
    media-sound/phonon required by ('ebuild', '/', 'x11-libs/qt-webkit-4.5.1', 'merge')
    media-sound/phonon required by ('ebuild', '/', 'dev-util/qt-creator-1.1.0', 'merge')

I tried to unmerge qt-phonon and qt-creator to rebuild (just a try).
Then tried again.

#USE="kde" emerge -av qt-creator

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

Calculating dependencies... done!
[ebuild  N    ] x11-libs/qt-phonon-4.5.1  USE="dbus -custom-cxxflags -debug -pch" 0 kB
[ebuild  N    ] kde-base/automoc-0.9.88  9 kB
[ebuild  N    ] media-sound/phonon-4.3.1  USE="gstreamer xcb xine -debug" 563 kB
[ebuild  N    ] x11-libs/qt-webkit-4.5.1  USE="kde -custom-cxxflags -debug -pch" 0 kB
[ebuild  N    ] dev-util/qt-creator-1.1.0  USE="cmake debugger designer kde -debug -doc -fakevim -git -perforce -subversion" 0 kB
[blocks B     ] media-sound/phonon ("media-sound/phonon" is blocking x11-libs/qt-phonon-4.5.1)
[blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking media-sound/phonon-4.3.1)

Total: 5 packages (5 new), Size of downloads: 572 kB
Conflict: 2 blocks (2 unsatisfied)

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

  ('ebuild', '/', 'media-sound/phonon-4.3.1', 'merge') pulled in by
    media-sound/phonon required by ('ebuild', '/', 'x11-libs/qt-webkit-4.5.1', 'merge')
    media-sound/phonon required by ('ebuild', '/', 'dev-util/qt-creator-1.1.0', 'merge')

  ('ebuild', '/', 'x11-libs/qt-phonon-4.5.1', 'merge') pulled in by
    >=x11-libs/qt-phonon-4.5.0_rc1 required by ('ebuild', '/', 'dev-util/qt-creator-1.1.0', 'merge')

And i have kde useflag in make.conf. Why it doesn't apply to qt-creator?

Thanks
Comment 48 Markos Chandras (RETIRED) gentoo-dev 2009-06-23 10:06:00 UTC
True. Qt-creator had some leftovers from previous trials. I ve fixed it  now. Try again to merge it in one hour
Comment 49 wikwam 2009-06-23 12:43:28 UTC
(In reply to comment #48)
> True. Qt-creator had some leftovers from previous trials. I ve fixed it  now.
> Try again to merge it in one hour
> 

Thanks, works now.
Comment 50 Miguel Marco 2009-08-19 13:01:53 UTC
I have run into this same bug just by trying to update my system (i don't have kde4 installed, but do have qt4)

emerge --ask --update world

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

Calculating dependencies... done!
[ebuild     U ] sys-apps/coreutils-7.4 [7.1] USE="-gmp%"
[ebuild     U ] net-misc/wget-1.11.4 [1.11.3]
[ebuild     U ] dev-java/sun-jre-bin-1.6.0.16 [1.6.0.15]
[ebuild     U ] dev-java/sun-jdk-1.6.0.16 [1.6.0.15]
[ebuild  N    ] kde-base/automoc-0.9.88
[ebuild  N    ] media-sound/phonon-4.3.1  USE="gstreamer xcb xine -debug"
[ebuild     U ] x11-libs/qt-webkit-4.5.1-r1 [4.5.1] USE="kde%*"
[blocks B     ] media-sound/phonon ("media-sound/phonon" is blocking x11-libs/qt-phonon-4.5.1)
[blocks B     ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking media-sound/phonon-4.3.1)

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

  ('installed', '/', 'x11-libs/qt-phonon-4.5.1', 'nomerge') pulled in by
    ~x11-libs/qt-phonon-4.5.1 required by ('installed', '/', 'x11-libs/qt-4.5.1', 'nomerge')
    ~x11-libs/qt-phonon-4.5.1:4 required by ('installed', '/', 'x11-libs/qt-demo-4.5.1', 'nomerge')

  ('ebuild', '/', 'media-sound/phonon-4.3.1', 'merge') pulled in by
    media-sound/phonon required by ('ebuild', '/', 'x11-libs/qt-webkit-4.5.1-r1', 'merge')




emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-i686-AMD_Athlon-tm-_XP_2600+-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 19 Aug 2009 12:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.modulix.net/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="en es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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 /usr/portage/local/layman/science /usr/portage/local/layman/springlobby"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode esd evo fam firefox flac fortran gdbm gif gpm gstreamer ha1 hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad mikmod mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nv vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 51 Ben de Groot (RETIRED) gentoo-dev 2009-08-19 19:05:44 UTC
(In reply to comment #50)
> I have run into this same bug just by trying to update my system (i don't have
> kde4 installed, but do have qt4)

Either disable the kde useflag or unmerge qt-phonon.
Comment 52 Miguel Marco 2009-08-19 22:15:57 UTC
(In reply to comment #51)
> (In reply to comment #50)
> > I have run into this same bug just by trying to update my system (i don't have
> > kde4 installed, but do have qt4)
> 
> Either disable the kde useflag or unmerge qt-phonon.
> 
Won't that affect its reverse dependencies, such as qt-core?
Comment 53 Ben de Groot (RETIRED) gentoo-dev 2009-08-19 22:40:58 UTC
(In reply to comment #52)
> Won't that affect its reverse dependencies, such as qt-core?

No 

Comment 54 Samuli Suominen (RETIRED) gentoo-dev 2009-10-14 17:00:33 UTC
I've read the bug twice now, and couldn't find any indication of a bug.

Bugzilla is not helpdesk -> http://forums.gentoo.org