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

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Boost - Build mailing list

I'm forwarding this message originally sent to the Boost.Python mailing list. Can anybody help ?


Thanks,

    Stefan

-------- Forwarded Message --------
Subject: [C++-sig] bjam invocation error "rule copyright unknown in module man"
Date: Fri, 4 May 2018 09:47:42 -0700
From: Everest Chen [hidden email]
Reply-To: Development of Python/C++ integration [hidden email]
To: [hidden email]


Hi all,

I m following the non-install quickstart guide for a ubuntu 16.04, I had problem at basic procedure step 4 https://www.boost.org/doc/libs/1_66_0/libs/python/doc/html/building/no_install_quickstart.html

the command is
/example/tutorial$ bjam --debug-configuration

then the msg is 
notice: found boost-build.jam at /home/everest/Downloads/boost_1_67_0/boost-build.jam
notice: loading Boost.Build from /home/everest/Downloads/boost_1_67_0/tools/build/src
/home/everest/Downloads/boost_1_67_0/tools/build/src/tools/types/man.jam:8: in load
ERROR: rule "Copyright" unknown in module "man".

How to fix this? Thanks.

Everest

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

Attached Message Part (212 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Boost - Build mailing list
It's using an old, probably system installed, b2 executable. You need to use the b2 from the current boost distribution.

On Sat, May 5, 2018, 10:13 AM Stefan Seefeld via Boost-build <[hidden email]> wrote:

I'm forwarding this message originally sent to the Boost.Python mailing list. Can anybody help ?


Thanks,

    Stefan

-------- Forwarded Message --------
Subject: [C++-sig] bjam invocation error "rule copyright unknown in module man"
Date: Fri, 4 May 2018 09:47:42 -0700
From: Everest Chen [hidden email]
Reply-To: Development of Python/C++ integration [hidden email]
To: [hidden email]


Hi all,

I m following the non-install quickstart guide for a ubuntu 16.04, I had problem at basic procedure step 4 https://www.boost.org/doc/libs/1_66_0/libs/python/doc/html/building/no_install_quickstart.html

the command is
/example/tutorial$ bjam --debug-configuration

then the msg is 
notice: found boost-build.jam at /home/everest/Downloads/boost_1_67_0/boost-build.jam
notice: loading Boost.Build from /home/everest/Downloads/boost_1_67_0/tools/build/src
/home/everest/Downloads/boost_1_67_0/tools/build/src/tools/types/man.jam:8: in load
ERROR: rule "Copyright" unknown in module "man".

How to fix this? Thanks.

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

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

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

Boost - Build mailing list
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
Reply | Threaded
Open this post in threaded view
|

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

Boost - Build mailing list
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.

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

> in the bootstrap.log.
>
> How should this problem be solved?
>
In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

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

Boost - Build mailing list
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
Reply | Threaded
Open this post in threaded view
|

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

Boost - Build mailing list
AMDG

On 2/2/19 7:03 PM, Larry Evans via Boost-build wrote:

> On 2/2/19 7:52 PM, Steven Watanabe via Boost-build wrote:
>> 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
>>>

bin/bin looks a little odd.  Are you sure that's right?

>>>
>>> <snip>
> 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 :(
>

Did you verify that you are actually using the newly built b2?

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

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

Boost - Build mailing list
On 2/2/19 8:12 PM, Steven Watanabe via Boost-build wrote:

> AMDG
>
> On 2/2/19 7:03 PM, Larry Evans via Boost-build wrote:
>> On 2/2/19 7:52 PM, Steven Watanabe via Boost-build wrote:
>>> 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
>>>>
>
> bin/bin looks a little odd.  Are you sure that's right?
>
Yes.  It's odd buts that's because, following the #bbv2.installation
instructions, I did, in the build directory:

   ./b2 --install=PREFIX

where PREFIX was bin. Apparently --install creates another bin directory
below PREFIX.

>>>>
>>>> <snip>
>> 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 :(
>>
>
> Did you verify that you are actually using the newly built b2?

Well, the output of the bash `which` command indicated I was, but
the output of `command -v b2` says it's the system installed one
in /usr/bin.

Sorry for not being careful enough :(

Thanks for your help.

>
> In Christ,
> Steven Watanabe
> _______________________________________________
> Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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