Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

ninja: build stopped #20

Open
ahmadazarnia opened this issue Aug 12, 2020 · 4 comments
Open

ninja: build stopped #20

ahmadazarnia opened this issue Aug 12, 2020 · 4 comments

Comments

@ahmadazarnia
Copy link

hi , i cloned and maked the project successfully following this : https://meetecho.github.io/janus-mobile-sdk/#/getting-started.

make done successfully but when im trying to run the android example it stops with this error :

The syntax of the command is incorrect.
ninja: build stopped: subcommand failed.

last parts of logs :

[418/420] Linking CXX executable tool\bssl
[419/420] Building CXX object ssl/CMakeFiles/ssl_test.dir/ssl_test.cc.o
[420/420] Linking CXX executable ssl\ssl_test
[15/66] Performing install step for 'boringssl_proj'
FAILED: third_party/boringssl/src/boringssl_proj-stamp/boringssl_proj-install
cmd.exe /C "cd /D D:\clonedProjs\janus-mobile-sdk\platforms\android\janus-client.externalNativeBuild\cmake\debug\armeabi-v7a\third_party\boringssl\src\boringssl_proj-build && mkdir -p D:/clonedProjs/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/armeabi-v7a/third_party/lib && cp -rfv D:/clonedProjs/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/armeabi-v7a/third_party/boringssl/src/boringssl_proj-build/ssl/libssl.a D:/clonedProjs/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/armeabi-v7a/third_party/boringssl/src/boringssl_proj-build/crypto/libcrypto.a D:/clonedProjs/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/armeabi-v7a/third_party/lib && mkdir -p D:/clonedProjs/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/armeabi-v7a/third_party/include && cp -rfv D:/clonedProjs/janus-mobile-sdk/third_party/boringssl/include/openssl D:/clonedProjs/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/armeabi-v7a/third_party/include && D:\Ahmad_Azarnia\Software\AndroidSDK\cmake\3.10.2.4988404\bin\cmake.exe -E touch D:/clonedProjs/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/armeabi-v7a/third_party/boringssl/src/boringssl_proj-stamp/boringssl_proj-install"
The syntax of the command is incorrect.
ninja: build stopped: subcommand failed.

what's wrong?

@AravindhGopi
Copy link

is there any improvement on this?

@adaJQD
Copy link

adaJQD commented Dec 16, 2020

is there any improvement on this?

@javadVatan
Copy link

Is there any improvement on this?

@xyzbilal
Copy link

I also have similar problem. any idea how to solve this problem. my build log below ;

