[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:25:36 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:9 kencu]:
 > {{{
 > % diff -u ~/cairo-script-interpreter.pc  /opt/local/lib/pkgconfig/cairo-
 script-interpreter.pc
 > --- /Users/user/cairo-script-interpreter.pc   2023-10-21 08:54:22
 > +++ /opt/local/lib/pkgconfig/cairo-script-interpreter.pc      2023-10-21
 08:55:34
 > @@ -1,3 +1,4 @@
 > +exec_prefix=/opt/local/libexec
 >  prefix=/opt/local
 >  libdir=${exec_prefix}/lib
 >  includedir=${prefix}/include
 > }}}

 Oh: it is referencing exec_prefix within that same file. That would be a
 cairo bug, or a meson bug if it is meson that decided to do that

 /opt/local/libexec is, by the way, not the correct value for exec_prefix;
 ${prefix} is.

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


More information about the macports-tickets mailing list