Boost logo

Boost :

Subject: Re: [boost] [release] 1.66.0 closing for beta tomorrow
From: Peter Dimov (lists_at_[hidden])
Date: 2017-11-13 13:41:21


> 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. :-)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk