Open swift-ci opened 8 years ago
Did you skip the ./utils/update-checkout --clone
step up in "Getting Sources for Swift and Related Projects"?
Comment by Tien Nhat Le (JIRA)
@belkadan I run `./utils/update-checkout --clone` but still got the same error.
`Couldn't find cmark source directory.
utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting`
My issue on MacOS 10.12.1
Comment by Dave Fernandes (JIRA)
When following the instructions, I get the following error (macOS):
Acoustic:swift-source davef$ ./swift/utils/update-checkout --clone --scheme tensorflow
Traceback (most recent call last):
File "./swift/utils/update-checkout", line 5, in \<module>
import update_checkout
File "/Users/Shared/Development/Projects/swift-source/swift/utils/update_checkout/init.py", line 2, in \<module>
from update_checkout import main
ImportError: cannot import name 'main'
Comment by Dave Fernandes (JIRA)
The error is caused by having Python 3.x installed. Python 3 paths must be removed from the PATH environment variable before building. This should be documented or, ideally, update-checkout should check the Python version.
Environment
Ubuntu, macOSAdditional Detail from JIRA
| | | |------------------|-----------------| |Votes | 1 | |Component/s | Compiler, Source Tooling | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 79c2e4edb645fc45be11fbfc5f1ed7d0is duplicated by:
Issue Description:
It appears that the Swift compile instructions provided in the README file on GitHub do not work. Another guy and I have both attempted to build Swift from source. I attempted by following the Ubuntu instructions, he attempted it by following the macOS instructions. Both attempts resulted in
At no point in the instructions does it mention cmark that we could find. Do the instructions need to be updated?