<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux~ized &#187; blocks</title>
	<atom:link href="http://www.linuxized.com/tag/blocks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxized.com</link>
	<description>wired&#039;s /dev/urandom space</description>
	<lastBuildDate>Fri, 03 Sep 2010 18:47:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>gentoo ~testing, clean install, qt, kde 4, blocks, HELP! [fixed]</title>
		<link>http://www.linuxized.com/2009/07/gentoo-testing-clean-install-qt-kde-4-blockers-help/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxized.com/2009/07/gentoo-testing-clean-install-qt-kde-4-blockers-help/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 19:38:03 +0000</pubDate>
		<dc:creator>wired</dc:creator>
				<category><![CDATA[gentoo]]></category>
		<category><![CDATA[blockers]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.linuxized.com/?p=192</guid>
		<description><![CDATA[UPDATE: All &#60;qt-*-4.5.3:4 ebuilds were removed on Nov 11th, 2009, so this problem is now fixed So&#8230;&#8230; you&#8217;re trying to emerge kde 4 on your fresh ~ gentoo installation but strange blocks show up&#8230; stuff like [blocks B ] &#62;x11-libs/qt-opengl-4.5.1-r9999 ("&#62;x11-libs/qt-opengl-4.5.1-r9999" is blocking x11-libs/qt-gui-4.5.1-r2, x11-libs/qt-dbus-4.5.1) [blocks B ] &#62;x11-libs/qt-webkit-4.5.1-r9999 ("&#62;x11-libs/qt-webkit-4.5.1-r9999" is blocking x11-libs/qt-gui-4.5.1-r2, x11-libs/qt-dbus-4.5.1) [blocks [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style='color: red'>UPDATE</span>: All &lt;qt-*-4.5.3:4 ebuilds were removed on Nov 11th, 2009, so this problem is now fixed <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </strong></p>
<p>So&#8230;&#8230; you&#8217;re <strong>trying to emerge kde 4</strong> on your fresh ~ gentoo installation but <strong>strange blocks show up</strong>&#8230; stuff like</p>
<blockquote><p><code>[blocks B     ] &gt;x11-libs/qt-opengl-4.5.1-r9999 ("&gt;x11-libs/qt-opengl-4.5.1-r9999" is blocking x11-libs/qt-gui-4.5.1-r2, x11-libs/qt-dbus-4.5.1)<br />
[blocks B     ] &gt;x11-libs/qt-webkit-4.5.1-r9999 ("&gt;x11-libs/qt-webkit-4.5.1-r9999" is blocking x11-libs/qt-gui-4.5.1-r2, x11-libs/qt-dbus-4.5.1)<br />
[blocks B     ] &gt;x11-libs/qt-svg-4.5.1-r9999 ("&gt;x11-libs/qt-svg-4.5.1-r9999" is blocking x11-libs/qt-gui-4.5.1-r2, x11-libs/qt-dbus-4.5.1)<br />
[blocks B     ] &gt;x11-libs/qt-core-4.5.1-r9999 ("&gt;x11-libs/qt-core-4.5.1-r9999" is blocking x11-libs/qt-gui-4.5.1-r2, x11-libs/qt-dbus-4.5.1)<br />
[blocks B     ] &gt;x11-libs/qt-qt3support-4.5.1-r9999 ("&gt;x11-libs/qt-qt3support-4.5.1-r9999" is blocking x11-libs/qt-gui-4.5.1-r2, x11-libs/qt-dbus-4.5.1)<br />
[blocks B     ]<br />
[blocks B     ] x11-libs/qt-sql-4.5.1-r9999 ("&gt;x11-libs/qt-sql-4.5.1-r9999" is blocking x11-libs/qt-gui-4.5.1-r2, x11-libs/qt-dbus-4.5.1)<br />
[blocks B     ] &gt;x11-libs/qt-script-4.5.1-r9999 ("&gt;x11-libs/qt-script-4.5.1-r9999" is blocking x11-libs/qt-gui-4.5.1-r2, x11-libs/qt-dbus-4.5.1)<br />
[blocks B     ] &gt;x11-libs/qt-test-4.5.1-r9999 ("&gt;x11-libs/qt-test-4.5.1-r9999" is blocking x11-libs/qt-gui-4.5.1-r2, x11-libs/qt-dbus-4.5.1)</code></p></blockquote>
<p>All this is happening because of recent changes to gentoo&#8217;s Qt ebuilds. In Qt Team&#8217;s last meeting it was decided to make most USE flags disabled by default, to allow the user to choose which ones he wants to enable, rather than disable.</p>
<p>However, in portage&#8217;s current state, the stable Qt packages (4.5.1 version) use the old USE flags with lots of them enabled by default.</p>
<p>Now comes the tricky part. KDE depends on qt-gui with dbus USE flag enabled. Normally, when portage sees that dependency, it checks your USE flags. If dbus is enabled, all is good. If not, it breaks with an error telling you to enable it.</p>
<p>In reality this never happens. Portage first checks qt-gui-4.5.2, which doesn&#8217;t have dbus enabled by default. No go. But wait, qt-gui-4.5.1 has it enabled and portage falls back to it. So now portage tries to mix all the other qt-*-4.5.2 packages with qt-gui-4.5.1 (and its 4.5.1 dependencies) and as <a title="upgrading Qt libraries in Gentoo with Portage" href="http://www.linuxized.com/2009/06/upgrading-qt-libraries-in-gentoo-with-portage/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_blank">I&#8217;ve mentioned before</a>, this is not allowed.</p>
<p><strong>Boom, blockers.</strong></p>
<p><strong><span style="font-weight: normal;"><span style="color: #ff0000;"><span style="text-decoration: underline;">SOLUTION</span></span></span></strong></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">Ok maybe you didn&#8217;t feel like reading all of the above, so I&#8217;ve titled this so you can find it easily <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </span></span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">The solution to this problem is suprizingly easy. </span></span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;"><strong>Add &#8220;dbus&#8221; and &#8220;qt3support&#8221; to your make.conf USE (dbus can also go in package.keywords for qt-gui).</strong></span></span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">OR </span></span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;"><strong>Switch to the Desktop Profile.</strong></span></span></p>
<p><strong>Its that easy (thankfully) <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p><span style="color: #ff0000;"><span style="text-decoration: underline;">WHY DID IT HAVE TO BREAK?</span></span></p>
<p><span style="color: #ff0000;"><span><span style="color: #000000;">Thats a good question. The real reason this broke is because the stable version has +dbus (which we can&#8217;t change now cause its stable &#8211; too much hassle) and the testing version has -dbus (which is better since the idea is you get a package and &#8220;add&#8221; to it with USE flags). Since the Qt Team decided to go through with this change and Portage falls back to the older version without a warning, there&#8217;s nothing we can do about this, at least until a new Qt version goes stable with -dbus or portage&#8217;s behavior changes.</span></span></span></p>
<p><span style="color: #ff0000;"><span><span style="color: #000000;">Thats all folks =] Questions welcome in the comment system below <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxized.com/2009/07/gentoo-testing-clean-install-qt-kde-4-blockers-help/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>
