QT source code build keep fail in randomly with no error
-
Hi,
I'm trying to build QT 6.6.1 source code using MSVC 2019 and MSVC 2022 (x86 and x64).The compilation process is failing in random places with no actual error; the text is "FAILED:..."
I tried to remove the parallel command.
Im using the visual studio 64-bit cmd ,
If I keep repeating the cmake command, the build is done "successfully" with no errors. -
Hi,
I'm trying to build QT 6.6.1 source code using MSVC 2019 and MSVC 2022 (x86 and x64).The compilation process is failing in random places with no actual error; the text is "FAILED:..."
I tried to remove the parallel command.
Im using the visual studio 64-bit cmd ,
If I keep repeating the cmake command, the build is done "successfully" with no errors.@Lior
Random build failures on Windows occur, when the virus scanner steps on the compiler's toes inspecting new binaries during compilation. That kills the compiler or the linker. Just restarting the compilation usually works. Not sure though, if that's what you're experiencing. Any output to share? -
@Lior
Random build failures on Windows occur, when the virus scanner steps on the compiler's toes inspecting new binaries during compilation. That kills the compiler or the linker. Just restarting the compilation usually works. Not sure though, if that's what you're experiencing. Any output to share?@Axel-Spoerl
I didn't copy a snapshot of the failure because it wasn't informative.
It only shows the "FAIL" in red and the file name and path without any information.I will try without AV.
I will try again soon and will share the output.If I cancel the parallel flag, it fails fewer times.
If the build finishes successfully after restarting the compilation server multiple times, is it OK?