Open Bug 1257794 Opened 5 years ago Updated 3 years ago

Prefer referencing manifestparser in the tree (instead of in the installed package)

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: timdream, Unassigned)

References

Details

(Keywords: regression)

From around Mar 16, after pulling the latest m-c, I can no longer build Firefox desktop on my Mac. I am getting the following message from |./mach build|:

 0:15.33 Reticulating splines...
 0:15.71 Traceback (most recent call last):
 0:15.71   File "config.status", line 1066, in <module>
 0:15.71     config_status(**args)
 0:15.71   File "/Users/timdream/Repositories/gecko/gecko-dev/python/mozbuild/mozbuild/config_status.py", line 156, in config_status
 0:15.71     definitions = list(definitions)
 0:15.71   File "/Users/timdream/Repositories/gecko/gecko-dev/python/mozbuild/mozbuild/frontend/emitter.py", line 161, in emit
 0:15.71     for out in output:
 0:15.71   File "/Users/timdream/Repositories/gecko/gecko-dev/python/mozbuild/mozbuild/frontend/reader.py", line 1066, in read_mozbuild
 0:15.71     raise bre
 0:15.71 mozbuild.frontend.reader.BuildReaderError:
 0:15.71 ==============================
 0:15.71 ERROR PROCESSING MOZBUILD FILE
 0:15.71 ==============================
 0:15.71 
 0:15.71 The error occurred while processing the following file:
 0:15.71 
 0:15.71     /Users/timdream/Repositories/gecko/gecko-dev/modules/libmar/tests/moz.build
 0:15.71 
 0:15.71 The error was triggered on line 7 of this file:
 0:15.71 
 0:15.71     XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
 0:15.71 
 0:15.71 An error was encountered as part of executing the file itself. The error appears to be the fault of the script.
 0:15.71 
 0:15.71 The error as reported by Python is:
 0:15.71 
 0:15.71     ["TypeError: __init__() got an unexpected keyword argument 'finder'\n"]
 0:15.71 
 0:15.75 *** Fix above errors and then restart with               "/Applications/Xcode.app/Contents/Developer/usr/bin/make -f client.mk build"
 0:15.75 make[2]: *** [configure] Error 1
 0:15.75 make[1]: *** [/Users/timdream/Repositories/gecko/obj-x86_64-apple-darwin14.5.0/Makefile] Error 2
 0:15.75 make: *** [build] Error 2
 0:15.76 0 compiler warnings present.

I've tried the following and they don't appear to fix the problem, but only at (4):

