Skip to content

Instantly share code, notes, and snippets.

@groys
Created January 25, 2018 03:38
Show Gist options
  • Save groys/a52deb86d3e2d90853d7ac6536abcd41 to your computer and use it in GitHub Desktop.
Save groys/a52deb86d3e2d90853d7ac6536abcd41 to your computer and use it in GitHub Desktop.
livegrep mac build error
clang: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
ERROR: /Users/groys/lifeonair/livegrep/web/npm/style-loader/BUILD:7:1: installing node modules from web/npm/style-loader/npm-shrinkwrap.json failed (Exit 1)
/private/var/tmp/_bazel_groys/12e9774f8906bf206104458e35426a7e/bazel-sandbox/1836426167870779314/execroot/com_github_livegrep_livegrep/bazel-out/host/bin/external/org_dropbox_rules_node/node/tools/npm/install.runfiles/nodejs/bin/node: /
private/var/tmp/_bazel_groys/12e9774f8906bf206104458e35426a7e/bazel-sandbox/1836426167870779314/execroot/com_github_livegrep_livegrep/bazel-out/host/bin/external/org_dropbox_rules_node/node/tools/npm/install.runfiles/nodejs/bin/node: ca
nnot execute binary file
Traceback (most recent call last):
File "/private/var/tmp/_bazel_groys/12e9774f8906bf206104458e35426a7e/bazel-sandbox/1836426167870779314/execroot/com_github_livegrep_livegrep/bazel-out/host/bin/external/org_dropbox_rules_node/node/tools/npm/install.runfiles/com_github
_livegrep_livegrep/../org_dropbox_rules_node/node/tools/npm/install.py", line 49, in <module>
main()
File "/private/var/tmp/_bazel_groys/12e9774f8906bf206104458e35426a7e/bazel-sandbox/1836426167870779314/execroot/com_github_livegrep_livegrep/bazel-out/host/bin/external/org_dropbox_rules_node/node/tools/npm/install.runfiles/com_github_livegrep_livegrep/../org_dropbox_rules_node/node/tools/npm/install.py", line 45, in main
npm_install(args.shrinkwrap, args.output)
File "/private/var/tmp/_bazel_groys/12e9774f8906bf206104458e35426a7e/bazel-sandbox/1836426167870779314/execroot/com_github_livegrep_livegrep/bazel-out/host/bin/external/org_dropbox_rules_node/node/tools/npm/install.runfiles/com_github_livegrep_livegrep/../org_dropbox_rules_node/node/tools/npm/install.py", line 27, in npm_install
run_npm(['install'], env=env, cwd=output)
File "/private/var/tmp/_bazel_groys/12e9774f8906bf206104458e35426a7e/bazel-sandbox/1836426167870779314/execroot/com_github_livegrep_livegrep/bazel-out/host/bin/external/org_dropbox_rules_node/node/tools/npm/install.runfiles/org_dropbox_rules_node/node/tools/npm/utils.py", line 93, in run_npm
full_cmd, env=full_env, cwd=cwd, stderr=subprocess.STDOUT
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['/private/var/tmp/_bazel_groys/12e9774f8906bf206104458e35426a7e/bazel-sandbox/1836426167870779314/execroot/com_github_livegrep_livegrep/bazel-out/host/bin/external/org_dropbox_rules_node/node/tools/npm/install.runfiles/nodejs/bin/npm', 'install']' returned non-zero exit status 126
INFO: Elapsed time: 256.928s, Critical Path: 32.03s
FAILED: Build did NOT complete successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment