The Mozilla build system for Windows has an undocumented dependency on support
for 8.3 short file and directory names.
My first attempt at building TBird failed with these messages:
------------------------
0:28.45 checking for the Debug Interface Access SDK...
C:/PROGRA~2/MIB055~1/2019/COMMUN~1/DIA SDK
0:28.46 checking for mt...
0:28.46 DEBUG: mt: Trying mt.exe
0:28.47 ERROR: GetShortPathName returned a long path name. Are 8dot3 filenames
disabled?
0:28.57 *** Fix above errors and then restart with\
0:28.57 "c:/mozilla-build/bin/mozmake.EXE -f client.mk build"
0:28.60 mozmake.EXE: *** [client.mk:150: configure] Error 1
-------------------------
On Windows, I think since XP, the support for short names is configurable. It
can be disabled. Short names are both a performance hit and a security problem.
On recent Windows 10 builds, Microsoft has short name support turned off by
default. You can enable it after installation, but enabling it at that point
will not assign short name to files or directories that are already created.
There is no practical way to assign short names to existing file and
directories.
In summary, I'm making the case that depending on short name support is a bad
idea. I'll donate effort towards removing the dependency if I can get helpfrom
people who know the build system.
So, what say you?
++PLS
_______________________________________________
dev-builds mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-builds