Получил ошибки, пытаясь скомпилировать доллар - PullRequest
0 голосов
/ 18 января 2019

Я следовал инструкциям на https://buckbuild.com/setup/getting_started.html в разделе Build From Source, чтобы попытаться собрать Buck из проверки git, и получил следующие ошибки. Предпосылки были установлены правильно.

chrisym-mbp:buck chrisym$ ./bin/buck build --show-output buck
Traceback (most recent call last):
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 184, in <module>
    sys.exit(main())
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 157, in main
    for dst, src in manifest["modules"].iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

Traceback (most recent call last):
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 184, in <module>
    sys.exit(main())
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 157, in main
    for dst, src in manifest["modules"].iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

Traceback (most recent call last):
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 184, in <module>
    sys.exit(main())
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 157, in main
    for dst, src in manifest["modules"].iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

Traceback (most recent call last):
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 184, in <module>
    sys.exit(main())
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 157, in main
    for dst, src in manifest["modules"].iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

Traceback (most recent call last):
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 184, in <module>
    sys.exit(main())
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 157, in main
    for dst, src in manifest["modules"].iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

Traceback (most recent call last):
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 184, in <module>
    sys.exit(main())
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 157, in main
    for dst, src in manifest["modules"].iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

Building: finished in 1.4 sec (100%) 76/1536 jobs, 19 updated
  Total time: 1.6 sec
Command failed with exit code 1.
stderr: Traceback (most recent call last):
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 184, in <module>
    sys.exit(main())
  File "/Users/chrisym/Library/MobileTools/buck/ant-out/buck-modules-resources/python/make_pex.py", line 157, in main
    for dst, src in manifest["modules"].iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

    When running <pex>.
    When building rule //py/hash:hash_files.
chrisym-mbp:buck chrisym$

Я пробовал это с Python 2 и Python 3. Одинаковое поведение в обоих случаях.

...