Boost logo

Boost-Build :

Subject: Re: [Boost-build] Generator conflicts..
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-08-01 16:57:06


On 08/01/2017 08:18 AM, Rene Rivera via Boost-build wrote:
> Here I was trying to add a common tool for asciidoctor, which can generate
> html and docbook at least, and ran into something I thought was resolved
> long ago.. Multiple generators conflicting when there are multiple
> transformations possible, of different lengths. Here's the quick repro
> jamroot.jam:
> ===
> <snip>
> ===
> With an empty and running it as is one gets:
> ===
> $ b2 -a -n
> Error: ambiguity found when searching for best transformation
> <snip>
> ===
> Which is as might be expected. Except I though we had rigged the generator
> selection to pick the shortest such transformation. Am I wrong on that?

I don't remember any such rule.

> If
> I am is there some way to adjust the generators to get around the issue?

Isn't the usual solution to use generators.override?

> Note, this problem is going come up more and more as we add different tools
> that can generate common formats.

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at