1. Comment out the line pointed out by the error in modules/libmar/tests/moz.build; the same error will show up just with different moz.build name.
2. Upgrade all my local Python packages from pip.
3. |git clean -dfx .| and also remove my objdir.
4. Checkout old versions -- works, and |git bisect| points the first bad commit to bug 1203266 (at https://hg.mozilla.org/mozilla-central/rev/fd993badf8b7 ). The strange thing is the date of the commit (Mar 8) is not consistent to my work dir history.

Noted that I might have |brew upgrade| a dependent package between the last successful build and the first failure build. However |./mach bootstrap| checks out:

```
Looks like you have Homebrew installed. We will install all required packages via Homebrew.

Your version of Mercurial (3.7.2) is sufficiently modern.
Your version of Python (2.7.11) is new enough.
```

Per https://dxr.mozilla.org/mozilla-central/source/python/mozboot/mozboot/osx.py#307-324 I am listing some of the package versions (ask me for more):

$ gtar --version
tar (GNU tar) 1.28
$ git --version
git version 2.7.4
$ autoconf213 --version
Autoconf version 2.13
$ watchman --version
4.4.0
$ yasm --version
yasm 1.3.0

Unfortunately I don't know where the TypeError came from (there is no line # printed in the error). |reader.py| doesn't seem to have any extra, offending `folder=` call site.

I wonder if I am the only one blocked by this error? Chris, is this something you could help? Thanks!
Flags: needinfo?(cmanchester)
Here is |git bisect log| for record keeping:

git bisect start
# good: [b5fdd0da9af29d59925a43dd62297f42760a6e0d] Bug 1248290. Add an lsan supression for libdricore9.2.1.so.
git bisect good b5fdd0da9af29d59925a43dd62297f42760a6e0d
# bad: [4080f6d718e1e8c54c32df7c4a2a3ceab8919810] Bug 1256568 - Move perl detection to moz.configure. r=gps
git bisect bad 4080f6d718e1e8c54c32df7c4a2a3ceab8919810
# good: [e8271cc8404c76c86f824da67a082d836767477d] Backed out 2 changesets (bug 1252565) for windows build bustage CLOSED TREE
git bisect good e8271cc8404c76c86f824da67a082d836767477d
# bad: [28ebf8a631ddcf4570802d8e4e8832403b6f9705] Bug 1251460 - MDSM now waits on a promise to enqueue first frame loaded. r=jya
git bisect bad 28ebf8a631ddcf4570802d8e4e8832403b6f9705
# good: [728f7c3bed0c540a850a89d68514f956cb3c3b8d] Backed out changeset ac1d42c669be (bug 1251995)
git bisect good 728f7c3bed0c540a850a89d68514f956cb3c3b8d
# bad: [e7de2e29b9eebfc22d255e582a82faa4fcf94a4b] No bug, Automated blocklist update from host bld-linux64-spot-223 - a=blocklist-update
git bisect bad e7de2e29b9eebfc22d255e582a82faa4fcf94a4b
# bad: [15a9d2d0e5c70b2fa2e2b42bc1eee78e3ae11a08] Backed out changeset 912825aa7ee1 (bug 1254145) for failing bc7 tests. r=backout
git bisect bad 15a9d2d0e5c70b2fa2e2b42bc1eee78e3ae11a08
# bad: [788d4d7a6e7aae94d8ae991c10427e7413f4ef17] Bug 1252929 - Change default layers.max-active to 3 on nightly. r=snorp
git bisect bad 788d4d7a6e7aae94d8ae991c10427e7413f4ef17
# good: [7453c33e8a0e09cc86aef77b0753c0c677415878] Bug 1253094, part 2 - Stop using DebugOnly for class/struct members in gfx/. r=Bas
git bisect good 7453c33e8a0e09cc86aef77b0753c0c677415878
# bad: [296c2bfeedf397eaad32ccb72e3f3090ca8cd1c5] Bug 1251936 - Part 1: Add a mozconfig for Windows x86 static analysis builds; r=jlund,ted
git bisect bad 296c2bfeedf397eaad32ccb72e3f3090ca8cd1c5
# good: [1a4c5abfcfedf3fce10265af8d4d355ab182416f] Bug 1253094, part 10 - Stop using DebugOnly for class/struct members in memory/. r=njn
git bisect good 1a4c5abfcfedf3fce10265af8d4d355ab182416f
# good: [ed53a9932eb00e7af5b8ae751c972e9ed3efa3f1] Bug 1203266 - Add a list variant to mozbuild.util that allows pre-processing list items with a provided callable. r=gps
git bisect good ed53a9932eb00e7af5b8ae751c972e9ed3efa3f1
# bad: [5c8ae1d162598c67ffdde0a7042684910077926f] Bug 1203266 - Remove uses of the emitter in files_info now that they're no longer needed. r=gps
git bisect bad 5c8ae1d162598c67ffdde0a7042684910077926f
I'm sorry to say I can't reproduce this. https://reviewboard.mozilla.org/r/22263/diff/2#index_header added some "finder=" named arguments to some constructors... is it possible you have some stale .pyc files in testing/mozbase/manifestparser/manifestparser/ ? From what you said about running git clean I guess it seems unlikely.
Flags: needinfo?(cmanchester) → needinfo?(timdream)
I can see |git clean -dfx .| clean up a lot of pyc files, but there isn't any in the directory you specified. Here is the output of running the command, after a failure build:

Removing addon-sdk/mach_commands.pyc
Removing build/mach_bootstrap.pyc
Removing build/valgrind/mach_commands.pyc
Removing config/MozZipFile.pyc
Removing configure
Removing dom/bindings/mach_commands.pyc
Removing dom/bindings/mozwebidlcodegen/__init__.pyc
Removing dom/media/test/external/mach_commands.pyc
Removing js/src/configure
Removing js/src/old-configure
Removing layout/tools/reftest/mach_commands.pyc
Removing layout/tools/reftest/reftest/__init__.pyc
Removing layout/tools/reftest/reftestcommandline.pyc
Removing mobile/android/mach_commands.pyc
Removing obj-x86_64-apple-darwin14.5.0/
Removing old-configure
Removing python/blessings/blessings/__init__.pyc
Removing python/compare-locales/mach_commands.pyc
Removing python/jsmin/jsmin/__init__.pyc
Removing python/mach/mach/__init__.pyc
Removing python/mach/mach/base.pyc
Removing python/mach/mach/commands/commandinfo.pyc
Removing python/mach/mach/config.pyc
Removing python/mach/mach/decorators.pyc
Removing python/mach/mach/dispatcher.pyc
Removing python/mach/mach/logging.pyc
Removing python/mach/mach/main.pyc
Removing python/mach/mach/mixin/__init__.pyc
Removing python/mach/mach/mixin/logging.pyc
Removing python/mach/mach/mixin/process.pyc
Removing python/mach/mach/registrar.pyc
Removing python/mach_commands.pyc
Removing python/mozboot/mozboot/mach_commands.pyc
Removing python/mozbuild/mozbuild/__init__.pyc
Removing python/mozbuild/mozbuild/action/__init__.pyc
Removing python/mozbuild/mozbuild/action/buildlist.pyc
Removing python/mozbuild/mozbuild/backend/__init__.pyc
Removing python/mozbuild/mozbuild/backend/base.pyc
Removing python/mozbuild/mozbuild/backend/common.pyc
Removing python/mozbuild/mozbuild/backend/configenvironment.pyc
Removing python/mozbuild/mozbuild/backend/fastermake.pyc
Removing python/mozbuild/mozbuild/backend/mach_commands.pyc
Removing python/mozbuild/mozbuild/backend/recursivemake.pyc
Removing python/mozbuild/mozbuild/base.pyc
Removing python/mozbuild/mozbuild/compilation/__init__.pyc
Removing python/mozbuild/mozbuild/compilation/codecomplete.pyc
Removing python/mozbuild/mozbuild/compilation/warnings.pyc
Removing python/mozbuild/mozbuild/config_status.pyc
Removing python/mozbuild/mozbuild/controller/__init__.pyc
Removing python/mozbuild/mozbuild/controller/building.pyc
Removing python/mozbuild/mozbuild/controller/clobber.pyc
Removing python/mozbuild/mozbuild/frontend/__init__.pyc
Removing python/mozbuild/mozbuild/frontend/context.pyc
Removing python/mozbuild/mozbuild/frontend/data.pyc
Removing python/mozbuild/mozbuild/frontend/emitter.pyc
Removing python/mozbuild/mozbuild/frontend/mach_commands.pyc
Removing python/mozbuild/mozbuild/frontend/reader.pyc
Removing python/mozbuild/mozbuild/frontend/sandbox.pyc
Removing python/mozbuild/mozbuild/jar.pyc
Removing python/mozbuild/mozbuild/mach_commands.pyc
Removing python/mozbuild/mozbuild/makeutil.pyc
Removing python/mozbuild/mozbuild/mozconfig.pyc
Removing python/mozbuild/mozbuild/mozinfo.pyc
Removing python/mozbuild/mozbuild/preprocessor.pyc
Removing python/mozbuild/mozbuild/pythonutil.pyc
Removing python/mozbuild/mozbuild/shellutil.pyc
Removing python/mozbuild/mozbuild/testing.pyc
Removing python/mozbuild/mozbuild/util.pyc
Removing python/mozbuild/mozbuild/virtualenv.pyc
Removing python/mozbuild/mozpack/__init__.pyc
Removing python/mozbuild/mozpack/chrome/__init__.pyc
Removing python/mozbuild/mozpack/chrome/flags.pyc
Removing python/mozbuild/mozpack/chrome/manifest.pyc
Removing python/mozbuild/mozpack/errors.pyc
Removing python/mozbuild/mozpack/executables.pyc
Removing python/mozbuild/mozpack/files.pyc
Removing python/mozbuild/mozpack/manifests.pyc
Removing python/mozbuild/mozpack/mozjar.pyc
Removing python/mozbuild/mozpack/path.pyc
Removing python/psutil/build/
Removing python/psutil/psutil/__init__.pyc
Removing python/psutil/psutil/_common.pyc
Removing python/psutil/psutil/_compat.pyc
Removing python/psutil/psutil/_psosx.pyc
Removing python/psutil/psutil/_psposix.pyc
Removing python/psutil/psutil/_psutil_osx.so
Removing python/psutil/psutil/_psutil_posix.so
Removing python/virtualenv/virtualenv.pyc
Removing python/which/which.pyc
Removing services/common/tests/mach_commands.pyc
Removing testing/firefox-ui/mach_commands.pyc
Removing testing/luciddream/mach_commands.pyc
Removing testing/mach_commands.pyc
Removing testing/marionette/mach_commands.pyc
Removing testing/mochitest/mach_commands.pyc
Removing testing/mozbase/mozfile/mozfile/__init__.pyc
Removing testing/mozbase/mozfile/mozfile/mozfile.pyc
Removing testing/mozbase/mozhttpd/mozhttpd/__init__.pyc
Removing testing/mozbase/mozhttpd/mozhttpd/handlers.pyc
Removing testing/mozbase/mozhttpd/mozhttpd/mozhttpd.pyc
Removing testing/mozbase/mozinfo/mozinfo/__init__.pyc
Removing testing/mozbase/mozinfo/mozinfo/mozinfo.pyc
Removing testing/mozbase/mozinfo/mozinfo/string_version.pyc
Removing testing/mozbase/mozlog/mozlog/__init__.pyc
Removing testing/mozbase/mozlog/mozlog/commandline.pyc
Removing testing/mozbase/mozlog/mozlog/formatters/__init__.pyc
Removing testing/mozbase/mozlog/mozlog/formatters/base.pyc
Removing testing/mozbase/mozlog/mozlog/formatters/errorsummary.pyc
Removing testing/mozbase/mozlog/mozlog/formatters/html/__init__.pyc
Removing testing/mozbase/mozlog/mozlog/formatters/html/html.pyc
Removing testing/mozbase/mozlog/mozlog/formatters/machformatter.pyc
Removing testing/mozbase/mozlog/mozlog/formatters/process.pyc
Removing testing/mozbase/mozlog/mozlog/formatters/tbplformatter.pyc
Removing testing/mozbase/mozlog/mozlog/formatters/unittest.pyc
Removing testing/mozbase/mozlog/mozlog/formatters/xunit.pyc
Removing testing/mozbase/mozlog/mozlog/handlers/__init__.pyc
Removing testing/mozbase/mozlog/mozlog/handlers/base.pyc
Removing testing/mozbase/mozlog/mozlog/handlers/bufferhandler.pyc
Removing testing/mozbase/mozlog/mozlog/handlers/statushandler.pyc
Removing testing/mozbase/mozlog/mozlog/handlers/valgrindhandler.pyc
Removing testing/mozbase/mozlog/mozlog/logtypes.pyc
Removing testing/mozbase/mozlog/mozlog/proxy.pyc
Removing testing/mozbase/mozlog/mozlog/reader.pyc
Removing testing/mozbase/mozlog/mozlog/structuredlog.pyc
Removing testing/mozbase/mozlog/mozlog/unstructured/__init__.pyc
Removing testing/mozbase/mozlog/mozlog/unstructured/logger.pyc
Removing testing/mozbase/mozlog/mozlog/unstructured/loggingmixin.pyc
Removing testing/mozbase/mozlog/mozlog/unstructured/loglistener.pyc
Removing testing/mozbase/moznetwork/moznetwork/__init__.pyc
Removing testing/mozbase/moznetwork/moznetwork/moznetwork.pyc
Removing testing/mozbase/mozprocess/mozprocess/__init__.pyc
Removing testing/mozbase/mozprocess/mozprocess/processhandler.pyc
Removing testing/mozbase/mozsystemmonitor/mozsystemmonitor/__init__.pyc
Removing testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.pyc
Removing testing/mozharness/mach_commands.pyc
Removing testing/talos/mach_commands.pyc
Removing testing/taskcluster/mach_commands.pyc
Removing testing/web-platform/mach_commands.pyc
Removing testing/xpcshell/mach_commands.pyc
Removing testing/xpcshell/xpcshellcommandline.pyc
Removing tools/docs/mach_commands.pyc
Removing tools/mach_commands.pyc
Removing tools/mercurial/mach_commands.pyc
Removing tools/power/mach_commands.pyc

Anything else I should be looking at?
Flags: needinfo?(timdream)
BTW, I never mention I am on OS X 10.10 and is planning to upgrade to 10.11 soon. Should I keep the environment so we could keep debugging?
Flags: needinfo?(cmanchester)
With try-and-error, I found an workaround of this bug:

diff --git a/python/mozbuild/mozbuild/testing.py b/python/mozbuild/mozbuild/testing.py
index f65b888..88c9468 100644
--- a/python/mozbuild/mozbuild/testing.py
+++ b/python/mozbuild/mozbuild/testing.py
@@ -291,8 +291,7 @@ def all_test_flavors():
 def read_manifestparser_manifest(context, manifest_path):
     path = mozpath.normpath(mozpath.join(context.srcdir, manifest_path))
     return manifestparser.TestManifest(manifests=[path], strict=True,
-                                       rootdir=context.config.topsrcdir,
-                                       finder=context._finder)
+                                       rootdir=context.config.topsrcdir)
 
 def read_reftest_manifest(context, manifest_path):
     path = mozpath.normpath(mozpath.join(context.srcdir, manifest_path))
