[MacPorts] #68512: cairo @1.17.6_1 installs a pkgconfig file that results in pkg-config @0.29.2: GLib-CRITICAL **: GString *g_string_append(GString *, const gchar *): assertion 'val != NULL' failed

MacPorts noreply at macports.org
Sat Oct 21 18:21:15 UTC 2023


#68512: cairo @1.17.6_1 installs a pkgconfig file that results in pkg-config
@0.29.2: GLib-CRITICAL **: GString *g_string_append(GString *, const gchar
*): assertion 'val != NULL' failed
------------------------------+------------------------
  Reporter:  Behinder         |      Owner:  ryandesign
      Type:  defect           |     Status:  reopened
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.8.1
Resolution:                   |   Keywords:
      Port:  pkgconfig cairo  |
------------------------------+------------------------

Comment (by ryandesign):

 It's definitely not "invalid". pkg-config does print this error and IMO it
 should print a better error like "exec_prefix is missing from cairo-
 script-interpreter.pc" or whatever.

 If exec_prefix is a required variable then it is a bug for meson not to
 include it. If not, then it isn't.

 Are we sure some other pc file is referencing cairo's absent exec_prefix?
 Or is pkg-config just complaining about any pc file that doesn't have this
 key?

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


More information about the macports-tickets mailing list