[MacPorts] #51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency

MacPorts noreply at macports.org
Tue Dec 5 10:57:29 UTC 2017


#51957: py27-matplotlib @1.5.2_0+cairo+tkinter fails to upgrade: cairo dependency
----------------------------+------------------------
  Reporter:  p-bro          |      Owner:  seanfarley
      Type:  defect         |     Status:  reopened
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:
      Port:  py-matplotlib  |
----------------------------+------------------------
Changes (by ryandesign):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Sean, that's not the correct fix. If py-cairo builds itself differently
 depending on whether its dependency cairo is built with the +quartz or
 +x11 variant, then py-cairo itself also needs +quartz and +x11 variants,
 as p-bro said [comment:11 above], and needs to use the
 `require_active_variants` proc from the active_variants-1.1 portgroup in
 each of those variants to enforce that the variants selected for py-cairo
 match cairo's.

 Note that the default for cairo, since many years, is to build with
 ''both'' +x11 and +quartz variants. The reasoning is that by providing
 both interfaces, ports that require X11 can use that, and ports that
 require Quartz can use that, and everybody is happy. Therefore I'm
 surprised that the py-cairo that the buildbots build would have problems
 on anybody's systems, regardless whether they used +x11 or +quartz or
 both. Perhaps there is a problem there that needs to be investigated.

 Note that clearing `archive_sites` does not prevent the buildbots from
 building the ports, but it does prevent MacPorts clients from attempting
 to download the binaries that the buildbot built.

--
Ticket URL: <https://trac.macports.org/ticket/51957#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list