[MacPorts] #64001: Installing librsvg fails with pango errors

MacPorts noreply at macports.org
Fri Nov 19 12:17:00 UTC 2021


#64001: Installing librsvg fails with pango errors
----------------------+----------------------
  Reporter:  breun    |      Owner:  mascguy
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  librsvg  |
----------------------+----------------------

Comment (by breun):

 The `pango` port is not installed on my system:

 {{{
 ❯ port contents pango
 Port pango is not installed.
 }}}

 After removing `/opt/local/lib/pkgconfig/pango.pc` and
 `/opt/local/lib/pkgconfig/pangocairo.pc` the installation of librsvg
 wanted to install the `Xft2` and `pango` ports. This failed because
 `/opt/local/include/X11/Xft/Xft.h already exists and does not belong to a
 registered port`. After a bunch more removing unowned files and forcing
 port activations I now have it working again. I do wonder how I got both
 of my machines into this state.

 I guess this happened with the upgrade to macOS 12. I wonder if I have
 more files under `/opt/local` without a port that owns them. Do you happen
 to know if there is a way to check this for all files under `/opt/local`?

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


More information about the macports-tickets mailing list