In the end I managed to build what I was trying to build at the time, though naturally it's different than what I was using at the time, given that almost a year has passed.
Indeed, it builds just fine, but when I try to execute mach run, I get the following error:
Code: Select all
[24394] ###!!! ABORT: u_init() failed: file {path to the project}/platform/xpcom/build/XPCOMInit.cpp, line 703
I'm aware that u_init comes from ICU and thanks to some hackery (which I reverted after accomplishing the task) I managed to find out the actual ICU error message (that UXP hides), which is something about being unable to read some file in particular.
Unfortunately, I couldn't find out what file it's not reading and scanning the in-tree ICU source code lead nowhere.
The error most definitely comes from something missing from my configuration, but I have no idea what that something is.
I'd like to ask some pointers on how to solve this problem. Doesn't have to be the solution, especially since given the complexity of both the platform and the build system it can't be something straightforward, but I'm still hoping someone might have something specific in mind.
Thanks.