Re: Fwd: [C++-sig] bjam invocation error "rule copyright unknown in module man"

Larry Evans via Boost-build <[email protected]> Sat, 2 Feb 2019 20:03:07 -0600
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
On 2/2/19 7:52 PM, Steven Watanabe via Boost-build wrote:
> AMDG
> 
> On 2/2/19 6:42 PM, Larry Evans via Boost-build wrote:
>> <snip>
>> So, I'd guess I'm using an old b2; however, I just did the install as
>> instructed here:
>>
>> https://boostorg.github.io/build/manual/develop/index.html#bbv2.installation
>>
>>
>> and provided a symlink to the b2 executable:
>>
>> evansl@lje-DL:~/bin$ ln -s
>> /home/evansl/prog_dev/boost/releases/ro/boost_1_69_0/tools/build/bin/bin/b2
>>
>> and my PATH includes ~/bin.
>>
>> When I did the ./bootstrap.sh, it produced only warning:
>>
> 
> If you've already built b2, you don't
> need to run ./bootstrap.sh.

OK, I should have said I did do the ./bootstrap.sh while following
the instructions.  I didn't repeat the bootstrap.

> 
>> debugger.c: In function ‘debug_mi_format_breakpoint’:
>> debugger.c:1837:13: warning: zero-length gnu_printf format string
>> [-Wformat-zero-length]
>>       printf( "" );
>>               ^~
>> debugger.c: In function ‘debug_list_read’:
>> debugger.c:165:5: warning: ignoring return value of ‘fscanf’, declared
>> with attribute warn_unused_result [-Wunused-result]
>>       fscanf( in, "%d", &len );
>>       ^~~~~~~~~~~~~~~~~~~~~~~~
>>
> 
> You can ignore these warnings.
>


As I figured.

>> in the bootstrap.log.
>>
>> How should this problem be solved?
>>

After more investigating, I see in scan.c, that there is
code to actually skip the block comment, but if so, then why
is the b2 *not* skipping the block comments in types/xml.jam and
types/sass-type.xml

There must be some minor mistake I'm making but it's not obvious yet :(

-regards,
Larry



_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build