From owner-freebsd-gnome@FreeBSD.ORG Thu Jan 25 16:25:50 2007 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB55E16A408 for ; Thu, 25 Jan 2007 16:25:50 +0000 (UTC) (envelope-from jylefort@FreeBSD.org) Received: from mirapoint7.brutele.be (mirapoint7.brutele.be [212.68.199.151]) by mx1.freebsd.org (Postfix) with ESMTP id 442C513C469 for ; Thu, 25 Jan 2007 16:25:50 +0000 (UTC) (envelope-from jylefort@FreeBSD.org) Received: from host-212-68-244-81.brutele.be (host-212-68-244-81.brutele.be [212.68.244.81]) by mirapoint7.brutele.be (MOS 3.7.5a-GA) with ESMTP id ACS46868; Thu, 25 Jan 2007 17:13:21 +0100 (CET) Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2]) by gateway.lefort.net (Postfix) with ESMTP id A7309549A; Thu, 25 Jan 2007 17:13:20 +0100 (CET) Received: from jsite.lefort.net (localhost [127.0.0.1]) by jsite.lefort.net (Postfix) with SMTP id 42D812D; Thu, 25 Jan 2007 17:13:20 +0100 (CET) Date: Thu, 25 Jan 2007 17:13:13 +0100 From: Jean-Yves Lefort To: Andriy Gapon Message-Id: <20070125171313.45b744b0.jylefort@FreeBSD.org> In-Reply-To: <45B8C3B7.5000606@icyb.net.ua> References: <45B8C3B7.5000606@icyb.net.ua> X-Mailer: Sylpheed running on FreeBSD Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__25_Jan_2007_17_13_13_+0100_XpYWdWxJnwr_8ZAq" X-Junkmail-Status: score=10/50, host=mirapoint7.brutele.be X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090205.45B8D721.003C,ss=1,fgs=0, ip=212.68.244.81, so=2006-05-09 23:27:51, dmn=5.2.125/2006-10-10 Cc: freebsd-gnome@freebsd.org Subject: Re: problem with devel/glib20+COLLATION_FIX=yes+devel/icu+THREADS=yes X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2007 16:25:50 -0000 --Signature=_Thu__25_Jan_2007_17_13_13_+0100_XpYWdWxJnwr_8ZAq Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Thu, 25 Jan 2007 16:50:31 +0200 Andriy Gapon wrote: > The problem with combination of port devel/glib20 config-ed with > COLLATION_FIX=yes and port devel/icu config-ed with THREADS=yes is that > glib2 pkg-config files are not updated with new dependencies coming from > icu. When icu is built with threads support then icu shared libraries > become dependent on system thread library (libthr/libpthread) and thus > glib20 libraries also become dependent on system thread library (when > COLLATION_FIX=yes). But this dependency is not reflected in pkg-config > --libs. > > [...] This and other similar problems (inability to dlopen() a library using libpthread from a program not using libpthread, etc) is caused of the unfortunate use of -pthread instead of -lpthread in the definition of PTHREAD_LIBS (see the commit message of bsd.port.mk revision 1.499). To fix it, one should revert PTHREAD_LIBS to -lpthread in bsd.port.mk and handle the resulting ports tree chaos. -- Jean-Yves Lefort jylefort@FreeBSD.org http://lefort.be.eu.org/ --Signature=_Thu__25_Jan_2007_17_13_13_+0100_XpYWdWxJnwr_8ZAq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFuNcfyzD7UaO4AGoRApoOAJ98wjFNsjYnSHlxgX9aC/rBJV8yNwCfd+Va uOHWQphhBavZyZgdq2iMQ+c= =qwNm -----END PGP SIGNATURE----- --Signature=_Thu__25_Jan_2007_17_13_13_+0100_XpYWdWxJnwr_8ZAq--