2023-01-17, 23:56
Experienced a failure to connect to mirrors.kodi.tv while building. The mirror came back up but it got me wondering why this build dep doesn't have the ability to be predownloaded. Many others offer the ability to pre-download and point to those tarballs, but not rapidjson. Is this by design?
For example, for an internal ffmpeg
Other dependencies that support this are:
libdvdcss, libdvdnav, libdvdread, ffmpeg, fmt, spdlog, crossguid, fstrcmp, flatbuffers, and libudfread.
Thanks for the insights.
For example, for an internal ffmpeg
Code:
% cmake ... -DENABLE_INTERNAL_FFMPEG=ON -DFFMPEG_URL=/src/ffmpeg-5.1.2-Nexus-Alpha3 ...
Other dependencies that support this are:
libdvdcss, libdvdnav, libdvdread, ffmpeg, fmt, spdlog, crossguid, fstrcmp, flatbuffers, and libudfread.
Thanks for the insights.
Code:
Install the project...
-- Install configuration: "Release"
Done
[ 8%] Completed 'ffmpeg'
[ 8%] Built target ffmpeg
-- Retry after 5 seconds (attempt #3) ...
-- Using src='http://mirrors.kodi.tv/build-deps/sources/rapidjson-1.1.0.tar.gz'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='http://mirrors.kodi.tv/build-deps/sources/rapidjson-1.1.0.tar.gz'
...
--- LOG END ---
error: downloading 'http://mirrors.kodi.tv/build-deps/sources/rapidjson-1.1.0.tar.gz' failed
status_code: 6
status_string: "Couldn't resolve host name"
log:
--- LOG BEGIN ---
Could not resolve host: mirrors.kodi.tv
Closing connection 0
--- LOG END ---
make[2]: *** [CMakeFiles/rapidjson.dir/build.make:99: build/rapidjson/src/rapidjson-stamp/rapidjson-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:4747: CMakeFiles/rapidjson.dir/all] Error 2
make: *** [Makefile:146: all] Error 2