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

MacPorts noreply at macports.org
Thu Nov 18 17:29:40 UTC 2021


#64001: Installing librsvg fails with pango errors
--------------------+--------------------
 Reporter:  breun   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:
--------------------+--------------------
 Installing `librsvg` fails for me on macOS 12.0.1 x86_64:

 {{{
 ❯ sudo port upgrade librsvg
 --->  Computing dependencies for librsvg
 --->  Fetching archive for librsvg
 --->  Attempting to fetch librsvg-2.52.4_0.darwin_21.x86_64.tbz2 from
 https://packages.macports.org/librsvg
 --->  Attempting to fetch librsvg-2.52.4_0.darwin_21.x86_64.tbz2 from
 https://fra.de.packages.macports.org/librsvg
 --->  Attempting to fetch librsvg-2.52.4_0.darwin_21.x86_64.tbz2 from
 https://ema.uk.packages.macports.org/librsvg
 --->  Configuring librsvg
 Error: Failed to configure librsvg: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.52.4/config.log
 Error: Failed to configure librsvg: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

 `/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/main.log`
 contains:

 {{{
 :info:configure checking for    cairo >= 1.16.0                 cairo-png
 >= 1.16.0             cairo-gobject >= 1.16.0         freetype2 >= 20.0.14
 gdk-pixbuf-2.0 >= 2.20  gio-2.0 >= 2.24.0                       glib-2.0
 >= 2.50.0              harfbuzz >= 2.0.0               libxml-2.0 >= 2.9.0
 pangocairo >= 1.46.0            pangoft2 >= 1.46.0             ... no
 :info:configure configure: error: Package requirements (        cairo >=
 1.16.0                 cairo-png >= 1.16.0             cairo-gobject >=
 1.16.0         freetype2 >= 20.0.14            gdk-pixbuf-2.0 >= 2.20
 gio-2.0 >= 2.24.0                       glib-2.0 >= 2.50.0
 harfbuzz >= 2.0.0               libxml-2.0 >= 2.9.0             pangocairo
 >= 1.46.0            pangoft2 >= 1.46.0             ) were not met:
 :info:configure Requested 'pangocairo >= 1.46.0' but version of Pango
 Cairo is 1.42.4
 :info:configure Requested 'pangoft2 >= 1.46.0' but version of Pango FT2
 and Pango Fc is 1.42.4
 :info:configure Consider adjusting the PKG_CONFIG_PATH environment
 variable if you
 :info:configure installed software in a non-standard prefix.
 :info:configure Alternatively, you may set the environment variables
 LIBRSVG_CFLAGS
 :info:configure and LIBRSVG_LIBS to avoid the need to call pkg-config.
 :info:configure See the pkg-config man page for more details.
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.52.4"
 && ./configure --prefix=/opt/local --enable-vala=yes --disable-silent-
 rules --disable-Bsymbolic --enable-introspection
 :info:configure Exit code: 1
 :error:configure Failed to configure librsvg: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.52.4/config.log
 :error:configure Failed to configure librsvg: configure failure: command
 execution failed
 :debug:configure Error code: NONE
 }}}

 I've attached the full `main.log` and `config.log` files.

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


More information about the macports-tickets mailing list