Compiling Third-Party Dependencies Is Suspended and Execution Cannot Be Completed
Symptom
Executing sh build-thirdparty.sh is suspended at "Finished patching vectorscan-vectorscan-5.4.11" for a long time, and the program execution cannot be completed.
Key Process and Cause Analysis
The downloading progress of https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/aws-crt-cpp-1.11.119.tar.gz is too slow.
Conclusion and Solution
- Press Ctrl+C to terminate the program.
- Open the download-thirdparty.sh file.
1vi /opt/tools/installed/doris-2.1.2-rc04/thirdparty/download-thirdparty.sh - Press i to enter the insert mode and comment out lines 366, 368, 369 and 370.
#if wget --no-check-certificate -q https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/aws-crt-cpp-1.11.119.tar.gz -O aws-crt-cpp-1.11.119.tar.gz; then tar xzf aws-crt-cpp-1.11.119.tar.gz #else #bash ./prefetch_crt dependency,sh #fi

- Press Esc, type :wq!, and press Enter to save the file and exit.
- Download aws-crt-cpp-1.11.119.tar.gz, upload it to the server, and decompress it to the thirdparty/src/aws-sdk-cpp-1.11.119 directory.
- Run the command again:
1 2
cd /opt/tools/installed/doris-2.1.2-rc04/thirdparty sh build-thirdparty.sh
Parent topic: Troubleshooting