Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problems building on Win7
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-02-20 18:14:23


AMDG

On 01/26/2015 09:44 AM, Raffi Enficiaud wrote:
>
> Thanks for the answer. At first, I thought it was due to the way the
> actions "junction", "mklink" and "hardlink" are defined in link.jam
> (they remove the folders before creating the link), but apparently the
> behaviour is the same on the unix platforms.
>
> But when I see this:
> link.rm ..\..\..\boost\chrono\detail
> common.mkdir ..\..\..\boost\chrono\detail
> link.rm ..\..\..\boost\chrono\detail
> link.hardlink ..\..\..\boost\chrono\detail\static_assert.hpp
>

I can see the immediate cause of this.
The actual sequence is link.rm, common.mkdir,
link.rm, common.mkdir, but common.mkdir is checked
for uniqueness, so the second mkdir is dropped.
Unfortunately, I'm not sure how we got here
in the first place, since we shouldn't be processing
this directory twice at all.

> I cannot help thinking this is due to something wrong in the recursion.
> However I cannot figure out what the function involved are, and I have
> some issues in understanding the syntax of jamfiles.
>

I can't reproduce this myself.
Can you try applying the attached
patch which adds additional debug
output and report the result?
What I suspect is that the paths
are not properly normalized before
comparison.

In Christ,
Steven Watanabe




Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk