From owner-svn-ports-all@FreeBSD.ORG Mon Apr 15 14:46:05 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2739D3C4; Mon, 15 Apr 2013 14:46:05 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel09.rubas.ch (cpanel09.rubas.ch [195.182.222.79]) by mx1.freebsd.org (Postfix) with ESMTP id D3A6E648; Mon, 15 Apr 2013 14:46:04 +0000 (UTC) Received: from 98-41.199-178.cust.bluewin.ch ([178.199.41.98]:62038 helo=gahrfit.gahr.ch) by cpanel09.rubas.ch with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1URkfQ-003hih-ME; Mon, 15 Apr 2013 16:46:01 +0200 Date: Mon, 15 Apr 2013 16:45:57 +0200 From: Pietro Cerutti To: Jeremy Messenger Subject: Re: svn commit: r312209 - in head/devel: allegro apr1 apr2 bennugd-core bennugd-modules boost-all boost-libs boost-python-libs bullet ccons cgit clanlib1 clanlib22 clint cocaine-core commoncpp cppcheck... Message-ID: <20130415144557.GB14789@gahrfit.gahr.ch> References: <201302140942.r1E9gDsw053109@svn.freebsd.org> <20130415074337.GB66552@gahrfit.gahr.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aT9PWwzfKXlsBJM1" Content-Disposition: inline In-Reply-To: X-PGP-Key: 0x9571F78E X-PGP-Fingerprint: 1203 92B5 3919 AF84 9B97 28D6 C0C2 6A98 9571 F78E User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel09.rubas.ch X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Get-Message-Sender-Via: cpanel09.rubas.ch: authenticated_id: gahr@gahr.ch Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Steve Wills , "ports-committers@freebsd.org" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gahr@FreeBSD.org List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2013 14:46:05 -0000 --aT9PWwzfKXlsBJM1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013-Apr-15, 09:06, Jeremy Messenger wrote: > On Mon, Apr 15, 2013 at 2:43 AM, Pietro Cerutti wrote: > > On 2013-Apr-14, 22:29, Steve Wills wrote: > >> I may be wrong, but some of these changes seem wrong. At least for glib > >> and any of the others that completely removed PTHREAD_LIBS entirely. I > >> think it's fine to replace PTHREAD_LIBS with -pthread, but removing > >> PTHREAD_LIBS or -pthread entirely could be problematic. These two PRs: > >> > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D177800 > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D176888 > >> > >> seem to be caused by this. Am I wrong? If not, we may need to go back > >> through these changes and put -pthread back where it was removed entir= ely. > > > > I would be surprised if they were. glib20 configures fine without the > > explicit pthread flags. See config.log. The shlib ends up correctly > > linked against the threading library: > > > >> ldd /usr/local/lib/libglib-2.0.so.0 > > libintl.so.9 =3D> /usr/local/lib/libintl.so.9 (0x801702000) > > libiconv.so.3 =3D> /usr/local/lib/libiconv.so.3 (0x80190b000) > > libpcre.so.3 =3D> /usr/local/lib/libpcre.so.3 (0x801c04000) > > libthr.so.3 =3D> /lib/libthr.so.3 (0x801e67000) > > libc.so.7 =3D> /lib/libc.so.7 (0x80081c000) > > > > Moreover, the symptoms aren't quite what I'd expect from an application > > missing a pthread link, as they usually die in initialization phase, > > even before they reach main. >=20 > I am not able to access to FreeBSD since yesterday, but I should be > able to this afternoon. You just need to make sure the gthread's > pkg-config --libs has -pthread in it. If it does then it's probably > bug in both ports rather than glib. The update of glib, they have > rewrote thread stuff that exposed some libraries/apps bug like clutter > that has been fixed in upstream. The patch looks like: >=20 > http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/ports/graphics/clutter/f= iles/patch-clutter_clutter-main.c $ pkgconf --libs gthread-2.0 -lgthread-2.0 -pthread -L/usr/local/lib -lglib-2.0 Please coordinate within the gnome@ team to fix this issue. --=20 Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp --aT9PWwzfKXlsBJM1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFsEqQACgkQwMJqmJVx944daACfepdIIJ2N3sBT2R5lirrlyfFF G64An07+rB+kPZsoWNX9VN3fWYZndW66 =/g3J -----END PGP SIGNATURE----- --aT9PWwzfKXlsBJM1--