[build] ERROR: rule "[[bbv2.builtin.features.warnings]]`warnings`::" unknown in module "warnings-feature"

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

[build] ERROR: rule "[[bbv2.builtin.features.warnings]]`warnings`::" unknown in module "warnings-feature"

Boost - Dev mailing list
Hi,

(CC'ed to boost and boost-build)

Two of Boost.Geometry users reported that peculiar error, [1] and [2]

```
/home/digu_j/boost/tools/build/src/tools/features/warnings-feature.jam:27:
in load
ERROR: rule "[[bbv2.builtin.features.warnings]]`warnings`::" unknown
in module "warnings-feature".
```

and I'm having a hard time understanding what is going wrong here
and what causes this issue, on Linux.

The line 27 is a typical Jam line:

```
feature.feature warnings
: on all extra pedantic off
: incidental propagated ;
```

but this refers to something that puzzles me most

```
ERROR: rule "[[bbv2.builtin.features.warnings]]`warnings`::" unknown
```

a bit of comment block?

```
#| tag::doc[]

[[bbv2.builtin.features.warnings]]`warnings`::
```

Is this a parsing issue?
Is this related to potentially existing system-wide installation of Boost.Build?
If yes, why none of the dumps in [1] and [2]  refer to any files in  /usr?

[1] ./b2 headers attempt
https://github.com/boostorg/geometry/pull/667#issuecomment-584794370

[2] b2 attempt to build a program in libs/geometry
https://github.com/boostorg/geometry/pull/665#issuecomment-595595900

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net

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

Re: [build] ERROR: rule "[[bbv2.builtin.features.warnings]]`warnings`::" unknown in module "warnings-feature"

Boost - Dev mailing list
Mateusz Loskot wrote:

> but this refers to something that puzzles me most
>
> ```
> ERROR: rule "[[bbv2.builtin.features.warnings]]`warnings`::" unknown
> ```
>
> a bit of comment block?
>
> ```
> #| tag::doc[]
>
> [[bbv2.builtin.features.warnings]]`warnings`::
> ```

This is probably caused by using an old version of b2 that doesn't
understand block comments, which were introduced relatively recently.


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

Re: [build] ERROR: rule "[[bbv2.builtin.features.warnings]]`warnings`::" unknown in module "warnings-feature"

Boost - Dev mailing list
On Fri, 6 Mar 2020 at 12:51, Peter Dimov via Boost
<[hidden email]> wrote:

> Mateusz Loskot wrote:
> > but this refers to something that puzzles me most
> >
> > ```
> > ERROR: rule "[[bbv2.builtin.features.warnings]]`warnings`::" unknown
> > ```
> >
> > a bit of comment block?
> >
> > ```
> > #| tag::doc[]
> >
> > [[bbv2.builtin.features.warnings]]`warnings`::
> > ```
>
> This is probably caused by using an old version of b2 that doesn't
> understand block comments, which were introduced relatively recently.

That must be it. Thank you

--
Mateusz Loskot, http://mateusz.loskot.net

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost