pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: failure to build graphics/py-cairo



On Mon, 23 Sep 2024, Thomas Klausner wrote:

On Sun, Sep 22, 2024 at 05:31:35PM -0700, Paul Goyette wrote:
Getting the following repeatable error (related to pixman?)

Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Found pkg-config: YES (/tmp/pkgs/graphics/py-cairo/work.x86_64/.tools/bin/pkg-config) 2.3.0
Found CMake: /usr/pkg/bin/cmake (3.30.3)
Run-time dependency cairo found: NO (tried cmake)

../cairo/meson.build:31:12: ERROR: Dependency lookup for cairo with method 'pkgconfig' failed: Could not generate cflags for cairo:
Package dependency requirement 'pixman-1 >= 0.40.0' could not be satisfied.
Package 'pixman-1' has version '0.38.4', required version is '>= 0.40.0'

graphics/cairo/Makefile has
BUILDLINK_API_DEPENDS.pixman+=  pixman>=0.40.0
so cairo should have been built against pixman 0.40.0,
so when you pull in cairo, it should pull in pixman 0.40.0.

Can you check if any of these assumptions are wrong?

Well, it's >=0.40.0 and pixman 0.43.4 is installed in the sandbox, so
it should pull in 0.43.4  But instead it seems to find something with
pixman 0.38 which doesn't seem to exist.

+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index