GNOME Bugzilla – Bug 586912
bootstrap.make wipes out existing $PYTHONPATH
Last modified: 2009-06-29 10:53:40 UTC
When building under tools like jhbuild, PYTHONPATH gets diverted to the local $PREFIX's site-packages directory. Unfortunately, bootstrap.make overrides this environment variable, meaning that libraries installed under the prefix but not in the system at large get ignored. On my system, this manifests as xml2po being unable to import libxml2.
Created attachment 137350 [details] [review] Patch for bootstrap.make to respect existing PYTHONPATH environment variable This patch fixes the issues caused by this bug for me on FreeBSD 7.2-RELEASE, building under jhbuild.
Hi David, Thanks for catching this and providing a patch. I've committed this and pushed the fix to git master.
*** Bug 587237 has been marked as a duplicate of this bug. ***