Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60227 - Portage shows incorrect usage of package.use
Summary: Portage shows incorrect usage of package.use
Status: RESOLVED DUPLICATE of bug 60178
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 07:35 UTC by Gertjan Zwartjes
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gertjan Zwartjes 2004-08-13 07:35:01 UTC
When you emerge a package that needs additional USE flags (for example php-5.0.0-r1) portage neatly informs that you can use /etc/portage/package.use. Unfortunately the format is wrong in the examples portage shows. Portage's man page shows the correct syntax.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




# emerge -u php 
>>> emerge (1 of 1) dev-php/php-5.0.0-r1 to / 
>>> md5 src_uri ;-) php-5.0.0.tar.bz2 
 
 * USE flag 'berkdb' needs these additional flag(s) set: 
 *    dba 
 *  
 * You can do this by enabling these flags in /etc/portage/package.use: 
 *     =dev-php/php-5.0.0-r1:  dba 
 *  
 * You could disable this flag instead in /etc/portage/package.use: 
 *      =dev-php/php-5.0.0-r1: -berkdb 
                             ^ 
                             | 
                             |------------------- That colon is incorrect 
                                                  according to 'man portage'. 
 
!!! ERROR: dev-php/php-5.0.0-r1 failed. 
!!! Function confutils_use_depend_all, Line 117, Exitcode 0 
!!! Need missing USE flags
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-13 15:49:02 UTC

*** This bug has been marked as a duplicate of 60178 ***