I experimentally installed the Linux version of RosBE in Windows 10's "Windows Subsystem for Linux", and when I try to build ReactOS with it, I get the following error:
How can I track down what exactly is failing, and why?
Note: If I repeatedly run the build command, eventually it seems to complete and creates an ISO, and I am able to install ReactOS from that ISO, but it seems like it's buggier than it would have been if I'd built the same version with GCC or MSVC.
I'd like to try to figure out what exactly is failing so I can report the issue(s) to the appropriate people and/or fix it.
I reserve the right to ignore any portion of any post if I deem it not constructive or likely to cause the discussion to degenerate.
I usually build it under Ubuntu and I have to disable precompiled headers. Iirc the complete command was ./configure.sh -DPCH=0 (someone correct me if I am wrong)
You should do a ninja clean before reconfiguring.
Thank you both.
I tried running it after configuring with -DPCH, -DPCH=0 and -DPCH:BOOL=0, and none of them appeared to make any difference.
I also tried running ninja -v bootcd, and there was so much output that (knowing that it runs in parallel) I wasn't certain that I could tell which part of the output was from the failing process, and which part was other stuff still running for a moment before ninja stopped everything, so I deleted my build output, configured without trying to disable PCH, and tried ninja -j 1 -v bootcd (thinking I would be able to be more certain about what the log output meant), and ... it built without errors...
So..., now I'm guessing that it's some form of parallelization issue either with ninja that gets triggered when running on wsl, or with wsl which ninja triggers. Perhaps whatever variety of interprocess communication ninja uses isn't reliable on wsl? IDK.
Anyway, I don't think this is really a ReactOS issue, so I'm hesitant to open a JIRA report here, but perhaps you guys could weigh in on whether this should this be reported to the ninja-build project, or on Microsoft's WSL issue tracker... or both?
I reserve the right to ignore any portion of any post if I deem it not constructive or likely to cause the discussion to degenerate.