From owner-freebsd-current@FreeBSD.ORG Wed Mar 3 07:56:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AF9816A4CE; Wed, 3 Mar 2004 07:56:54 -0800 (PST) Received: from kai.xtaz.net (kai.xtaz.net [82.68.183.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB1A943D2D; Wed, 3 Mar 2004 07:56:53 -0800 (PST) (envelope-from matt@xtaz.net) Received: from xtaz.net (localhost [127.0.0.1]) by kai.xtaz.net (Postfix) with ESMTP id 338B38FD17; Wed, 3 Mar 2004 15:56:50 +0000 (GMT) Message-ID: <40460041.1040604@xtaz.net> Date: Wed, 03 Mar 2004 15:56:49 +0000 From: Matt User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Craig Rodrigues References: <20040303061144.GE56622@elvis.mu.org> <404592F5.1060206@freebsd.org> <20040303104657.GG56622@elvis.mu.org> <20040303105149.GH56622@elvis.mu.org> <20040303154924.GA85824@crodrigues.org> In-Reply-To: <20040303154924.GA85824@crodrigues.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Alfred Perlstein cc: current@freebsd.org Subject: Re: fix for libpthread X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 15:56:54 -0000 Craig Rodrigues wrote: > > You either need to either: > -> update the mplayer port and rebuild it > -> or, send a PR to the mplayer port maintainer and tell them > to fix the port to respect PTHREAD_LIBS in /usr/ports/Mk/bsd.port.mk > > It's a pain in the neck, but many ports need to be fixed > so that they don't link libc_r and libpthread at the same time. > mplayer is fine by itself. It's something lower down that mplayer uses during configuration/compiling. I personally about a week after the pthread changes when several ports had been updated and fixed used the more radical method. I did a pkg_deinstall -a, then a rm -rf /usr/local, then reinstalled all ports I used from scratch letting them bring in their dependancies as and when required. It took me the best part of a saturday afternoon but now at least I have a nice and tidy /usr/local. Have removed all the ports that I didn't use any longer or which were not required. And everything is compiled against libpthread properly and there is nothing at all using libc_r. I have confirmed this by using the sysutils/libchk port. libc_r is one of the ones that is unreferenced by anything now. Since doing this I have absolutly no problems or issues with anything (including mplayer). Matt.