Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310811 - Ebuilds for libxml2 wrongly assume python is installed, even if USE=-python is used
Summary: Ebuilds for libxml2 wrongly assume python is installed, even if USE=-python i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High minor (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-22 23:27 UTC by Guilherme Amadio
Modified: 2010-03-29 19:51 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 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