From owner-freebsd-ports@FreeBSD.ORG Sun Aug 12 21:24:01 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B38A106564A for ; Sun, 12 Aug 2012 21:24:01 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3C26B8FC08; Sun, 12 Aug 2012 21:24:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7CLO1he073972; Sun, 12 Aug 2012 21:24:01 GMT (envelope-from bapt@freebsd.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7CLNx1p073971; Sun, 12 Aug 2012 21:23:59 GMT (envelope-from bapt@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@freebsd.org using -f Date: Sun, 12 Aug 2012 23:23:57 +0200 From: Baptiste Daroussin To: Olivier Smedts Message-ID: <20120812212357.GF31466@ithaqua.etoilebsd.net> References: <5023C674.10900@coosemans.org> <20120812093147.GD31466@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4f28nU6agdXSinmL" Content-Disposition: inline In-Reply-To: <20120812093147.GD31466@ithaqua.etoilebsd.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Ports , Tijl Coosemans Subject: Re: pkgconf issue ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 21:24:01 -0000 --4f28nU6agdXSinmL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 12, 2012 at 11:31:48AM +0200, Baptiste Daroussin wrote: > On Fri, Aug 10, 2012 at 12:47:53AM +0200, Olivier Smedts wrote: > > 2012/8/9 Tijl Coosemans : > > > On 09-08-2012 15:14, Olivier Smedts wrote: > > >> All my ports are up-to-date and I've previously dealt with the > > >> pkg-config -> pkgconf transition by reading UPDATING. No problems. > > >> > > >> But now I try to install a port which depends on ports I didn't have, > > >> which in turn depend on cairo... and they fail to build. And it's > > >> strange because there seems to be a problem with pkgconf, at least on > > >> my system : > > >> > > >> # pkg-config --cflags cairo > > >> Package glproto was not found in the pkg-config search path. > > >> Perhaps you should add the directory containing `glproto.pc' > > >> to the PKG_CONFIG_PATH environment variable > > >> No package 'glproto' found > > > > > > I opened a PR for this a month ago: > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D169701 > >=20 > > OK this explains my problem, partly, but I'm nearly sure that even > > with gl.pc missing, pkg-config handled this situation and correctly > > gave the good cairo (for example, with my cairo depending on gl) > > cflags and includes, while with pkgconf it fails to give the good > > include path. That's why I cc'ed bapt. > >=20 > > --=20 > > Olivier Smedts _ > > ASCII ribbon campaign ( ) > > e-mail: olivier@gid0.org - against HTML email & vCards X > > www: http://www.gid0.org - against proprietary attachments / \ > >=20 > > "Il y a seulement 10 sortes de gens dans le monde : > > ceux qui comprennent le binaire, > > et ceux qui ne le comprennent pas." >=20 > here is the output of pkg-config 0.27 without gl.pc: >=20 > pkg-config --cflags cairo >=20 > Package gl was not found in the pkg-config search path. > Perhaps you should add the directory containing `gl.pc' > to the PKG_CONFIG_PATH environment variable > Package 'gl', required by 'cairo', not found >=20 > it returns 1 >=20 > here is the output of pkgconf 0.8.5 without gl.pc >=20 > Package gl was not found in the pkg-config search path. > Perhaps you should add the directory containing `gl.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gl' found > -I/usr/local/include/glib-2.0 -D_REENTRANT -I/usr/local/include/pixman-1 > -I/usr/local/include -I/usr/local/include/freetype2 >=20 > it returns 0 >=20 > there maybe a compatibility problem here, but both should fail at giving = you the > right include :) >=20 > still I'll fix pkgconf when back >=20 > regards, > Bapt I fixed the issue upstream (behaviour is now the same as pkg-config),=20 I'll upgrade the ports when back from vacations. thanks for reporting, regards, Bapt --4f28nU6agdXSinmL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlAoHu0ACgkQ8kTtMUmk6EyWXwCcD/8tMwcAqT2QJeut6UFfuaik +cAAnRXmbaOIp5yzdNFBB+LL8IKbV2J+ =n8KR -----END PGP SIGNATURE----- --4f28nU6agdXSinmL--