Raffi Enficiaud wrote:
The error says " failed to write output file '..\..\..\bin.v2\libs\test\test\user-defined-types-logging-customization-points.test\msvc-9\debug\threadapi-win32\threading-multi\writing-test-ts\user-defined-types-logging-customization-points.obj.rsp'! "
The base folder of my CI is D:\bamboo_build_dir\SW-BCB125-VC2008WIN, and the builds that fail are VS2008, VS2013, VS2015, VS2017.
I was trying to reproduce this but couldn't, it worked for me.
Never mind, I got it to fail. The problem is that the relative path above, which is 200 characters, is combined with the path against which it's relative, in this case D:\bamboo_build_dir\SW-BCB125-VC2008WIN\boost\libs\test\test\ (61 characters), and the Windows limit is 259 characters. My idea was to automatically use --hash on long paths, but it doesn't seem that it would solve much, at least in this specific case. --hash only applies to the property portion of the path: msvc-9\debug\threadapi-win32\threading-multi so even with it applied, you end up with something like ..\..\..\bin.v2\libs\test\test\user-defined-types-logging-customization-points.test\a3248436d9896874e11a11c8feb7f858\writing-test-ts\user-defined-types-logging-customization-points.obj.rsp which isn't that far from the limit itself, as much of the length comes not from the property list. Bottom line, either use a shorter BOOST_ROOT, or shorter test names. :-)