Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Servo build error – permission denied
Build failed, waiting for other jobs to finish...
failed to run custom build command for `mozjs_sys v0.0.0 (https://github.com/servo/mozjs#9cd56295)`
Process didn't exit successfully: `/Users/james/Code/servo/target/debug/build/mozjs_sys-e411d274df144795/build-script-build` (exit code: 101)
--- stdout
cd /Users/james/Code/servo/target/debug/build/mozjs_sys-e411d274df144795/out && \
MOZ_TOOLS="" CC="gcc" CPP="gcc -E" CXX="g++" AR="ar" \
/Users/james/Code/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/configure --enable-gczeal --disable-jemalloc
loading cache ./config.cache
checking host system type... x86_64-apple-darwin15.2.0
checking target system type... x86_64-apple-darwin15.2.0
checking build system type... x86_64-apple-darwin15.2.0
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for perl5... no
checking for perl... /usr/bin/perl
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for as... /usr/bin/as
checking for ar... ar
checking for ld... ld
checking for strip... strip
checking for windres... no
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for sb-conf... no
checking for ve... no
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for tar archiver... checking for gnutar... no
checking for gtar... no
checking for tar... tar
tar
checking for minimum required perl version >= 5.006... 5.018002
checking for full perl installation... yes
checking for python2.7... /Users/james/Code/servo/python/_virtualenv/bin/python2.7
Creating Python environment
------ config.log ------
configure:3111:1: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
exit (42);
^
configure:3111:1: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning generated.
configure:3134: checking for ranlib
configure:3166: checking for as
configure:3220: checking for ar
configure:3255: checking for ld
configure:3290: checking for strip
configure:3325: checking for windres
configure:3941: checking how to run the C preprocessor
configure:4021: checking how to run the C++ preprocessor
configure:4039: g++ -E conftest.C >/dev/null 2>conftest.out
configure:4161: checking for sb-conf
configure:4161: checking for ve
configure:4223: checking for a BSD compatible install
configure:4276: checking whether ln -s works
configure:4298: checking for tar archiver
configure:4304: checking for gnutar
configure:4304: checking for gtar
configure:4304: checking for tar
configure:4341: checking for minimum required perl version >= 5.006
configure:4351: checking for full perl installation
configure:4369: checking for python2.7
--- stderr
makefile.cargo:58: Extraneous text after `else' directive
/Users/james/Code/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/configure: line 1665: /Users/james/Code/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/../../python/mozbuild/mozbuild/milestone.py: Permission denied
/Users/james/Code/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/configure: line 1666: /Users/james/Code/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/../../python/mozbuild/mozbuild/milestone.py: Permission denied
/Users/james/Code/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/configure: line 1667: /Users/james/Code/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/../../python/mozbuild/mozbuild/milestone.py: Permission denied
dyld: Library not loaded: @executable_path/../.Python
Referenced from: /Users/james/Code/servo/python/_virtualenv/bin/python2.7
Reason: image not found
/Users/james/Code/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/configure: line 4473: 5145 Trace/BPT trap: 5 $PYTHON $_virtualenv_populate_path $_virtualenv_topsrcdir $MOZ_BUILD_ROOT $MOZ_BUILD_ROOT/_virtualenv $_virtualenv_topsrcdir/build/virtualenv_packages.txt
make: *** [all] Error 1
thread '<main>' panicked at 'assertion failed: result.success()', /Users/james/Code/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/build.rs:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.