|
Boost-Build : |
Subject: Re: [Boost-build] `../../../b2 -a` fails to update headers
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2014-03-05 06:42:45
2014-03-05 14:50 GMT+04:00 Vladimir Prus <ghost_at_[hidden]>:
> On 05.03.2014 14:23, Antony Polukhin wrote:
>
>> Hi,
>>
>> I'm attempting to do some fixes in libs/conversion/include/boost/lexical_cast.hpp
>> but looks like `../../../b2 -a` does not update the
>> headers in boost/ folder any more.
>>
>> Calling `./b2 headers` or `./b2 headers -a` does not help either.
>>
>> Is that a known issue or am I doing something wrong?
>>
>
> Antony,
>
> are you saying that if you go to root directory, touch some header, and
> run "./b2 headers" that header is not updated, in
> that the copy of the file is different from the original? What file is
> that?
>
> I am not quite sure how this can happen, given that filesystem links are
> normally used.
>
I've done the following:
# This erases content of lexical_cast.hpp,
# invokes b2 headers and outputs size of lexical_cast in boost/ folder
echo "">libs/conversion/include/boost/lexical_cast.hpp; ./b2 headers; ls
-ls boost/ | grep lexical_cast.hpp
Output (size is ~11KB):
100 -rw-rw-r-- 1 apolukhin apolukhin 101879 Mar 5 14:48 lexical_cast.hpp
While the following:
ls -la libs/conversion/include/boost/ | grep lexical
Outputs (size is 1 byte):
-rw-rw-r-- 1 apolukhin apolukhin 1 Mar 5 15:40 lexical_cast.hpp
Looks like something is wrong...
-- Best regards, Antony Polukhin
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