Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110166 - Injecting KDE prevents *ALL* KDE apps to be compiled with the "arts" USE flag
Summary: Injecting KDE prevents *ALL* KDE apps to be compiled with the "arts" USE flag
Status: RESOLVED DUPLICATE of bug 110165
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-22 11:31 UTC by Bug Gert
Modified: 2005-10-22 12:04 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 Bug Gert 2005-10-22 11:31:28 UTC
I have my own compiled versions of Qt and KDE, so I have injected Qt and KDE by adding  
these to packages.provided  
  
x11-libs/qt-3.3.4-r3  
kde-base/kdelibs-3.4.3  
kde-base/kdebase-3.4.3  
kde-base/arts-3.4.3  
kde-base/kde-3.4.3  
   

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

Actual Results:  
Now, *any* application that depends on KDE will not emerge because portage has checks in 
various places that all packages are built with the "arts" use flag or all aren't. However, these 
functions don't take into account the possibility that the packages are injected, so they fail to 
return valid results. 
 
For example, the function "best_kde_version" returns an empty string and "built_with_use" 
returns false. So when the emerge attempts to take place, and I have the "arts" flag in my USE 
flags, it will die and complain: 
 
You are trying to compile <app> with the "arts" USE flag enabled. 
However, <empty string> was compiled with this flag disabled. 
 
There are more than one of these function checks in portage, for exmple in eclass/kde.eclass, 
the function "kde_pkg_setup" 

Expected Results:  
The expected behavior is to allow KDE to be injected  and all these functions to take this into 
account so that KDE apps can be injected with the "arts" flag enabled with no problem.
Comment 1 SpanKY gentoo-dev 2005-10-22 12:04:56 UTC

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