|
Boost : |
Subject: Re: [boost] [build] b2 headers broken?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-07-16 00:37:16
AMDG
On 07/15/2014 05:03 PM, Eric Niebler wrote:
> <snip>
>
> link.rm ..\..\..\boost\numeric\conversion
> link.hardlink ..\..\..\boost\numeric\conversion\conversion_traits.hpp
> The system cannot find the path specified.
>
> if exist "..\..\..\boost\numeric\conversion\conversion_traits.hpp"
> del "..\..\..\boost\numeric\conversion\conversion
> _traits.hpp"
> mklink /H "..\..\..\boost\numeric\conversion\conversion_traits.hpp"
> "..\..\numeric\conversion\include\boost\numeric\
> conversion\conversion_traits.hpp"
>
> ...failed link.hardlink
> ..\..\..\boost\numeric\conversion\conversion_traits.hpp...
> link.hardlink ..\..\..\boost\numeric\conversion\int_float_mixture_enum.hpp
> The system cannot find the path specified.
>
>
> For some reason, b2 thinks it needs to rerun b2 headers, but it does a
> crap job of it and dies. What's going on?
>
There are two problems here. First, the
check that determines whether the linked
directory matches the existing link seems
to be failing (That's probably why it's
rebuilding). I'm guessing that the path
comparison algorithm is wrong, somehow.
Second, the link is created without
creating the directory that contains it
first. I have no idea how that can happen.
If you run b2 headers twice, starting from
a clean checkout, the second run should do
nothing. Is that the case? Does your
problem appear for any library?
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk