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

Bug 310811

Summary: Ebuilds for libxml2 wrongly assume python is installed, even if USE=-python is used
Product: Gentoo/Alt Reporter: Guilherme Amadio <amadio>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description Guilherme Amadio gentoo-dev 2010-03-22 23:27:30 UTC
I think that this difference is what causes trouble:

+src_compile(){
@@ -76,7 +75,8 @@
 		$(use_with python)           \
 		$(use_with readline)         \
 		$(use_with readline history) \
-		$(use_enable ipv6)"
+		$(use_enable ipv6) \
+		PYTHON_SITE_PACKAGES=$(python_get_sitedir)"

This is in src_configure, and assumes you already have python.
When I first started my prefix, src_configure failed because it couldn't find python.
I just installed an early ebuild that didn't have that last line, and then emerged portage as
a workaround.

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2010-03-23 07:21:59 UTC
This must be a bootstrapping problem, because I already fixed this.

We didn't bump the bootstrap image though.  If you want to "try" it, use latest_tree instead of tree during the bootstrap.
Comment 2 Fabian Groffen gentoo-dev 2010-03-29 19:51:24 UTC
bootstrap image has been replaced, so this issue should be fixed now