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

Larry Evans via Boost-build <[email protected]> Sat, 2 Feb 2019 19:42:51 -0600
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
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@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@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



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