Permalink
Browse files

change use portage error added

  • Loading branch information...
1 parent 494ee0f commit 938889d53344445e48f23cfa1c55b5c1bb1c3c67 @sjvermeu committed Nov 2, 2010
Showing with 28 additions and 0 deletions.
  1. +3 −0 ChangeLog
  2. +25 −0 src/linux_sea/09-softwaremanagement.xml
View
@@ -1,5 +1,8 @@
** (2010-11-02) Sven Vermeulen <sven.vermeulen@siphos.be>
- Switch from slocate to mlocate
+ - Add information on Portage error where a dependency cannot
+ be met because a dependency must be built with different USE
+ settings
** (2010-09-11) Sven Vermeulen <sven.vermeulen@siphos.be>
- Add information on elog files
@@ -1940,6 +1940,31 @@ sys-apps/dbus:0
</section>
<section>
+ <title>Dependency required with different USE flags</title>
+
+ <para>When a package has a dependency on another package, but requires
+ this dependency to be build with some USE flags which you currently
+ have not set, Portage will give you an appropriate error:</para>
+
+ <programlisting>emerge: there are no ebuilds built with USE flags to
+satisfy "&gt;=x11-libs/qt-sql-4.5.0:4[mysql]".
+
+!!! One of the following packages is required to complete your request:
+- x11-libs/qt-sql-4.5.2 (Change USE: +mysql)
+
+(dependency required by "app-office/akonadi-server-1.2.1" [ebuild])</programlisting>
+
+ <para>In the above case, the package <package>akonadi-server</package>
+ requires <package>qt-sql</package> (as a dependency) to be built with
+ <parameter>USE="mysql"</parameter>.</para>
+
+ <para>The solution: either add the requested USE flag to your global
+ USE flags (in <filename>/etc/make.conf</filename>) or set the USE flag
+ specifically for the selected package (in
+ <filename>/etc/portage/package.use</filename>).</para>
+ </section>
+
+ <section>
<title>Other Issues</title>
<para>A few other issues can come up:</para>

0 comments on commit 938889d

Please sign in to comment.