Repository navigation
Closed
Description
env
- 821797d
- macOS Sierra (OSX 10.12)
Steps to reproduce
./mach clean && ./mach build --dev
Actual Result
linking errors
tracking in #11846
compiling mozjs-sys is failed
Details
error: failed to run custom build command for `mozjs_sys v0.0.0 (https://github.com/servo/mozjs#87c47526)`
process didn't exit successfully: `/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/build-script-build` (exit code: 101)
--- stdout
[[ /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure -ot /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure.in ]] && touch /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure || true
[[ /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure -ot /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure.in ]] && touch /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure || true
! [[ /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure.in -ot /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure ]] && touch /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure || true
! [[ /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure.in -ot /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure ]] && touch /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure || true
if [[ /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure -nt /Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/config.status ]] ; then \
cd /Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out && \
PYTHON="python" MOZ_TOOLS="" \
CC="gcc" CPP="gcc -E" CXX="g++" AR="ar" \
/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure --disable-jemalloc --disable-js-shell --disable-tests --without-intl-api --build-backends=RecursiveMake --disable-shared-js || (cat config.log && exit 1) ; \
fi
cd /Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile -j4
if test -d dist/bin ; then touch dist/bin/.purgecaches ; fi
/Applications/Xcode.app/Contents/Developer/usr/bin/make recurse_pre-export
/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/include _build_manifests/install/dist_include
/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/public _build_manifests/install/dist_public
/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/private _build_manifests/install/dist_private
/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/sdk _build_manifests/install/dist_sdk
Elapsed: 0.00s; From dist/private: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
Elapsed: 0.00s; From dist/sdk: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
Elapsed: 0.00s; From dist/public: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove _tests _build_manifests/install/_tests
Elapsed: 0.03s; From dist/include: Kept 150 existing; Added/updated 0; Removed 0 files and 0 directories.
Elapsed: 0.00s; From _tests: Kept 1 existing; Added/updated 0; Removed 0 files and 0 directories.
/Applications/Xcode.app/Contents/Developer/usr/bin/make recurse_export
make[4]: Nothing to be done for `host'.
make[4]: Nothing to be done for `export'.
make[4]: Nothing to be done for `export'.
make[4]: Nothing to be done for `export'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make recurse_compile
make[4]: Nothing to be done for `target'.
make[4]: Nothing to be done for `target'.
make[4]: Nothing to be done for `host'.
make[4]: Nothing to be done for `target'.
make[4]: Nothing to be done for `target'.
make[4]: Nothing to be done for `target'.
make[4]: Nothing to be done for `target'.
make[4]: Nothing to be done for `target'.
make[4]: Nothing to be done for `target'.
make[4]: Nothing to be done for `host'.
make[4]: Nothing to be done for `target'.
make[4]: Nothing to be done for `target'.
/usr/bin/g++ -std=gnu++11 -o ConditionVariable.o -c -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG=1 -DTRIMMED=1 -DENABLE_BINARYDATA -DENABLE_SIMD -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src -I/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/js/src -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/intl/icu/source/common -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/intl/icu/source/i18n -I/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/dist/include -fPIC -DMOZILLA_CLIENT -include /Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/js/src/js-confdefs.h -MD -MP -MF .deps/ConditionVariable.o.pp -Qunused-arguments -Qunused-arguments -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wc++11-compat-pedantic -Wc++14-compat -Wc++14-compat-pedantic -Wc++1z-compat -Wclass-varargs -Wimplicit-fallthrough -Wloop-analysis -Wstring-conversion -Wthread-safety -Wno-invalid-offsetof -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-unknown-warning-option -Wno-return-type-c-linkage -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -g -O3 -fno-stack-protector -fomit-frame-pointer -Wno-shadow /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/threading/posix/ConditionVariable.cpp
/usr/bin/g++ -std=gnu++11 -o Mutex.o -c -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG=1 -DTRIMMED=1 -DENABLE_BINARYDATA -DENABLE_SIMD -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src -I/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/js/src -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/intl/icu/source/common -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/intl/icu/source/i18n -I/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/dist/include -fPIC -DMOZILLA_CLIENT -include /Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/js/src/js-confdefs.h -MD -MP -MF .deps/Mutex.o.pp -Qunused-arguments -Qunused-arguments -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wc++11-compat-pedantic -Wc++14-compat -Wc++14-compat-pedantic -Wc++1z-compat -Wclass-varargs -Wimplicit-fallthrough -Wloop-analysis -Wstring-conversion -Wthread-safety -Wno-invalid-offsetof -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-unknown-warning-option -Wno-return-type-c-linkage -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -g -O3 -fno-stack-protector -fomit-frame-pointer -Wno-shadow /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/threading/posix/Mutex.cpp
/usr/bin/g++ -std=gnu++11 -o Thread.o -c -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG=1 -DTRIMMED=1 -DENABLE_BINARYDATA -DENABLE_SIMD -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src -I/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/js/src -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/intl/icu/source/common -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/intl/icu/source/i18n -I/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/dist/include -fPIC -DMOZILLA_CLIENT -include /Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/js/src/js-confdefs.h -MD -MP -MF .deps/Thread.o.pp -Qunused-arguments -Qunused-arguments -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wc++11-compat-pedantic -Wc++14-compat -Wc++14-compat-pedantic -Wc++1z-compat -Wclass-varargs -Wimplicit-fallthrough -Wloop-analysis -Wstring-conversion -Wthread-safety -Wno-invalid-offsetof -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-unknown-warning-option -Wno-return-type-c-linkage -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -g -O3 -fno-stack-protector -fomit-frame-pointer -Wno-shadow /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/threading/posix/Thread.cpp
/usr/bin/g++ -std=gnu++11 -o Initialization.o -c -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG=1 -DTRIMMED=1 -DENABLE_BINARYDATA -DENABLE_SIMD -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src -I/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/js/src -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/intl/icu/source/common -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/intl/icu/source/i18n -I/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/dist/include -fPIC -DMOZILLA_CLIENT -include /Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/js/src/js-confdefs.h -MD -MP -MF .deps/Initialization.o.pp -Qunused-arguments -Qunused-arguments -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wc++11-compat-pedantic -Wc++14-compat -Wc++14-compat-pedantic -Wc++1z-compat -Wclass-varargs -Wimplicit-fallthrough -Wloop-analysis -Wstring-conversion -Wthread-safety -Wno-invalid-offsetof -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-unknown-warning-option -Wno-return-type-c-linkage -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -g -O3 -fno-stack-protector -fomit-frame-pointer -Wno-shadow /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/vm/Initialization.cpp
/usr/bin/g++ -std=gnu++11 -o TraceLogging.o -c -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG=1 -DTRIMMED=1 -DENABLE_BINARYDATA -DENABLE_SIMD -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src -I/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/js/src -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/intl/icu/source/common -I/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/intl/icu/source/i18n -I/Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/dist/include -fPIC -DMOZILLA_CLIENT -include /Users/tetsuharu/src/servo/repo1/target/debug/build/mozjs_sys-661d4efe7c7ca939/out/js/src/js-confdefs.h -MD -MP -MF .deps/TraceLogging.o.pp -Qunused-arguments -Qunused-arguments -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wc++11-compat-pedantic -Wc++14-compat -Wc++14-compat-pedantic -Wc++1z-compat -Wclass-varargs -Wimplicit-fallthrough -Wloop-analysis -Wstring-conversion -Wthread-safety -Wno-invalid-offsetof -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-unknown-warning-option -Wno-return-type-c-linkage -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -g -O3 -fno-stack-protector -fomit-frame-pointer -Wno-shadow /Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/vm/TraceLogging.cpp
--- stderr
/Users/tetsuharu/src/servo/repo1/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/threading/posix/ConditionVariable.cpp:77:12: error: use of undeclared identifier 'pthread_condattr_setclock'; did you mean 'pthread_condattr_setpshared'?
int r1 = pthread_condattr_setclock(&attr, WhichClock);
^~~~~~~~~~~~~~~~~~~~~~~~~
pthread_condattr_setpshared
/usr/include/pthread.h:322:5: note: 'pthread_condattr_setpshared' declared here
int pthread_condattr_setpshared(pthread_condattr_t *, int);
^
1 error generated.
make[4]: *** [ConditionVariable.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [js/src/target] Error 2
make[2]: *** [compile] Error 2
make[1]: *** [default] Error 2
make: *** [all] Error 2
thread 'main' panicked at 'assertion failed: result.success()', /Users/tetsuharu/src/servo/repo1/./.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/build.rs:43
stack backtrace:
1: 0x103a460ea - std::sys::backtrace::tracing::imp::write::h4b09e6e8c01db097
2: 0x103a496af - std::panicking::default_hook::{{closure}}::h1d3243f546573ff4
3: 0x103a48d05 - std::panicking::default_hook::h96c288d728df3ebf
4: 0x103a49256 - std::panicking::rust_panic_with_hook::hb1322e5f2588b4db
5: 0x103a35003 - std::panicking::begin_panic::h0914615a412ba184
6: 0x103a3e524 - build_script_build::main::h3ffd603ac8cbc58d
7: 0x103a49c6a - __rust_maybe_catch_panic
8: 0x103a48846 - std::rt::lang_start::haaae1186de9de8cb
9: 0x103a3ec89 - main
Build FAILED in 0:00:26
Activity
tetsuharuohzeki commentedon Sep 21, 2016
This should be fixed by servo/mozjs#103
Auto merge of #13349 - saneyuki:update-mozjs-to-fix-build-on-sierra, …
nox commentedon Oct 5, 2017
That mozjs PR landed, closing.
servo: Merge #13349 - Update mozjs_sys to fix the build failure on ma…
servo: Merge #13349 - Update mozjs_sys to fix the build failure on ma…
servo: Merge #13349 - Update mozjs_sys to fix the build failure on ma…