Bugzilla Automation <bugzi...@freebsd.org> has asked freebsd-desktop (Team)
<desk...@freebsd.org> for maintainer-feedback:
Bug 286096: graphics/librsvg2-rust: doesn't compile, cairo.pc not found but
exists
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286096



--- Description ---
Hi,

I try to compile some ports from source, and everything seems correct up to
graphics/librsvg2-rust

# uname -r
14.2-RELEASE-p1

# cd /usr/ports/
# git log --date=iso8601-strict -n 1 --pretty=format:'%cI %H'
2025-04-13T21:38:35+02:00 dd3766b3fc0794abca3182d2dcbf691329610b92

# make -C /usr/ports/graphics/librsvg2-rust/ clean
===>  Cleaning for librsvg2-rust-2.60.0_1
# make -C /usr/ports/graphics/librsvg2-rust/ missing
# make -C /usr/ports/graphics/librsvg2-rust/ install
[... full log in attachment ... ]
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program cargo found: YES 1.86.0 1.86.0 (/usr/local/bin/cargo)
Program meson/cargo_wrapper.py found: YES
(/usr/ports/graphics/librsvg2-rust/work/librsvg-2.60.0/meson/cargo_wrapper.py)
Program cargo-cbuild found: YES 0.10.12 0.10.12 (/usr/local/bin/cargo-cbuild)
Program rustc found: YES 1.86.0 1.86.0 (/usr/local/bin/rustc)
Program meson/makedef.py found: YES
(/usr/ports/graphics/librsvg2-rust/work/librsvg-2.60.0/meson/makedef.py)
Program python3 found: YES (/usr/local/bin/python3.11)
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.3.0
Run-time dependency cairo found: YES 1.18.2
Found CMake: /usr/local/bin/cmake (3.31.6)
Run-time dependency cairo-gobject found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency cairo-gobject

meson.build:70:17: ERROR: Neither a subproject directory nor a cairo.wrap file
was found.

A full log can be found at
/usr/ports/graphics/librsvg2-rust/work/librsvg-2.60.0/_build/meson-logs/meson-l
og.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup
[options]` is ambiguous and deprecated.
===>  Script "configure" failed unexpectedly.
#

# pkg which /usr/local/libdata/pkgconfig/cairo.pc
/usr/local/libdata/pkgconfig/cairo.pc was installed by package cairo-1.18.2,3

I tried with PKG_CONFIG_PATH = /usr/local/libdata/pkgconfig/ exported, and also
the same variable defined in /usr/local/etc/pkg.conf, but with no changed
detected.

Thanks in advance

Reply via email to