-
Notifications
You must be signed in to change notification settings - Fork 175
Description
Task :hyperledger_anoncreds-react-native:buildCMakeDebug[arm64-v8a] FAILED
Caching disabled for task ':hyperledger_anoncreds-react-native:buildCMakeDebug[arm64-v8a]' because:
Build cache is disabled
Task ':hyperledger_anoncreds-react-native:buildCMakeDebug[arm64-v8a]' is not up-to-date because:
Task.upToDateWhen is false.
C/C++: starting build
C/C++: reading expected JSONs
C/C++: done reading expected JSONs
C/C++: executing build commands for targets that produce .so files or executables
C/C++: evaluate miniconfig
C/C++: evaluate library anoncredsreactnative (arm64-v8a)
C/C++: building target library anoncredsreactnative because no targets are specified.
C/C++: about to build targets anoncredsreactnative
C/C++: Build anoncredsreactnative
C/C++: @echo off
"C:\Users\manav\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^
-C ^
"C:\Users\manav\Desktop\new bifold\bifold\packages\legacy\app\node_modules\@hyperledger\anoncreds-react-native\android\.cxx\Debug\5x5j472y\arm64-v8a" ^
anoncredsreactnative
Starting process 'command 'C:\Users\manav\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe''. Working directory: C:\Users\manav\Desktop\new bifold\bifold\packages\legacy\app\no
de_modules@hyperledger\anoncreds-react-native\android Command: C:\Users\manav\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe -C C:\Users\manav\Desktop\new bifold\bifold\packages\legacy\app\node_modules@hyperledger\anoncreds-react-native\android.cxx\Debug\5x5j472y\arm64-v8a anoncredsreactnative
Successfully started process 'command 'C:\Users\manav\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe''
C/C++: ninja: Entering directory `C:\Users\manav\Desktop\new bifold\bifold\packages\legacy\app\node_modules@hyperledger\anoncreds-react-native\android.cxx\Debug\5x5j472y\arm64-v8a'
C/C++: ld: error: C:/Users/manav/Desktop/NEWBIF1/bifold/packages/legacy/app/NODE_M1/@hyper1/ANONCR1/native/mobile/android/ARM64-~1/libanoncreds.so: section header table goes past the end of the file: e_shoff = 0x839010
C/C++: clang++: error: linker command failed with exit code 1 (use -v to see invocation)
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':hyperledger_anoncreds-react-native:buildCMakeDebug[arm64-v8a]'.
com.android.ide.common.process.ProcessException: ninja: Entering directory `C:\Users\manav\Desktop\new bifold\bifold\packages\legacy\app\node_modules@hyperledger\anoncreds-react-native\android.cxx\Debug\5x5j472y\arm64-v8a'
[1/1] Linking CXX shared library ........\build\intermediates\cxx\Debug\5x5j472y\obj\arm64-v8a\libanoncredsreactnative.so
FAILED: ../../../../build/intermediates/cxx/Debug/5x5j472y/obj/arm64-v8a/libanoncredsreactnative.so
cmd.exe /C "cd . && C:\Users\manav\AppData\Local\Android\Sdk\ndk\25.1.8937393\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android23 --sysr
oot=C:/Users/manav/AppData/Local/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables
-fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -std=c++1y -DONANDROID -fno-limit-debug-info -Wl,--build
-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Wl,--gc-sections -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libanoncredsreactnative.so -o ........\build\interme
diates\cxx\Debug\5x5j472y\obj\arm64-v8a\libanoncredsreactnative.so CMakeFiles/anoncredsreactnative.dir/cpp-adapter.cpp.o CMakeFiles/anoncredsreactnative.dir/8cf56f2f0c00483ec42e0bf
e564a71bf/cpp/HostObject.cpp.o CMakeFiles/anoncredsreactnative.dir/8cf56f2f0c00483ec42e0bfe564a71bf/cpp/turboModuleUtility.cpp.o CMakeFiles/anoncredsreactnative.dir/8cf56f2f0c00483
ec42e0bfe564a71bf/cpp/anoncreds.cpp.o -LC:/Users/manav/Desktop/NEWBIF1/bifold/packages/legacy/app/NODE_M1/@hyper1/ANONCR1/native/mobile/android/ARM64-1 C:/Users/manav/.gradle/1/bifold/packages/legacy/app/NODE_M
caches/transforms-3/18e790de7d60dccd07e3a88da530f5b8/transformed/jetified-react-android-0.72.5-debug/prefab/modules/jsi/libs/android.arm64-v8a/libjsi.so C:/Users/manav/.gradle/cac
hes/transforms-3/18e790de7d60dccd07e3a88da530f5b8/transformed/jetified-react-android-0.72.5-debug/prefab/modules/reactnativejni/libs/android.arm64-v8a/libreactnativejni.so C:/User
s/manav/.gradle/caches/transforms-3/34c2120d0d3cd8dc97826fc02c9e8fc4/transformed/jetified-fbjni-0.3.0/prefab/modules/fbjni/libs/android.arm64-v8a/libfbjni.so -lanoncreds C:/Users/manav/AppData/Local/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/23/liblog.so -landroid -latomic -lm && cd ."
ld: error: C:/Users/manav/Desktop/NEWBIF1/@hyper1/ANONCR~1/native/mobile/android/ARM64-~1/libanoncreds.so: section header table goes past the end of the file: e_shoff = 0x839010
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
C++ build system [build] failed while executing:
@echo off
"C:\Users\manav\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^
-C ^
"C:\Users\manav\Desktop\new bifold\bifold\packages\legacy\app\node_modules\@hyperledger\anoncreds-react-native\android\.cxx\Debug\5x5j472y\arm64-v8a" ^
anoncredsreactnative
from C:\Users\manav\Desktop\new bifold\bifold\packages\legacy\app\node_modules@hyperledger\anoncreds-react-native\android
- Try:
Run with --stacktrace option to get the stack trace.
Run with --debug option to get more log output.
Run with --scan to get full insights.
- Get more help at https://help.gradle.org