I can now confirm the problem come from manifestparser v1.1 installed in my Python environment! The bug is fixed by removing that from it: |pip uninstall manifestparser|.

The `import` here needs to point the copy of manifestparser in the tree, instead of the one in the environment.

https://dxr.mozilla.org/mozilla-central/rev/b3006e4e09af81825badbad69fa3e8c546c7507c/python/mozbuild/mozbuild/testing.py#17

I can see plain `import manifestparser` elsewhere in the tree as well. I don't understand Python well enough, however, to know to reference the manifestparser in the tree (and how they ended up import the one in the tree when there isn't one installed).

BTW, manifestparser must have been installed globally when I installed something need it like mozregression I guess? Below is my `pip list` after uninstalling manifestparser:

alabaster (0.7.7)
Babel (2.2.0)
BeautifulSoup (3.2.1)
blessings (1.6)
CacheControl (0.11.6)
closure-linter (2.3.13)
colorama (0.3.7)
configobj (5.0.6)
docutils (0.12)
dulwich (0.12.0)
futures (3.0.5)
hg-git (0.8.5)
Jinja2 (2.8)
lockfile (0.12.2)
ManifestDestiny (0.6)
MarkupSafe (0.23)
mercurial (3.7.2)
mohawk (0.3.2.1)
mozcrash (0.17)
mozdevice (0.48)
mozdownload (1.20.2)
mozfile (1.2)
mozinfo (0.9)
mozInstall (1.12)
mozlog (3.1)
moznetwork (0.27)
mozprocess (0.22)
mozprofile (0.28)
mozregression (2.3.2)
mozrunner (6.11)
mozversion (1.4)
pip (8.1.1)
progressbar (2.3)
Pygments (2.1.3)
python-gflags (2.0)
pytz (2016.1)
redo (1.5)
requests (2.9.1)
requests-hawk (1.0.0)
setuptools (18.7.1)
six (1.10.0)
slugid (1.0.7)
snowballstemmer (1.2.1)
Sphinx (1.3.6)
sphinx-rtd-theme (0.1.9)
taskcluster (0.2.0)
treeherder-client (2.0.1)
vboxapi (1.0)
virtualenv (15.0.1)
wheel (0.24.0)
Summary: "TypeError: __init__() got an unexpected keyword argument 'finder'" when running recent m-c build → Prefer referencing manifestparser in the tree (instead of in the installed package)
Interesting. The build system should be running inside m-c virtualenv right?