Build command failed.
Error while executing process /Users/bilalsimsek/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja with arguments {-C /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86 janus-android-sdk}
ninja: Entering directory `/Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86'
[1/66] Creating directories for 'json_proj'
[2/66] Creating directories for 'boringssl_proj'
[3/66] No download step for 'json_proj'
[4/66] No download step for 'boringssl_proj'
[5/66] No patch step for 'json_proj'
[6/66] No update step for 'boringssl_proj'
[7/66] No patch step for 'boringssl_proj'
[8/66] No update step for 'json_proj'
[9/66] Performing configure step for 'json_proj'
-- The CXX compiler identification is Clang 11.0.5
-- Check for working CXX compiler: /Users/bilalsimsek/Library/Android/sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
-- Check for working CXX compiler: /Users/bilalsimsek/Library/Android/sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using the single-header code from /Users/bilalsimsek/Desktop/janus-mobile-sdk/third_party/json/single_include/
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86/third_party/json/src/json_proj-build
[10/66] Performing build step for 'json_proj'
ninja: no work to do.
[11/66] Performing install step for 'json_proj'
[0/1] Install the project...
-- Install configuration: "Release"
-- Installing: /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86/third_party/include
-- Installing: /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86/third_party/include/nlohmann
-- Installing: /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86/third_party/include/nlohmann/json.hpp
-- Installing: /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86/third_party/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake
-- Installing: /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86/third_party/lib/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake
-- Installing: /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86/third_party/lib/cmake/nlohmann_json/nlohmann_jsonTargets.cmake
[12/66] Completed 'json_proj'
[13/66] Performing configure step for 'boringssl_proj'
-- The C compiler identification is Clang 11.0.5
-- Check for working C compiler: /Users/bilalsimsek/Library/Android/sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
-- Check for working C compiler: /Users/bilalsimsek/Library/Android/sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is Clang 11.0.5
-- Check for working CXX compiler: /Users/bilalsimsek/Library/Android/sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
-- Check for working CXX compiler: /Users/bilalsimsek/Library/Android/sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM compiler identification is Clang
-- Found assembler: /Users/bilalsimsek/Library/Android/sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86/third_party/boringssl/src/boringssl_proj-build
[14/66] Performing build step for 'boringssl_proj'
FAILED: third_party/boringssl/src/boringssl_proj-stamp/boringssl_proj-build 
cd /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86/third_party/boringssl/src/boringssl_proj-build && /Users/bilalsimsek/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake --build . && /Users/bilalsimsek/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake -E touch /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86/third_party/boringssl/src/boringssl_proj-stamp/boringssl_proj-build
[1/422] Generating crypto_test_data.cc
FAILED: crypto_test_data.cc 
cd /Users/bilalsimsek/Desktop/janus-mobile-sdk/third_party/boringssl && go run util/embed_test_data.go crypto/cipher_extra/test/aes_128_cbc_sha1_tls_implicit_iv_tests.txt crypto/cipher_extra/test/aes_128_cbc_sha1_tls_tests.txt crypto/cipher_extra/test/aes_128_cbc_sha256_tls_tests.txt crypto/cipher_extra/test/aes_128_ccm_bluetooth_tests.txt crypto/cipher_extra/test/aes_128_ccm_bluetooth_8_tests.txt crypto/cipher_extra/test/aes_128_ctr_hmac_sha256.txt crypto/cipher_extra/test/aes_128_gcm_siv_tests.txt crypto/cipher_extra/test/aes_128_gcm_tests.txt crypto/cipher_extra/test/aes_192_gcm_tests.txt crypto/cipher_extra/test/aes_256_cbc_sha1_tls_implicit_iv_tests.txt crypto/cipher_extra/test/aes_256_cbc_sha1_tls_tests.txt crypto/cipher_extra/test/aes_256_cbc_sha256_tls_tests.txt crypto/cipher_extra/test/aes_256_cbc_sha384_tls_tests.txt crypto/cipher_extra/test/aes_256_ctr_hmac_sha256.txt crypto/cipher_extra/test/aes_256_gcm_siv_tests.txt crypto/cipher_extra/test/aes_256_gcm_tests.txt crypto/cipher_extra/test/chacha20_poly1305_tests.txt crypto/cipher_extra/test/xchacha20_poly1305_tests.txt crypto/cipher_extra/test/cipher_tests.txt crypto/cipher_extra/test/des_ede3_cbc_sha1_tls_implicit_iv_tests.txt crypto/cipher_extra/test/des_ede3_cbc_sha1_tls_tests.txt crypto/cipher_extra/test/nist_cavp/aes_128_cbc.txt crypto/cipher_extra/test/nist_cavp/aes_128_ctr.txt crypto/cipher_extra/test/nist_cavp/aes_128_gcm.txt crypto/cipher_extra/test/nist_cavp/aes_192_cbc.txt crypto/cipher_extra/test/nist_cavp/aes_192_ctr.txt crypto/cipher_extra/test/nist_cavp/aes_256_cbc.txt crypto/cipher_extra/test/nist_cavp/aes_256_ctr.txt crypto/cipher_extra/test/nist_cavp/aes_256_gcm.txt crypto/cipher_extra/test/nist_cavp/tdes_cbc.txt crypto/cipher_extra/test/nist_cavp/tdes_ecb.txt crypto/curve25519/ed25519_tests.txt crypto/cmac/cavp_3des_cmac_tests.txt crypto/cmac/cavp_aes128_cmac_tests.txt crypto/cmac/cavp_aes192_cmac_tests.txt crypto/cmac/cavp_aes256_cmac_tests.txt crypto/ecdh_extra/ecdh_tests.txt crypto/evp/evp_tests.txt crypto/evp/scrypt_tests.txt crypto/fipsmodule/aes/aes_tests.txt crypto/fipsmodule/bn/bn_tests.txt crypto/fipsmodule/ec/ec_scalar_base_mult_tests.txt crypto/fipsmodule/ec/p256-x86_64_tests.txt crypto/fipsmodule/ecdsa/ecdsa_sign_tests.txt crypto/fipsmodule/ecdsa/ecdsa_verify_tests.txt crypto/fipsmodule/modes/gcm_tests.txt crypto/fipsmodule/rand/ctrdrbg_vectors.txt crypto/hmac_extra/hmac_tests.txt crypto/poly1305/poly1305_tests.txt crypto/siphash/siphash_tests.txt crypto/x509/many_constraints.pem crypto/x509/many_names1.pem crypto/x509/many_names2.pem crypto/x509/many_names3.pem crypto/x509/some_names1.pem crypto/x509/some_names2.pem crypto/x509/some_names3.pem third_party/wycheproof_testvectors/aes_cbc_pkcs5_test.txt third_party/wycheproof_testvectors/aes_cmac_test.txt third_party/wycheproof_testvectors/aes_gcm_siv_test.txt third_party/wycheproof_testvectors/aes_gcm_test.txt third_party/wycheproof_testvectors/chacha20_poly1305_test.txt third_party/wycheproof_testvectors/dsa_test.txt third_party/wycheproof_testvectors/ecdh_secp224r1_test.txt third_party/wycheproof_testvectors/ecdh_secp256r1_test.txt third_party/wycheproof_testvectors/ecdh_secp384r1_test.txt third_party/wycheproof_testvectors/ecdh_secp521r1_test.txt third_party/wycheproof_testvectors/ecdsa_secp224r1_sha224_test.txt third_party/wycheproof_testvectors/ecdsa_secp224r1_sha256_test.txt third_party/wycheproof_testvectors/ecdsa_secp224r1_sha512_test.txt third_party/wycheproof_testvectors/ecdsa_secp256r1_sha256_test.txt third_party/wycheproof_testvectors/ecdsa_secp256r1_sha512_test.txt third_party/wycheproof_testvectors/ecdsa_secp384r1_sha384_test.txt third_party/wycheproof_testvectors/ecdsa_secp384r1_sha512_test.txt third_party/wycheproof_testvectors/ecdsa_secp521r1_sha512_test.txt third_party/wycheproof_testvectors/eddsa_test.txt third_party/wycheproof_testvectors/kwp_test.txt third_party/wycheproof_testvectors/kw_test.txt third_party/wycheproof_testvectors/rsa_pss_2048_sha1_mgf1_20_test.txt third_party/wycheproof_testvectors/rsa_pss_2048_sha256_mgf1_0_test.txt third_party/wycheproof_testvectors/rsa_pss_2048_sha256_mgf1_32_test.txt third_party/wycheproof_testvectors/rsa_pss_3072_sha256_mgf1_32_test.txt third_party/wycheproof_testvectors/rsa_pss_4096_sha256_mgf1_32_test.txt third_party/wycheproof_testvectors/rsa_pss_4096_sha512_mgf1_32_test.txt third_party/wycheproof_testvectors/rsa_pss_misc_test.txt third_party/wycheproof_testvectors/rsa_signature_test.txt third_party/wycheproof_testvectors/x25519_test.txt > /Users/bilalsimsek/Desktop/janus-mobile-sdk/platforms/android/janus-client/.cxx/cmake/debug/x86/third_party/boringssl/src/boringssl_proj-build/crypto_test_data.cc
/bin/sh: go: command not found
[2/422] Generating ghash-ssse3-x86.S
[3/422] Generating md5-586.S
[4/422] Generating co-586.S
[5/422] Generating bn-586.S
[6/422] Generating ghash-x86.S
[7/422] Generating aes-586.S
[8/422] Generating aesni-x86.S
[9/422] Generating sha256-586.S
[10/422] Building CXX object CMakeFiles/boringssl_gtest.dir/third_party/googletest/src/gtest-all.cc.o
ninja: build stopped: subcommand failed.
ninja: build stopped: subcommand failed.


Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants