After following along with the Krita build steps for Windows in the documentation, CMake encounters a warning and an error in `download-ext_cideps.cmake` in which `file()` on `127` returns a generic TLS error. The file URL can be accessed manually in a browser as well as through other command line tools such as wget. Occurs both in Windows 10 and 11, and with or without firewall or proxies. Still unsure if it's something specific to my environment. As well as this, there is a warning stating that timout is not supported when using DNS despite the CMake script not defining any timeout. This problem can be circumvented by simply downloading and extracting the prebuilt dependencies yourself, but for the sake of the end user it may be worth it to triage this if it is reproducible. [ 12%] Performing download step (download and verify) for 'ext_cideps' -- File already exists but no hash specified (use URL_HASH): file='C:/krita-dev/fetch-deps/download/krita-deps.zip' Old file will be removed and new file downloaded from URL. -- Downloading... dst='C:/krita-dev/fetch-deps/download/krita-deps.zip' timeout='none' inactivity timeout='none' -- Using src='https://binary-factory.kde.org/job/Krita_Nightly_Windows_Dependency_Build/lastSuccessfulBuild/artifact/krita-deps.zip' CMake Error at ext_cideps-stamp/download-ext_cideps.cmake:168 (message): Each download failed! error: downloading 'https://binary-factory.kde.org/job/Krita_Nightly_Windows_Dependency_Build/lastSuccessfulBuild/artifact/krita-deps.zip' failed status_code: 35 status_string: "SSL connect error" log: --- LOG BEGIN --- timeout on name lookup is not supported Trying 46.4.53.123:443... Connected to binary-factory.kde.org (46.4.53.123) port 443 (#0) schannel: disabled automatic use of client certificate schannel: ALPN, offering h2 schannel: ALPN, offering http/1.1 schannel: initial InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed). More detail may be available in the Windows System event log. Closing connection 0 --- LOG END --- mingw32-make.exe[2]: *** [CMakeFiles\ext_cideps.dir\build.make:97: ext_cideps-prefix/src/ext_cideps-stamp/ext_cideps-download] Error 1 mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:82: CMakeFiles/ext_cideps.dir/all] Error 2 mingw32-make.exe: *** [Makefile:90: all] Error 2
An outdated CMake installation still being referenced by the Krita build environment variables was to blame.