-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS X Setup Instructions Not Working on macOS Sierra #3688
Comments
by Vijay Rao:
|
by Anas Nashif: Can you create directories and files under /Volumes/CrossToolNG/ |
by Vijay Rao: Yes. mkdir works. |
by Vijay Rao: The error seems to happen on mkdir /build. Is there a possibility I have left out on some environment variable? I executed the zephyr-env.sh and export CT_PREFIX=/Volumes/CrossToolNG. Maybe I left out on some environment variable? |
by Vijay Rao: With the latest release of v1.8.0 I managed to get the crosstool to start building. However, it ends in error. Unable to attach build.log as it exceeds 10 MB. Pasting the lines that mention the error in the build.log file: |
can't reproduce |
Not sure why, but I had to chmod the crosstool-NG.sh to 755 |
@tofutim not sure why either, but your findings helped me a lot. Thanks! |
Reported by Vijay Rao:
Unable to execute the ct-ng build command successfully.
I get the following output.
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20170607.171906
[INFO ] Building environment variables
[WARN ] Directory '/Volumes/CrossToolNG/src' does not exist.
[WARN ] Will not save downloaded tarballs to local storage.
[EXTRA] Preparing working directories
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@297]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@266]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/usr/local/share/doc/crosstool-ng/crosstool-ng-1.23.0/B - Known issues.txt'
[ERROR] >>
[ERROR] >> If you feel this is a bug in crosstool-NG, report it at:
[ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR] >>
[ERROR] >> Make sure your report includes all the information pertinent to this issue.
[ERROR] >> Read the bug reporting guidelines here:
[ERROR] >> http://crosstool-ng.github.io/support/
[ERROR]
[ERROR] (elapsed: 0:00.00)
[00:01] / make: *** [build] Error 1
I think noteworthy lines in build.log are:
DEBUG] ==> Executing: 'mkdir' '-p' '/Volumes/CrossToolNG/build/.build/tarballs'
[DEBUG] ==> Executing: 'mkdir' '-p' '/Volumes/CrossToolNG/build/.build/src'
[DEBUG] ==> Executing: 'mkdir' '-p' '/build'
[ALL ] mkdir: /build: Permission denied
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@297]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@266]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/usr/local/share/doc/crosstool-ng/crosstool-ng-1.23.0/B - Known issues.txt'
[ERROR] >>
[ERROR] >> If you feel this is a bug in crosstool-NG, report it at:
[ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR] >>
[ERROR] >> Make sure your report includes all the information pertinent to this issue.
[ERROR] >> Read the bug reporting guidelines here:
[ERROR] >> http://crosstool-ng.github.io/support/
[ERROR]
[ERROR] (elapsed: 0:00.00)
(Imported from Jira ZEP-2252)
The text was updated successfully, but these errors were encountered: