[MacPorts] #51081: pango @1.40.0 - build failing

MacPorts noreply at macports.org
Tue Apr 12 13:23:47 PDT 2016


#51081: pango @1.40.0 - build failing
----------------------------+--------------------------
  Reporter:  russ.bubley@…  |      Owner:  ryandesign@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:
      Port:  pango          |
----------------------------+--------------------------

Comment (by russ.bubley@…):

 The output is

 {{{
 $ /Volumes/MacHD/opt/local/bin/pkg-config fontconfig --cflags --libs
 -I/opt/X11/include -I/opt/X11/include/freetype2
 -I/Volumes/MacHD/opt/local/include/freetype2
 -I/Volumes/MacHD/opt/local/include
 -I/Volumes/MacHD/opt/local/include/libpng16 -L/opt/X11/lib
 -L/Volumes/MacHD/opt/local/lib -lfontconfig -lfreetype
 }}}

 And going one step further, I've checked
 /opt/local/lib/pkgconfig/fontconfig.pc, and this file contains the line
 "prefix=/opt/X11"

 Finally

 {{{
 $ port provides /opt/local/lib/pkgconfig/fontconfig.pc
 /Volumes/MacHD/opt/local/lib/pkgconfig/fontconfig.pc is provided by:
 fontconfig
 }}}

 I uninstalled/reinstalled fontconfig, and it now points to the right
 location (prefix=/Volumes/MacHD/opt/local) – no idea how it came to be
 pointing at a different location previously.

 But that too turned out not to be enough. I uninstalled and reinstalled
 cairo, and finally pango compiles cleanly.

 So, it seems that there was some oddity with my system that is now
 resolved, but in any case hopefully this ticket will assist anyone else
 encountering a similar issue in the future.

 ----

 In summary, what fixed it for me:


 {{{
 port -f uninstall fontconfig; port install fontconfig
 port -f uninstall cairo; port install cairo
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51081#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list