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, Paul Goyette wrote:

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.

And checking the info for cairo we see

	# pkg_info -nN cairo
	Information for cairo-1.18.2:

	Requires:
	lzo>=2.01
	glib2>=2.76.4nb1
	fontconfig>=2.14.2nb3
	freetype2>=2.13.2nb1
	png>=1.6.0nb1
	pixman>=0.40.0nb3  <<<<<<

	Built using:
	lzo-2.10
	glib2-2.80.4
	fontconfig-2.15.0
	freetype2-2.13.3
	png-1.6.44
	pixman-0.43.4  <<<<<<<
	digest-20220214
	...



+---------------------+--------------------------+----------------------+
| 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 |
+---------------------+--------------------------+----------------------+


+---------------------+--------------------------+----------------------+
| 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