$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [build] b2 headers broken?
From: Eric Niebler (eniebler_at_[hidden])
Date: 2014-07-17 01:44:43
On 7/15/2014 9:37 PM, Steven Watanabe wrote:
> 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?
Huh, it's not doing it for me now. That's so weird.
\e