[MacPorts] #60500: freetype @2.10.2_0 opportunistically uses brotli (was: freetype @ 2.10.2_0+universal.darwin_15.i386-x86_64: Failed to build (El Capitan))

MacPorts noreply at macports.org
Sat May 16 21:57:29 UTC 2020


#60500: freetype @2.10.2_0 opportunistically uses brotli
-----------------------+------------------------
  Reporter:  thetrial  |      Owner:  ryandesign
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.2
Resolution:            |   Keywords:
      Port:  freetype  |
-----------------------+------------------------
Changes (by ryandesign):

 * keywords:  legacy-os, elcapitan, i386 =>
 * status:  assigned => accepted


Comment:

 I didn't realize it when I updated the port, but freetype 2.10.2
 introduced optional support for WOFF2 fonts using the brotli library. If
 you happen to have brotli installed, freetype will use it. If you are
 trying to build freetype universal but happen to have brotli installed
 non-universal at the time, that won't work and will result in the errors
 being reported here. The workarounds are:

 1. reinstall brotli with the +universal variant first (`sudo port install
 brotli +universal`), or
 2. uninstall brotli (`sudo port uninstall brotli`), or
 3. install freetype with trace mode (`sudo port clean freetype && sudo
 port -t install freetype`)

 I'll resolve the issue either by adding the brotli dependency to freetype
 or by making it an optional variant; I haven't decided yet.

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


More information about the macports-tickets mailing list