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, Sep 23, 2024 at 01:07:14AM -0700, Paul Goyette wrote:
> 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
> 	...

Can you please check if adding
BUILDLINK_API_DEPENDS.pixman+=  pixman>=0.40.0
to graphics/cairo/buildlink3.mk
changes anything?
 Thomas


Home | Main Index | Thread Index | Old Index