service-fabric
service-fabric copied to clipboard
Deploy Service Fabric in the local machine Linux centos environment
How can I deploy ServiceFabric in a local Centos1908 environment?
clang-5.0: error: unable to execute command: Killed clang-5.0: error: clang frontend command failed due to signal (use -v to see invocation) clang version 5.0.0 (https://github.com/GorNishanov/clang.git a7b79f4b65825ad3c0da0aae7b15c95fac7624f6) (https://github.com/GorNishanov/llvm.git f3e85a45cfc3745f0db04cfeeee892c463e30e7b) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm-5.0/bin clang-5.0: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang-5.0: note: diagnostic msg: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-5.0: note: diagnostic msg: /tmp/StoreStateProviderFactory-7aba2c.cpp clang-5.0: note: diagnostic msg: /tmp/StoreStateProviderFactory-7aba2c.sh clang-5.0: note: diagnostic msg: make[2]: *** [src/data/tstore/lib/CMakeFiles/objects_TStore.dir/__/StoreStateProviderFactory.cpp.o] Error 254 make[1]: *** [src/data/tstore/lib/CMakeFiles/objects_TStore.dir/all] Error 2 make: *** [all] Error 2 Error: cmd failed: make
2021.07.28 error code
clang-5.0: error: unable to execute command: Killed clang-5.0: error: clang frontend command failed due to signal (use -v to see invocation) clang version 5.0.0 (https://github.com/GorNishanov/clang.git a7b79f4b65825ad3c0da0aae7b15c95fac7624f6) (https://github.com/GorNishanov/llvm.git f3e85a45cfc3745f0db04cfeeee892c463e30e7b) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm-5.0/bin clang-5.0: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang-5.0: error: unable to execute command: Killed clang-5.0: error: clang frontend command failed due to signal (use -v to see invocation) clang version 5.0.0 (https://github.com/GorNishanov/clang.git a7b79f4b65825ad3c0da0aae7b15c95fac7624f6) (https://github.com/GorNishanov/llvm.git f3e85a45cfc3745f0db04cfeeee892c463e30e7b) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm-5.0/bin clang-5.0: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-5.0: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-5.0: note: diagnostic msg: /tmp/StringBufferStore-885325.cpp clang-5.0: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-5.0: note: diagnostic msg: /tmp/Store-5582cd.cpp clang-5.0clang-5.0: : notenote: : diagnostic msg: /tmp/Store-5582cd.shdiagnostic msg: /tmp/StringBufferStore-885325.sh
clang-5.0: note: diagnostic msg:
clang-5.0: note: diagnostic msg:
make[2]: *** [src/data/tstore/test/CMakeFiles/TStore.Test.exe.dir/__/Store.Test.3replica.cpp.o] Error 254 make[2]: *** Waiting for unfinished jobs....
[100%] Building CXX object src/data/tstore/test/CMakeFiles/TStore.Test.exe.dir//SecondaryApply.Test.cpp.o terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc clang-5.0: error: unable to execute command: Killed clang-5.0: error: clang frontend command failed due to signal (use -v to see invocation) clang version 5.0.0 (https://github.com/GorNishanov/clang.git a7b79f4b65825ad3c0da0aae7b15c95fac7624f6) (https://github.com/GorNishanov/llvm.git f3e85a45cfc3745f0db04cfeeee892c463e30e7b) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm-5.0/bin clang-5.0: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. [100%] Building CXX object src/data/tstore/test/CMakeFiles/TStore.Test.exe.dir//UndoFalseProgress.Test.cpp.o [100%] Building CXX object src/data/tstore/test/CMakeFiles/TStore.Test.exe.dir//TestTransactionContext.cpp.o [100%] Building CXX object src/data/tstore/test/CMakeFiles/TStore.Test.exe.dir//MemoryBuffer.Test.cpp.o [100%] Building CXX object src/data/tstore/test/CMakeFiles/TStore.Test.exe.dir/__/Store.Copy.Test.cpp.o clang-5.0: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-5.0: note: diagnostic msg: /tmp/ReliableConcurrentQueue-d8f4bd.cpp clang-5.0: note: diagnostic msg: /tmp/ReliableConcurrentQueue-d8f4bd.sh clang-5.0: note: diagnostic msg:
make[2]: *** [src/data/reliableconcurrentqueue/test/CMakeFiles/ReliableConcurrentQueue.Test.exe.dir//ReliableConcurrentQueue.UndoFalseProgress.Test.cpp.o] Error 254 make[1]: *** [src/data/reliableconcurrentqueue/test/CMakeFiles/ReliableConcurrentQueue.Test.exe.dir/all] Error 2 [100%] Building CXX object src/data/tstore/test/CMakeFiles/TStore.Test.exe.dir//Notification.Test.cpp.o make[1]: *** Waiting for unfinished jobs.... [100%] Building CXX object src/data/tstore/test/CMakeFiles/TStore.Test.exe.dir//KBufferComparer.cpp.o [100%] Building CXX object src/data/tstore/test/CMakeFiles/TStore.Test.exe.dir//Store.Backup.Test.cpp.o clang-5.0: error: unable to execute command: Killed clang-5.0: error: clang frontend command failed due to signal (use -v to see invocation) clang version 5.0.0 (https://github.com/GorNishanov/clang.git a7b79f4b65825ad3c0da0aae7b15c95fac7624f6) (https://github.com/GorNishanov/llvm.git f3e85a45cfc3745f0db04cfeeee892c463e30e7b) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm-5.0/bin clang-5.0: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang-5.0: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-5.0: note: diagnostic msg: /tmp/Store-c624d3.cpp clang-5.0: note: diagnostic msg: /tmp/Store-c624d3.sh clang-5.0: note: diagnostic msg:
make[2]: *** [src/data/tstore/test/CMakeFiles/TStore.Test.exe.dir/__/Store.Test.Buffer.3replica.cpp.o] Error 254 make[2]: *** Waiting for unfinished jobs....
CentOS isn't a supported Linux environment per the short list here.
根据此处的短列表,CentOS 不是受支持的 Linux 环境 。 https://github.com/Microsoft/service-fabric This is the official website address of the document I saw. Thank you. Thank you for helping me. I have been troubled by this problem for five days. My colleague confirmed that ServiceFabric can be deployed in the local Centos environment, which makes me very entangled.
I changed my ubuntu 18.04 environment and executed ./runbuild.sh -ubuntu18 in the root directory, and its error code is like this:
This software may collect information about you and your use of the software, and send that to Microsoft. Please visit http://aka.ms/dotnet-cli-eula for more information. Welcome to .NET Core!
Learn more about .NET Core: https://aka.ms/dotnet-docs Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Telemetry
The .NET Core tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
Configuring...
A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once. chmod: cannot access '/usr/share/dotnet/sdk/2.1.816/Roslyn/bincore/RunCsc': No such file or directory The command '/bin/sh -c /setup/sf-prep-1804.sh' returned a non-zero code: 1 Error response from daemon: No such image: microsoft/service-fabric-build-ubuntu18:latest NOTE: Your local container image is now out of sync with the container on Docker Hub! Docker either failed to build image microsoft/service-fabric-build-ubuntu18:0.1 for target OS ubuntu18 or OS is not currently supported. Exiting.