Re: [Boost-bugs] [Boost C++ Libraries] #7212: ./b2 fails with 'import error: length of source and target rule name lists don't match!'

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7212: ./b2 fails with 'import error: length of source and target rule name lists don't match!'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-29 12:48:17


#7212: ./b2 fails with 'import error: length of source and target rule name lists
don't match!'
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: build
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by Kim Rasmussen <rasmussen74@…>):

 Replying to [comment:8 jurko]:
> rasmussen74 - Could you contact me over Skype chat, my login is jurkog?
 Then I can help you debug this a bit faster...

 Sorry, Skype is no-go from here.

> As for the bjam build compiler warning - do you know which header
 contains the strndup() function declaration on your system?

 Will check.

> As for the original problem - could you send us lines 325-326 in your
 modules.jam file.

 The lines and surroundings are:
 {{{
 320 }
 321
 322
 323 # These rules need to be available in all modules to implement module
 loading
 324 # itself and other fundamental operations.
 325 local globalize = peek poke record-binding ;
 326 IMPORT modules : $(globalize) : : modules.$(globalize) ;
 327
 328
 329 rule __test__ ( )
 330 {
 }}}


  They should read:
> {{{
> local globalize = peek poke record-binding ;
> IMPORT modules : $(globalize) : : modules.$(globalize) ;
> }}}
>
> If that is so then please change those two lines to the following:
> {{{
> local globalize = peek poke record-binding ;
> ECHO xxx1: /$(globalize)/ ;
> ECHO xxx2: /modules.$(globalize)/ ;
> IMPORT modules : $(globalize) : : modules.$(globalize) ;
> }}}
> and let us know what those 'xxx1:' and 'xxx2:' lines contain in your
 build output.

 Output is:
 {{{
 xxx1: /peek/
 xxx2: /modules.peek/
 }}}


 -Kim

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7212#comment:10>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC