Boost logo

Boost-Build :

Subject: Re: [Boost-build] Fwd: [C++-sig] bjam invocation error "rule copyright unknown in module man"
From: Larry Evans (cppljevans_at_[hidden])
Date: 2019-02-03 02:03:07


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_at_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


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