Open Bug 789901 Opened 12 years ago Updated 2 years ago

Reset PYTHONPATH during builds

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: glandium, Unassigned)

Details

I got a nice surprise today, where m-c would fail to build with a weird error depending on which terminal i was doing that (which, since i wasn't suspecting, looked like it was depending on how the particular file was being built, since i was always launching the same commands on the same terminal). Anyways, it turns out the terminal it wasn't building on had a PYTHONPATH set that contains simplejson (because of the Jetpack SDK), and more than that, it contains a simplejson that is not the same as the one we have in the tree.

Considering we are using a virtualenv, I think we should reset PYTHONPATH.
sounds sane to me
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.