[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:16:30 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):

 Replying to [comment:19 kencu]:
 > Most likely it should be
 > {{{
 > libdir=${prefix}/lib
 > }}}
 > and leave "exec_prefix" right out of the file

 cairo installs 19 pc files, all of which reference exec_prefix and all but
 one of which define exec_prefix, so I'd call that a clear bug in cairo.

 > I see our cairo is out of date compared to theirs, so perhaps start with
 that...

 Oh right: we're out of date because we're not using meson with cairo yet,
 and it's a bit of work to convert the portfile to use meson, which is
 necessary to update any further as they've removed the autotools build
 system. That's #66852.

 Replying to [comment:20 kencu]:
 > Looks like there was a merge/fix in cairo 1.17.8 and newer relevant to
 this issue:
 >
 >
 https://gitlab.freedesktop.org/cairo/cairo/-/commit/a0dfb2c07308c8cdc2aa300a0238bc996d91aa36

 Thanks! That's easy enough to backport.

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


More information about the macports-tickets mailing list