Python/boost problem

Ryan Schmidt ryandesign at macports.org
Tue Jan 8 15:12:22 UTC 2019



On Jan 7, 2019, at 18:18, Dave Horsfall wrote:

> Sierra, latest MacPorts.  Doing the usual "port upgrade outdated"...
> 
>    --->  Staging itstool into destroot
>    --->  Installing itstool @2.0.2_3
>    --->  Activating itstool @2.0.2_3
>    --->  Cleaning itstool
>    Error: boost: Variant python27 conflicts with python36
>    Error: Unable to open port: Error evaluating variants
>    Error: Follow https://guide.macports.org/#project.tickets to report a bug.
> 
> No reference to a log, and may not have anything to do with "itstool" (whatever that is), but my limited understanding of Python (which I don't use directly) is that versions 2 and 3 are quite different beasts...
> 
> Is this a reportable bug, or have I stuffed up somewhere?  I don't like
> reporting "bugs" when it turns out to be my fault...

You are evidently asking the boost port to install itself with both the python27 and python36 variants. This is easy to reproduce:

$ port info boost +python27 +python36
Error: boost: Variant python27 conflicts with python36
Error: Unable to open port: Error evaluating variants

This is working as intended. These two variants are declared as conflicting with one another. You must choose one or the other.




More information about the macports-users mailing list