[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:49:01 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 kencu):
Most likely it should be
{{{
libdir=${prefix}/lib
}}}
and leave "exec_prefix" right out of the file, like homebrew's has:
{{{
% cat ./lib/pkgconfig/cairo-script-interpreter.pc
prefix=/opt/homebrew/Cellar/cairo/1.18.0
includedir=${prefix}/include
libdir=${prefix}/lib
Name: cairo-script-interpreter
Description: script surface backend for cairo graphics library
Version: 1.18.0
Requires: cairo
Requires.private: zlib, libpng, fontconfig >= 2.2.95, freetype2 >=
9.7.3, x11, xext, xrender >= 0.6, xcb >= 1.6, xcb-render >= 1.6, xcb-
shm, pixman-1 >= 0.36.0, lzo2
Libs: -L${libdir} -lcairo-script-interpreter
Libs.private: -lm -ldl -framework CoreFoundation -framework
ApplicationServices
Cflags: -I${includedir}/cairo
}}}
no idea why MacPort's .pc file is different, but I see our cairo is out of
date compared to theirs, so perhaps start with that...
--
Ticket URL: <https://trac.macports.org/ticket/68512#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list