On 27 June 2017 at 11:31, Ryan Schmidt wrote:
> We used to be able to build wine on the buildbot, but we aren't anymore:
>
> https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/32791
>
> The error occurs when installing dependencies, specifically cairo:
>
>> ----> Installing dependency (28 of 120) 'glib2' with variants 
>> '+universal+x11'
>> ...
>> --->  Deactivating glib2 @2.52.3_0+universal+x11
>> ...
>
>> ----> Installing dependency (55 of 120) 'cairo' with variants 
>> '+quartz+universal+x11'
>> ...
>> Error: glib2: Variant quartz conflicts with x11

I accidentally found
    https://trac.macports.org/ticket/49800

> The cairo port has for years had both x11 and quartz variants that are both 
> enabled by default. The glib2 port recently got x11 and quartz variants 
> added, and they conflict with one another, as they do in most ports that have 
> them; the user must choose one or the other. The default is x11, as it is for 
> other ports that have this choice.
>
> I think the problem is that mpbb is explicitly specifying the variants when 
> installing the dependencies, particularly since wine is 32-bit so it needs 
> the dependencies installed with the universal variant, and when installing 
> cairo with x11, quartz and universal, it is passing those variants down to 
> cairo's dependencies, including glib2.
>
> I don't know why mpbb is specifying all the variants when building 
> dependencies. It seems like it would be enough to just specify universal, and 
> let the port's default variants take care of the rest.

A trivial patch like this one:
https://trac.macports.org/attachment/ticket/52742/variants-master.cfg.2.diff

could be the answer for
https://trac.macports.org/ticket/35897

(I would be really grateful if this was fixed.)

So I don't like the idea of generally removing variants, but we do
need to find a solution for this problem.

Mojca

Reply via email to