Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 110166

Summary: Injecting KDE prevents *ALL* KDE apps to be compiled with the "arts" USE flag
Product: Portage Development Reporter: Bug Gert <halosphere996>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***