Boost logo

Boost-Build :

Subject: Re: [Boost-build] Why is thread-for-install considering two identical options?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-09-23 22:44:01


AMDG

On 09/22/2018 09:16 PM, Kuhl, Brian via Boost-build wrote:
> I'm not sure why I get this new error?
> All I did was move a few of the parameters I invoke b2 with into a project-config.jam as requirements.
>
> project : requirements
> <snip>
> <threading>multi
> <snip>
> error: No best alternative for ./thread-for-install
> next alternative: required properties: <abi>sysv <binary-format>elf <target-os>vxworks <threadapi>pthread <threading>multi
> matched
> next alternative: required properties: <abi>sysv <binary-format>elf <target-os>vxworks <threadapi>pthread <threading>multi
> matched
>

This is a bug in the handling of target alternatives.
Only one of these should have <threading>multi... except
that it was inherited from your project-config.jam,
making them identical. Workaround: put the non-conditional
requirements in the default-build, instead of the requirements.

In Christ,
Steven Watanabe


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