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 01:42:51


On 5/5/18 10:47 AM, Rene Rivera via Boost-build wrote:
> It's using an old, probably system installed, b2 executable. You need to
> use the b2 from the current boost distribution.
Hi Rene,

I'm having a similar error as Stefan, but with xml.jam:

evansl_at_lje-DL:~/prog_dev/boost/releases/ro/boost_1_69_0/sandbox/xeverous/spirit/test/x3$
b2
/home/evansl/prog_dev/boost/releases/ro/boost_1_69_0/tools/build/src/tools/types/xml.jam:12:
in load
ERROR: rule "Copyright" unknown in module "xml".

When that xml.jam edited to replace comments delimited with:

#|
...
|#

the error msg moved to the sass-type.xml where the same type of comments
were.

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:

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 );
      ^~~~~~~~~~~~~~~~~~~~~~~~

in the bootstrap.log.

How should this problem be solved?

TIA.

-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