[MacPorts] #66852: cairo, cairo-devel: Update to 1.18.0
MacPorts
noreply at macports.org
Sun Oct 22 17:28:39 UTC 2023
#66852: cairo, cairo-devel: Update to 1.18.0
--------------------------------+----------------------
Reporter: ryandesign | Owner: mascguy
Type: update | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: cairo cairo-devel |
--------------------------------+----------------------
Comment (by kencu):
Running the cairo-devel test suite on my M1 Sonoma system works more-or-
less as expected, at least regarding rpaths...
this is alright:
{{{
% otool -L cairo-test-suite
cairo-test-suite:
@rpath/libcairo.2.dylib (compatibility version 11709.0.0, current
version 11800.0.0)
}}}
as the rpath search path is set right by meson:
{{{
% otool -l cairo-test-suite | grep -A2 RPATH
cmd LC_RPATH
cmdsize 32
path @loader_path/../src (offset 12)
--
cmd LC_RPATH
cmdsize 32
path /opt/local/lib (offset 12)
}}}
and the library is there:
{{{
% ls -la ../src/*.dylib
-rwxr-xr-x 1 macports wheel 1405424 22 Oct 09:49
../src/libcairo.2.dylib
lrwxr-xr-x 1 macports wheel 16 22 Oct 09:49 ../src/libcairo.dylib
-> libcairo.2.dylib
}}}
so cairo-test-suite can find the library it is looking for, and this works
just like it should (takes absolutely forever, but works):
{{{
% sudo ./cairo-test-suite
}}}
Many many tests fail however...
NB. There is a dependency loop in the testing deps of cairo-devel... some
version of cairo needs to be installed before you can test it:
{{{
Run-time dependency poppler-glib found: NO (tried framework and cmake)
meson.build:627:16: ERROR: Dependency lookup for poppler-glib with method
'pkgconfig' failed: Could not generate cargs for poppler-glib:
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
Package 'cairo', required by 'poppler-glib', not found
}}}
and I found that if "cairo" is installed instead of "cairo-devel" then you
do get some unexpected crashes, so there is some interaction going on
there in the deps. Installing "cairo-devel" before testing cairo-devel
eliminates a bunch of crashes that I presume are coming from poppler-glib.
Certainly not easy to properly test, in the end.
--
Ticket URL: <https://trac.macports.org/ticket/66852#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list