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
> With an empty test.aaa and running it as is one gets:
> $ b2 -a -n
> Error: ambiguity found when searching for best transformation
> 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.
> 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.
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