[users at bb.net] [Foreign Sender] Re: Detailed log of RemoveDirectory step's failure?

Greg Bullock greg at nwra.com
Tue Jun 28 20:40:00 UTC 2016


I confirm that the file path length > 260 (for one of the intermediate 
files) caused the RemoveDirectory step to fail.

Modifying the master.cfg to move CMake's build directory to a higher 
level solved the problem.

Thank you all for the comments and suggestions.


On 6/27/2016 2:02 PM, Greg Bullock wrote:
>
> Thank you for that comment, Vasily.
>
> It turns out that indeed there is a (deeply nested) file with a full 
> path of 265 characters.
>
> I'll modify the build to reduce the nesting depth and report back 
> whether this resolves the problem.
>
> Regards.
> Greg
>
>
> On 6/26/2016 3:48 AM, Vasily wrote:
>> Hi all,
>>
>> One of potential problems with RemoveDirectory on Windows is that it 
>> uses ANSI version of Win32 API which cannot deal with too long names 
>> (more than MAXPATH, which, I believe, is about 260 characters), so 
>> you might want to check if the directory you're trying to remove has 
>> short enough name.
>>
>> Thanks,
>> Vasily
>>

-- 
Greg Bullock
NorthWest Research Associates
301 Webster St.
Monterey, CA  93940
(831) 582-4907
greg at nwra.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160628/8ed16270/attachment.html>


More information about the users mailing list