Skip to content

Instantly share code, notes, and snippets.

@tlarevo
Created June 12, 2017 04:05
Show Gist options
  • Save tlarevo/9d184678bf463fe0e5871ffbf312eae8 to your computer and use it in GitHub Desktop.
Save tlarevo/9d184678bf463fe0e5871ffbf312eae8 to your computer and use it in GitHub Desktop.
Fuse 1.0.0 (build 13426)
Configuring (0.8 s)
Compiling syntax tree (2.8 s)
Generating code and data (9.0 s)
Building Android app
2/2: vxSelfcare.apk
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:externalNativeBuildDebug'.
> Build command failed.
Error while executing '/usr/local/Caskroom/android-sdk/25.2.3/cmake/3.6.3155560/bin/cmake' with arguments {--build /Users/tharindu/Projects/work/products/vxSelfcare/build/Android/Preview/app/.externalNativeBuild/cmake/debug/armeabi-v7a --target vxSelfcare}
[1/318] Building CXX object CMakeFiles/vxSelfcare.dir/app/src/main/jni/Uno/_invoke.cpp.o
[2/318] Building CXX object CMakeFiles/vxSelfcare.dir/app/src/main/jni/Uno/_mainMobile.cpp.o
[3/318] Building CXX object CMakeFiles/vxSelfcare.dir/app/src/main/jni/Uno/Memory.cpp.o
[4/318] Building CXX object CMakeFiles/vxSelfcare.dir/app/src/main/jni/Uno/ObjectModel.cpp.o
[5/318] Building CXX object CMakeFiles/vxSelfcare.dir/app/src/main/jni/Uno/Support.cpp.o
[6/318] Building CXX object CMakeFiles/vxSelfcare.dir/app/src/main/jni/Uno/Base64.cpp.o
[7/318] Building CXX object CMakeFiles/vxSelfcare.dir/app/src/main/jni/Uno/Reflection.cpp.o
[8/318] Building CXX object CMakeFiles/vxSelfcare.dir/app/src/main/jni/Uno/EntryPoints.cpp.o
[9/318] Building CXX object CMakeFiles/vxSelfcare.dir/app/src/main/jni/Uno/JNIHelper.cpp.o
[10/318] Building CXX object CMakeFiles/vxSelfcare.dir/app/src/main/jni/Uno/Graphics/GLHelper.cpp.o
[11/318] Building CXX object CMakeFiles/vxSelfcare.dir/app/src/main/jni/Implementation/Cpp/posix_mutex.cpp.o
FAILED: /usr/local/Caskroom/android-sdk/25.2.3/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi --gcc-toolchain=/usr/local/Caskroom/android-sdk/25.2.3/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64 --sysroot=/usr/local/Caskroom/android-sdk/25.2.3/ndk-bundle/sysroot -DANDROID_NDK=/usr/local/Caskroom/android-sdk/25.2.3/ndk-bundle -DANDROID_PLATFORM=9 -DANDROID_STL=stlport_shared -DANDROID_TOOLCHAIN=clang -DvxSelfcare_EXPORTS -I../../../../src/main/include -I"/Users/tharindu/Library/Application Support/Fusetools/Packages/UnoCore/1.0.11/prebuilt/Android/include" -I/usr/local/Caskroom/android-sdk/25.2.3/ndk-bundle/sources/android/support/include -I"/Users/tharindu/Library/Application Support/Fusetools/Packages/Fuse.Scripting.V8/1.0.2" -I"/Users/tharindu/Library/Application Support/Fusetools/Packages/Fuse.Text/1.0.2/harfbuzz/include" -isystem /usr/local/Caskroom/android-sdk/25.2.3/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /usr/local/Caskroom/android-sdk/25.2.3/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /usr/local/Caskroom/android-sdk/25.2.3/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -isystem /usr/local/Caskroom/android-sdk/25.2.3/ndk-bundle/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=16 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11 -Wno-unused-value -Wno-dangling-else -Wno-invalid-offsetof -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/vxSelfcare.dir/app/src/main/jni/Implementation/Cpp/posix_mutex.cpp.o -MF CMakeFiles/vxSelfcare.dir/app/src/main/jni/Implementation/Cpp/posix_mutex.cpp.o.d -o CMakeFiles/vxSelfcare.dir/app/src/main/jni/Implementation/Cpp/posix_mutex.cpp.o -c /Users/tharindu/Projects/work/products/vxSelfcare/build/Android/Preview/app/src/main/jni/Implementation/Cpp/posix_mutex.cpp
/Users/tharindu/Projects/work/products/vxSelfcare/build/Android/Preview/app/src/main/jni/Implementation/Cpp/posix_mutex.cpp:23:13: error: use of undeclared identifier 'pthread_mutex_lock_timeout_np'
return pthread_mutex_lock_timeout_np(mutexHandle, millisecondsTimeout) == 0;
^
1 error generated.
/Users/tharindu/Projects/work/products/vxSelfcare/build/Android/Preview/app/src/main/jni/Uno/Graphics/GLHelper.cpp:243:21: warning: self-comparison always evaluates to true [-Wtautological-compare]
samples <= samples && r <= colorBits.R && g <= colorBits.G && b <= colorBits.B && a <= colorBits.A)
^
1 warning generated.
ninja: build stopped: subcommand failed.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
## 2/2: vxSelfcare.apk
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2340Library UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72340Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2340Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72340Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42340Library UP-TO-DATE
:app:prepareComAndroidSupportSupportVectorDrawable2340Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileDebugJavaWithJavac UP-TO-DATE
:app:generateJsonModelDebug UP-TO-DATE
:app:externalNativeBuildDebug
building /Users/tharindu/Projects/work/products/vxSelfcare/build/Android/Preview/app/.externalNativeBuild/cmake/debug/obj/armeabi-v7a/libvxSelfcare.so
:app:externalNativeBuildDebug FAILED
BUILD FAILED
Total time: 2.008 secs
(unknown): E0200: Android build failed
?: Error E0200: Android build failed
(2.8 s)
Build completed in 15.43 seconds
1 error
fuse: Failed to compile project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment