Re: b2 headers cache

Steven Watanabe via Boost-build <[email protected]>
Newsgroups gmane.comp.lib.boost.build
Organization Providere Consulting, Inc.
Message-ID <[email protected]>
AMDG

On 10/25/2018 10:25 AM, Edward Diener via Boost-build wrote:
> After moving some headers were moved from parameter to parameter_python
> running 'b2 headers' gives:
> 
> error: Cannot create link boost\parameter\aux_\python\invoker.hpp to
> libs\parameter_python\include\boost\parameter\aux_\python\invoker.hpp.
> error: Link previously defined to another file,
> libs\parameter\include\boost\parameter\aux_\python\invoker.hpp.
> 
> I then precede to delete all symlinks under boost\parameter but running
> 'b2 headers' again gives the same error. This suggests that b2 headers
> is cacheing some previously result somewhere. Is there a fix for this ?
> 

b2 is not caching anything.  The problem is that both
possible link targets exist in your directory structure.

Possible causes:
- You didn't update parameter after adding parameter_python.
- You are on a branch which does not yet have parameter_python,
  but the library was not removed when you switched to that branch.
- You checked out a revision of the superproject which is in
  an inconsistent state.  (because changes that span repositories
  are not atomic).

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.