[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 19:23:34 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 jmroot):

 Replying to [comment:17 ryandesign]:
 > 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.

 It seems reasonable that pkg-config should probably not do something that
 causes an assertion failure in response to an undefined variable being
 referenced in a .pc file (even though that's clearly also a bug in the .pc
 file).

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


More information about the macports-tickets mailing list