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

Bug 29399

Summary: db-4.0.14-r2/tcl circular dependency when 'tcltk' flag in USE during gentoo install
Product: Gentoo Linux Reporter: Dwight Tuinstra <tuinstra>
Component: New packagesAssignee: Paul de Vrieze (RETIRED) <pauldv>
Status: VERIFIED LATER    
Severity: minor CC: dev-portage, phosphan, utx
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dwight Tuinstra 2003-09-22 19:44:35 UTC
I'm installing a new gentoo system, from stage 1.  
 
Have done 'emerge sync' (23 Sept 2003, 2:20 UTC) and  
'emerge system -f', and edited make.conf to have  
ACCEPT_KEYWORDS="~x86" and have the USE flags  
include tcltk. 
 
'emerge system' gets to db-4.0.14-r2 and fails during the config 
stage with the messages: 
 
  configure: error: /usr/lib directory doesn't contain tclConfig.sh 
 
  !!! ERROR: sys-libs/db-4.0.14-r2 failed. 
  !!! Function src_compile, Line 73, Exitcode 1 
  !!! (no error message) 
 
However, when I turn off tcltk in the USE flags (USE=" ... -tcltk ...") 
the configuration succeeds. Turn the flag back on, configuration  
fails. 
 
I can't try compiling tcl or tk first, as they show db as a dependency. 
It appears that with the USE flags set as I have them, there is a 
circular dependency. 
 
I am trying workaround of unsetting 'tcltk' in USE flags, emerging 
just db, resetting tcltk, and proceeding with emerge system. I'm 
not planning on using db+tcltk for anything. 

Reproducible: Always
Steps to Reproduce:
see Details 
Actual Results:  
see Details 

Expected Results:  
Should have configured db for compiling, and compiled it. 

Possible relevance: have emerged the sun java jdk (1.4.2.01)  
rather than blackdown.
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-07 02:49:28 UTC
This is a portage issue. Currently there is not really a way to solve it,
until support for circular deps is added to portage
Comment 2 Florian Effenberger 2004-02-04 06:30:21 UTC
Any news on this? I get this when emerging dev-lang/tk-8.4.5...
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2004-02-04 06:44:57 UTC
Not yet, what you might want to do is add
"sys-libs/db -tcl" to /etc/portage/package.use (with a pre version of portage)
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-19 12:49:56 UTC
Closing the bug