After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 586912 - bootstrap.make wipes out existing $PYTHONPATH
bootstrap.make wipes out existing $PYTHONPATH
Status: VERIFIED FIXED
Product: gnome-doc-utils
Classification: Deprecated
Component: build utils
CVS HEAD
Other FreeBSD
: Normal normal
: ---
Assigned To: gnome-doc-utils maintainers
gnome-doc-utils maintainers
: 587237 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-25 05:43 UTC by David Adam
Modified: 2009-06-29 10:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for bootstrap.make to respect existing PYTHONPATH environment variable (570 bytes, patch)
2009-06-25 05:44 UTC, David Adam
committed Details | Review

Description David Adam 2009-06-25 05:43:52 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.
Comment 1 David Adam 2009-06-25 05:44:37 UTC
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.
Comment 2 Shaun McCance 2009-06-29 00:03:50 UTC
Hi David,

Thanks for catching this and providing a patch.  I've committed this and pushed the fix to git master.
Comment 3 Shaun McCance 2009-06-29 00:09:40 UTC
*** Bug 587237 has been marked as a duplicate of this bug. ***