https://developer.mozilla.org/en-US/docs/Python/Virtualenv#The_Mozilla-Central_Virtualenv

I checked |obj-x86_64-apple-darwin14.5.0/_virtualenv/lib/python2.7/site-packages/manifestparser.pth| and it does output the correct path when the build errored:  ../../../../../testing/mozbase/manifestparser
Add a |print sys.path| in testing.py gives me this, which puts system path before local path:

['/Users/timdream/Repositories/gecko/gecko-dev/obj-x86_64-apple-darwin14.5.0',
'/usr/local/lib/python2.7/site-packages',
'/Users/timdream/Repositories/gecko/gecko-dev/obj-x86_64-apple-darwin14.5.0',
'/Users/timdream/Repositories/gecko/gecko-dev/obj-x86_64-apple-darwin14.5.0/_virtualenv/lib/python27.zip',
'/Users/timdream/Repositories/gecko/gecko-dev/obj-x86_64-apple-darwin14.5.0/_virtualenv/lib/python2.7',
'/Users/timdream/Repositories/gecko/gecko-dev/obj-x86_64-apple-darwin14.5.0/_virtualenv/lib/python2.7/plat-darwin',
'/Users/timdream/Repositories/gecko/gecko-dev/obj-x86_64-apple-darwin14.5.0/_virtualenv/lib/python2.7/plat-mac',
'/Users/timdream/Repositories/gecko/gecko-dev/obj-x86_64-apple-darwin14.5.0/_virtualenv/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/timdream/Repositories/gecko/gecko-dev/obj-x86_64-apple-darwin14.5.0/_virtualenv/lib/python2.7/lib-tk',
'/Users/timdream/Repositories/gecko/gecko-dev/obj-x86_64-apple-darwin14.5.0/_virtualenv/lib/python2.7/lib-old',
'/Users/timdream/Repositories/gecko/gecko-dev/obj-x86_64-apple-darwin14.5.0/_virtualenv/lib/python2.7/lib-dynload',
'/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/timdream/Repositories/gecko/gecko-dev/obj-x86_64-apple-darwin14.5.0/_virtualenv/lib/python2.7/site-packages',
'/Users/timdream/Repositories/gecko/gecko-dev/python/bitstring',
'/Users/timdream/Repositories/gecko/gecko-dev/python/blessings',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py',
'/Users/timdream/Repositories/gecko/gecko-dev/python/configobj',
'/Users/timdream/Repositories/gecko/gecko-dev/python/PyECC',
'/Users/timdream/Repositories/gecko/gecko-dev/python/futures',
'/Users/timdream/Repositories/gecko/gecko-dev/media/webrtc/trunk/tools/gyp/pylib',
'/Users/timdream/Repositories/gecko/gecko-dev/python/jsmin',
'/Users/timdream/Repositories/gecko/gecko-dev/python/mach',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/manifestparser',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/marionette/harness',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/marionette/client',
'/Users/timdream/Repositories/gecko/gecko-dev/python/mock-1.0.0',
'/Users/timdream/Repositories/gecko/gecko-dev/python/mozbuild',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozcrash',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozdebug',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozdevice',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozfile',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozhttpd',
'/Users/timdream/Repositories/gecko/gecko-dev/build',
'/Users/timdream/Repositories/gecko/gecko-dev/config',
'/Users/timdream/Repositories/gecko/gecko-dev/xpcom/typelib/xpt/tools',
'/Users/timdream/Repositories/gecko/gecko-dev/dom/bindings',
'/Users/timdream/Repositories/gecko/gecko-dev/dom/bindings/parser',
'/Users/timdream/Repositories/gecko/gecko-dev/layout/tools/reftest',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozinfo',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozinstall',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozleak',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozlog',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/moznetwork',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozprocess',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozprofile',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozrunner',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozscreenshot',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozsystemmonitor',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/moztest',
'/Users/timdream/Repositories/gecko/gecko-dev/tools/docs',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/mozbase/mozversion',
'/Users/timdream/Repositories/gecko/gecko-dev/other-licenses/ply',
'/Users/timdream/Repositories/gecko/gecko-dev/python/psutil',
'/Users/timdream/Repositories/gecko/gecko-dev/python/pyasn1',
'/Users/timdream/Repositories/gecko/gecko-dev/python/pyasn1-modules',
'/Users/timdream/Repositories/gecko/gecko-dev/build/pymake',
'/Users/timdream/Repositories/gecko/gecko-dev/python/redo',
'/Users/timdream/Repositories/gecko/gecko-dev/python/requests',
'/Users/timdream/Repositories/gecko/gecko-dev/python/rsa',
'/Users/timdream/Repositories/gecko/gecko-dev/python/which',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/web-platform/tests/tools/wptserve',
'/Users/timdream/Repositories/gecko/gecko-dev/testing/xpcshell']
I am a bit confused where the paths are being added, since there is a comment in mach_bootstrap.py on bug 794506, but that bug was marked as fixed.
I'm not sure exactly what went wrong here, but from comment 8, the problem appears to be paths in /usr/local/Cellar coming before those in the tree. :gps may have more background on how to avoid this.
Flags: needinfo?(cmanchester)
Is this still an issue?
Flags: needinfo?(timdream)
Version: unspecified → 48 Branch
Yes this is still an issue. Update to the latest m-c and try

$ pip install manifestparser==1.1
$ mach build

Still produce the same error in comment 0.
Flags: needinfo?(timdream)
Version: 48 Branch → Trunk
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.