/[gentoo]/xml/htdocs/doc/en/handbook/hb-working-portage.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-working-portage.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.75 Revision 1.76
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.75 2010/10/30 01:54:20 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.76 2011/08/12 19:24:18 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12This chapter explains the "simple" steps a user definitely needs to know to 12This chapter explains the "simple" steps a user definitely needs to know to
13maintain the software on his system. 13maintain the software on his system.
14</abstract> 14</abstract>
15 15
16<version>2</version> 16<version>3</version>
17<date>2010-10-29</date> 17<date>2011-08-12</date>
18 18
19<section> 19<section>
20<title>Welcome to Portage</title> 20<title>Welcome to Portage</title>
21<body> 21<body>
22 22
625 </li> 625 </li>
626</ul> 626</ul>
627 627
628</body> 628</body>
629</subsection> 629</subsection>
630<subsection id="USEdependency">
631<title>Necessary USE Flag Changes</title>
632<body>
633
634<pre caption="Portage warning about USE flag change requirement">
635The following USE changes are necessary to proceed:
636#required by app-text/happypackage-2.0, required by happypackage (argument)
637>=app-text/feelings-1.0.0 test
638</pre>
639
640<p>
641The error message might also be displayed as follows, if <c>--autounmask</c>
642isn't set:
643</p>
644
645<pre caption="Portage error about USE flag change requirement">
646emerge: there are no ebuilds built with USE flags to satisfy "app-text/feelings[test]".
647!!! One of the following packages is required to complete your request:
648- app-text/feelings-1.0.0 (Change USE: +test)
649(dependency required by "app-text/happypackage-2.0" [ebuild])
650(dependency required by "happypackage" [argument])
651</pre>
652
653<p>
654Such warning or error occurs when you want to install a package which not only
655depends on another package, but also requires that that package is built with a
656particular USE flag (or set of USE flags). In the given example, the package
657<c>app-text/feelings</c> needs to be built with <c>USE="test"</c>, but this USE
658flag is not set on the system.
659</p>
660
661<p>
662To resolve this, either add the requested USE flag to your global USE flags in
663<path>/etc/make.conf</path>, or set it for the specific package in
664<path>/etc/portage/package.use</path>.
665</p>
666
667</body>
668</subsection>
630<subsection id="missingdependencies"> 669<subsection id="missingdependencies">
631<title>Missing Dependencies</title> 670<title>Missing Dependencies</title>
632<body> 671<body>
633 672
634<pre caption="Portage warning about missing dependency"> 673<pre caption="Portage warning about missing dependency">

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76

  ViewVC Help
Powered by ViewVC 1.1.20